Lines Matching defs:host
108 mask_addr = ap->host->iomap[VSC_MMIO_BAR] +
119 mask_addr = ap->host->iomap[VSC_MMIO_BAR] +
131 mask_addr = ap->host->iomap[VSC_MMIO_BAR] +
250 struct ata_host *host = dev_instance;
255 status = readl(host->iomap[VSC_MMIO_BAR] + VSC_SATA_INT_STAT_OFFSET);
259 dev_err(host->dev,
264 spin_lock(&host->lock);
266 for (i = 0; i < host->n_ports; i++) {
269 vsc_port_intr(port_status, host->ports[i]);
274 spin_unlock(&host->lock);
331 struct ata_host *host;
338 /* allocate host */
339 host = ata_host_alloc_pinfo(&pdev->dev, ppi, 4);
340 if (!host)
351 /* map IO regions and initialize host accordingly */
357 host->iomap = pcim_iomap_table(pdev);
359 mmio_base = host->iomap[VSC_MMIO_BAR];
361 for (i = 0; i < host->n_ports; i++) {
362 struct ata_port *ap = host->ports[i];
398 return ata_host_activate(host, pdev->irq, vsc_sata_interrupt,