Lines Matching refs:host
71 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings()
129 struct ata_host *host; in cs5520_init_one() local
157 host = ata_host_alloc_pinfo(&pdev->dev, ppi, 2); in cs5520_init_one()
158 if (!host) in cs5520_init_one()
186 ioaddr = &host->ports[0]->ioaddr; in cs5520_init_one()
193 ata_port_desc(host->ports[0], in cs5520_init_one()
195 ata_port_pbar_desc(host->ports[0], 4, 0, "bmdma"); in cs5520_init_one()
197 ioaddr = &host->ports[1]->ioaddr; in cs5520_init_one()
204 ata_port_desc(host->ports[1], in cs5520_init_one()
206 ata_port_pbar_desc(host->ports[1], 4, 8, "bmdma"); in cs5520_init_one()
210 rc = ata_host_start(host); in cs5520_init_one()
216 struct ata_port *ap = host->ports[i]; in cs5520_init_one()
222 ata_bmdma_interrupt, 0, DRV_NAME, host); in cs5520_init_one()
229 return ata_host_register(host, &cs5520_sht); in cs5520_init_one()
243 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_reinit_one() local
255 ata_host_resume(host); in cs5520_reinit_one()
271 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_pci_device_suspend() local
274 rc = ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()