Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_inic162x.c77 HOST_CTL = 0x7c, enumerator
545 writew(HCTL_FTHD0 | HCTL_LEDEN, port_base + HOST_CTL); in inic_qc_issue()
760 writew(hctl | HCTL_SOFTRST, mmio_base + HOST_CTL); in init_controller()
761 readw(mmio_base + HOST_CTL); /* flush */ in init_controller()
765 val = readw(mmio_base + HOST_CTL); in init_controller()
782 writew(hctl & ~HCTL_IRQOFF, mmio_base + HOST_CTL); in init_controller()
851 hpriv->cached_hctl = readw(hpriv->mmio_base + HOST_CTL); in inic_init_one()
Dahci_ceva.c120 tmp = readl(mmio + HOST_CTL); in ahci_ceva_setup()
122 writel(tmp, mmio + HOST_CTL); in ahci_ceva_setup()
Dacard-ahci.c147 ctl = readl(mmio + HOST_CTL); in acard_ahci_pci_device_suspend()
149 writel(ctl, mmio + HOST_CTL); in acard_ahci_pci_device_suspend()
150 readl(mmio + HOST_CTL); /* flush */ in acard_ahci_pci_device_suspend()
Dlibahci_platform.c639 ctl = readl(mmio + HOST_CTL); in ahci_platform_suspend_host()
641 writel(ctl, mmio + HOST_CTL); in ahci_platform_suspend_host()
642 readl(mmio + HOST_CTL); /* flush */ in ahci_platform_suspend_host()
Dlibahci.c206 tmp = readl(mmio + HOST_CTL); in ahci_enable_ahci()
215 writel(tmp, mmio + HOST_CTL); in ahci_enable_ahci()
216 tmp = readl(mmio + HOST_CTL); /* flush && sanity check */ in ahci_enable_ahci()
849 tmp = readl(mmio + HOST_CTL); in ahci_reset_controller()
851 writel(tmp | HOST_RESET, mmio + HOST_CTL); in ahci_reset_controller()
852 readl(mmio + HOST_CTL); /* flush */ in ahci_reset_controller()
861 tmp = ata_wait_register(NULL, mmio + HOST_CTL, HOST_RESET, in ahci_reset_controller()
1167 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
1169 writel(tmp | HOST_IRQ_EN, mmio + HOST_CTL); in ahci_init_controller()
1170 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
Dsata_highbank.c602 ctl = readl(mmio + HOST_CTL); in ahci_highbank_suspend()
604 writel(ctl, mmio + HOST_CTL); in ahci_highbank_suspend()
605 readl(mmio + HOST_CTL); /* flush */ in ahci_highbank_suspend()
Dahci.c833 ctl = readl(mmio + HOST_CTL); in ahci_pci_device_suspend()
835 writel(ctl, mmio + HOST_CTL); in ahci_pci_device_suspend()
836 readl(mmio + HOST_CTL); /* flush */ in ahci_pci_device_suspend()
1467 if (readl(hpriv->mmio + HOST_CTL) & HOST_MRSM) { in ahci_init_msi()
Dahci.h86 HOST_CTL = 0x04, /* global host control */ enumerator
/drivers/block/mtip32xx/
Dmtip32xx.c261 writel(HOST_RESET, dd->mmio + HOST_CTL); in mtip_hba_reset()
264 readl(dd->mmio + HOST_CTL); in mtip_hba_reset()
276 } while ((readl(dd->mmio + HOST_CTL) & HOST_RESET) in mtip_hba_reset()
279 if (readl(dd->mmio + HOST_CTL) & HOST_RESET) in mtip_hba_reset()
537 writel(readl(dd->mmio + HOST_CTL) | HOST_IRQ_EN, in mtip_device_reset()
538 dd->mmio + HOST_CTL); in mtip_device_reset()
3313 writel(readl(dd->mmio + HOST_CTL) | HOST_IRQ_EN, in mtip_hw_init()
3314 dd->mmio + HOST_CTL); in mtip_hw_init()
3327 writel(readl(dd->mmio + HOST_CTL) & ~HOST_IRQ_EN, in mtip_hw_init()
3328 dd->mmio + HOST_CTL); in mtip_hw_init()
[all …]