Home
last modified time | relevance | path

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

/u-boot/drivers/ata/
A Dahci.c178 u32 tmp, cap_save, cmd; in ahci_host_init() local
185 cap_save = readl(mmio + HOST_CAP); in ahci_host_init()
186 cap_save &= ((1 << 28) | (1 << 17)); in ahci_host_init()
187 cap_save |= (1 << 27); /* Staggered Spin-up. Not needed. */ in ahci_host_init()
194 writel(cap_save, mmio + HOST_CAP); in ahci_host_init()
A Ddwc_ahsata.c121 u32 tmp, cap_save, num_ports; in ahci_host_init() local
127 cap_save = readl(&host_mmio->cap); in ahci_host_init()
128 cap_save |= SATA_HOST_CAP_SSS; in ahci_host_init()
149 writel(cap_save, &host_mmio->cap); in ahci_host_init()
150 num_ports = (cap_save & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()

Completed in 10 milliseconds