Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_inic162x.c64 HOST_CTL = 0x7c, enumerator
544 writew(HCTL_FTHD0 | HCTL_LEDEN, port_base + HOST_CTL); in inic_qc_issue()
763 writew(hctl | HCTL_SOFTRST, mmio_base + HOST_CTL); in init_controller()
764 readw(mmio_base + HOST_CTL); /* flush */ in init_controller()
768 val = readw(mmio_base + HOST_CTL); in init_controller()
785 writew(hctl & ~HCTL_IRQOFF, mmio_base + HOST_CTL); in init_controller()
854 hpriv->cached_hctl = readw(hpriv->mmio_base + HOST_CTL); in inic_init_one()
Dahci.c119 HOST_CTL = 0x04, /* global host control */ enumerator
668 tmp = readl(mmio + HOST_CTL); in ahci_enable_ahci()
677 writel(tmp, mmio + HOST_CTL); in ahci_enable_ahci()
678 tmp = readl(mmio + HOST_CTL); /* flush && sanity check */ in ahci_enable_ahci()
1174 tmp = readl(mmio + HOST_CTL); in ahci_reset_controller()
1176 writel(tmp | HOST_RESET, mmio + HOST_CTL); in ahci_reset_controller()
1177 readl(mmio + HOST_CTL); /* flush */ in ahci_reset_controller()
1186 tmp = ata_wait_register(mmio + HOST_CTL, HOST_RESET, in ahci_reset_controller()
1511 tmp = readl(mmio + HOST_CTL); in ahci_init_controller()
1513 writel(tmp | HOST_IRQ_EN, mmio + HOST_CTL); in ahci_init_controller()
[all …]