Home
last modified time | relevance | path

Searched refs:HOST_CTL (Results 1 – 10 of 10) sorted by relevance

/drivers/ata/
Dahci_brcm.c270 ctl = readl(mmio + HOST_CTL); in brcm_ahci_read_id()
272 writel(ctl, mmio + HOST_CTL); in brcm_ahci_read_id()
273 readl(mmio + HOST_CTL); /* flush */ in brcm_ahci_read_id()
304 ctl = readl(mmio + HOST_CTL); in brcm_ahci_read_id()
306 writel(ctl, mmio + HOST_CTL); in brcm_ahci_read_id()
307 readl(mmio + HOST_CTL); /* flush */ in brcm_ahci_read_id()
Dsata_inic162x.c76 HOST_CTL = 0x7c, enumerator
551 writew(HCTL_FTHD0 | HCTL_LEDEN, port_base + HOST_CTL); in inic_qc_issue()
766 writew(hctl | HCTL_SOFTRST, mmio_base + HOST_CTL); in init_controller()
767 readw(mmio_base + HOST_CTL); /* flush */ in init_controller()
771 val = readw(mmio_base + HOST_CTL); in init_controller()
788 writew(hctl & ~HCTL_IRQOFF, mmio_base + HOST_CTL); in init_controller()
857 hpriv->cached_hctl = readw(hpriv->mmio_base + HOST_CTL); in inic_init_one()
Dlibahci_platform.c744 writel(readl(mmio + HOST_CTL) & ~HOST_IRQ_EN, mmio + HOST_CTL); in ahci_platform_shutdown()
745 readl(mmio + HOST_CTL); /* flush */ in ahci_platform_shutdown()
779 ctl = readl(mmio + HOST_CTL); in ahci_platform_suspend_host()
781 writel(ctl, mmio + HOST_CTL); in ahci_platform_suspend_host()
782 readl(mmio + HOST_CTL); /* flush */ in ahci_platform_suspend_host()
Dacard-ahci.c131 ctl = readl(mmio + HOST_CTL); in acard_ahci_pci_device_suspend()
133 writel(ctl, mmio + HOST_CTL); in acard_ahci_pci_device_suspend()
134 readl(mmio + HOST_CTL); /* flush */ in acard_ahci_pci_device_suspend()
Dahci_ceva.c130 tmp = readl(mmio + HOST_CTL); in ahci_ceva_setup()
132 writel(tmp, mmio + HOST_CTL); in ahci_ceva_setup()
Dlibahci.c195 tmp = readl(mmio + HOST_CTL); in ahci_enable_ahci()
204 writel(tmp, mmio + HOST_CTL); in ahci_enable_ahci()
205 tmp = readl(mmio + HOST_CTL); /* flush && sanity check */ in ahci_enable_ahci()
928 tmp = readl(mmio + HOST_CTL); in ahci_reset_controller()
930 writel(tmp | HOST_RESET, mmio + HOST_CTL); in ahci_reset_controller()
931 readl(mmio + HOST_CTL); /* flush */ in ahci_reset_controller()
940 tmp = ata_wait_register(NULL, mmio + HOST_CTL, HOST_RESET, in ahci_reset_controller()
1263 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
1265 writel(tmp | HOST_IRQ_EN, mmio + HOST_CTL); in ahci_init_controller()
1266 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
Dsata_highbank.c587 ctl = readl(mmio + HOST_CTL); in ahci_highbank_suspend()
589 writel(ctl, mmio + HOST_CTL); in ahci_highbank_suspend()
590 readl(mmio + HOST_CTL); /* flush */ in ahci_highbank_suspend()
Dahci.c895 ctl = readl(mmio + HOST_CTL); in ahci_pci_disable_interrupts()
897 writel(ctl, mmio + HOST_CTL); in ahci_pci_disable_interrupts()
898 readl(mmio + HOST_CTL); /* flush */ in ahci_pci_disable_interrupts()
1620 if (!(readl(hpriv->mmio + HOST_CTL) & HOST_MRSM)) { in ahci_init_msi()
Dahci.h71 HOST_CTL = 0x04, /* global host control */ enumerator
/drivers/block/mtip32xx/
Dmtip32xx.c184 writel(HOST_RESET, dd->mmio + HOST_CTL); in mtip_hba_reset()
187 readl(dd->mmio + HOST_CTL); in mtip_hba_reset()
199 } while ((readl(dd->mmio + HOST_CTL) & HOST_RESET) in mtip_hba_reset()
202 if (readl(dd->mmio + HOST_CTL) & HOST_RESET) in mtip_hba_reset()
461 writel(readl(dd->mmio + HOST_CTL) | HOST_IRQ_EN, in mtip_device_reset()
462 dd->mmio + HOST_CTL); in mtip_device_reset()
2939 writel(readl(dd->mmio + HOST_CTL) | HOST_IRQ_EN, in mtip_hw_init()
2940 dd->mmio + HOST_CTL); in mtip_hw_init()
2953 writel(readl(dd->mmio + HOST_CTL) & ~HOST_IRQ_EN, in mtip_hw_init()
2954 dd->mmio + HOST_CTL); in mtip_hw_init()
[all …]