Lines Matching refs:host
124 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_freeze()
135 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_thaw()
147 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_intr_mask_update()
266 struct ata_host *host = dev_instance; in vsc_sata_interrupt() local
271 status = readl(host->iomap[VSC_MMIO_BAR] + VSC_SATA_INT_STAT_OFFSET); in vsc_sata_interrupt()
275 dev_err(host->dev, in vsc_sata_interrupt()
280 spin_lock(&host->lock); in vsc_sata_interrupt()
282 for (i = 0; i < host->n_ports; i++) { in vsc_sata_interrupt()
285 vsc_port_intr(port_status, host->ports[i]); in vsc_sata_interrupt()
290 spin_unlock(&host->lock); in vsc_sata_interrupt()
347 struct ata_host *host; in vsc_sata_init_one() local
355 host = ata_host_alloc_pinfo(&pdev->dev, ppi, 4); in vsc_sata_init_one()
356 if (!host) in vsc_sata_init_one()
373 host->iomap = pcim_iomap_table(pdev); in vsc_sata_init_one()
375 mmio_base = host->iomap[VSC_MMIO_BAR]; in vsc_sata_init_one()
377 for (i = 0; i < host->n_ports; i++) { in vsc_sata_init_one()
378 struct ata_port *ap = host->ports[i]; in vsc_sata_init_one()
417 return ata_host_activate(host, pdev->irq, vsc_sata_interrupt, in vsc_sata_init_one()