Home
last modified time | relevance | path

Searched refs:cap_save (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/ata/
H A Dahci.c198 u32 tmp, cap_save, cmd; in ahci_host_init() local
205 cap_save = readl(mmio + HOST_CAP); in ahci_host_init()
206 cap_save &= ((1 << 28) | (1 << 17)); in ahci_host_init()
207 cap_save |= (1 << 27); /* Staggered Spin-up. Not needed. */ in ahci_host_init()
214 writel(cap_save, mmio + HOST_CAP); in ahci_host_init()
H A Ddwc_ahsata.c115 u32 tmp, cap_save, num_ports; in ahci_host_init() local
121 cap_save = readl(&host_mmio->cap); in ahci_host_init()
122 cap_save |= SATA_HOST_CAP_SSS; in ahci_host_init()
143 writel(cap_save, &host_mmio->cap); in ahci_host_init()
144 num_ports = (cap_save & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()