Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ata/
Dahci_brcm.c269 ctl = readl(mmio + HOST_CTL); in brcm_ahci_read_id()
271 writel(ctl, mmio + HOST_CTL); in brcm_ahci_read_id()
272 readl(mmio + HOST_CTL); /* flush */ in brcm_ahci_read_id()
303 ctl = readl(mmio + HOST_CTL); in brcm_ahci_read_id()
305 writel(ctl, mmio + HOST_CTL); in brcm_ahci_read_id()
306 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.c702 writel(readl(mmio + HOST_CTL) & ~HOST_IRQ_EN, mmio + HOST_CTL); in ahci_platform_shutdown()
703 readl(mmio + HOST_CTL); /* flush */ in ahci_platform_shutdown()
737 ctl = readl(mmio + HOST_CTL); in ahci_platform_suspend_host()
739 writel(ctl, mmio + HOST_CTL); in ahci_platform_suspend_host()
740 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.c129 tmp = readl(mmio + HOST_CTL); in ahci_ceva_setup()
131 writel(tmp, mmio + HOST_CTL); in ahci_ceva_setup()
Dsata_highbank.c585 ctl = readl(mmio + HOST_CTL); in ahci_highbank_suspend()
587 writel(ctl, mmio + HOST_CTL); in ahci_highbank_suspend()
588 readl(mmio + HOST_CTL); /* flush */ in ahci_highbank_suspend()
Dlibahci.c194 tmp = readl(mmio + HOST_CTL); in ahci_enable_ahci()
203 writel(tmp, mmio + HOST_CTL); in ahci_enable_ahci()
204 tmp = readl(mmio + HOST_CTL); /* flush && sanity check */ in ahci_enable_ahci()
922 tmp = readl(mmio + HOST_CTL); in ahci_reset_controller()
924 writel(tmp | HOST_RESET, mmio + HOST_CTL); in ahci_reset_controller()
925 readl(mmio + HOST_CTL); /* flush */ in ahci_reset_controller()
934 tmp = ata_wait_register(NULL, mmio + HOST_CTL, HOST_RESET, in ahci_reset_controller()
1248 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
1250 writel(tmp | HOST_IRQ_EN, mmio + HOST_CTL); in ahci_init_controller()
1251 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
Dahci.h71 HOST_CTL = 0x04, /* global host control */ enumerator
Dahci.c846 ctl = readl(mmio + HOST_CTL); in ahci_pci_disable_interrupts()
848 writel(ctl, mmio + HOST_CTL); in ahci_pci_disable_interrupts()
849 readl(mmio + HOST_CTL); /* flush */ in ahci_pci_disable_interrupts()
1564 if (!(readl(hpriv->mmio + HOST_CTL) & HOST_MRSM)) { in ahci_init_msi()
/Linux-v5.10/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()
2979 writel(readl(dd->mmio + HOST_CTL) | HOST_IRQ_EN, in mtip_hw_init()
2980 dd->mmio + HOST_CTL); in mtip_hw_init()
2993 writel(readl(dd->mmio + HOST_CTL) & ~HOST_IRQ_EN, in mtip_hw_init()
2994 dd->mmio + HOST_CTL); in mtip_hw_init()
[all …]