Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ata/
H A Dahci.c187 u32 tmp, cap_save, cmd; in ahci_host_init() local
194 cap_save = readl(mmio + HOST_CAP); in ahci_host_init()
195 cap_save &= ((1 << 28) | (1 << 17)); in ahci_host_init()
196 cap_save |= (1 << 27); /* Staggered Spin-up. Not needed. */ in ahci_host_init()
203 writel(cap_save, mmio + HOST_CAP); in ahci_host_init()
H A Ddwc_ahsata.c114 u32 tmp, cap_save, num_ports; in ahci_host_init() local
120 cap_save = readl(&host_mmio->cap); in ahci_host_init()
121 cap_save |= SATA_HOST_CAP_SSS; in ahci_host_init()
142 writel(cap_save, &host_mmio->cap); in ahci_host_init()
143 num_ports = (cap_save & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()