Lines Matching refs:ghc
50 u32 ghc; member
124 tmp = readl(&host_mmio->ghc); in ahci_host_init()
126 writel_with_flush(tmp | SATA_HOST_GHC_HR, &host_mmio->ghc); in ahci_host_init()
128 while ((readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) && --timeout) in ahci_host_init()
141 writel_with_flush(SATA_HOST_GHC_AE, &host_mmio->ghc); in ahci_host_init()
260 tmp = readl(&host_mmio->ghc); in ahci_host_init()
262 writel(tmp | SATA_HOST_GHC_IE, &host_mmio->ghc); in ahci_host_init()
263 tmp = readl(&host_mmio->ghc); in ahci_host_init()
919 setbits_le32(&host_mmio->ghc, SATA_HOST_GHC_HR); in reset_sata()
920 while (readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) in reset_sata()
987 setbits_le32(&host_mmio->ghc, SATA_HOST_GHC_HR); in dwc_ahsata_bus_reset()
988 while (readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) in dwc_ahsata_bus_reset()