Lines Matching defs:host
537 struct ide_host *host;
564 host = ide_host_alloc(d, hws, n_ports);
565 if (host == NULL) {
570 host->dev[0] = &dev1->dev;
572 host->dev[1] = &dev2->dev;
574 host->host_priv = priv;
575 host->irq_flags = IRQF_SHARED;
577 pci_set_drvdata(pdev[0], host);
579 pci_set_drvdata(pdev[1], host);
599 ret = ide_host_register(host, d, hws);
601 ide_host_free(host);
623 struct ide_host *host = pci_get_drvdata(dev);
624 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL;
627 if (host->host_flags & IDE_HFLAG_SINGLE)
632 if ((host->host_flags & IDE_HFLAG_NO_DMA) == 0) {
633 if (host->host_flags & IDE_HFLAG_CS5520)
639 ide_host_remove(host);
664 struct ide_host *host = pci_get_drvdata(dev);
676 if (host->init_chipset)
677 host->init_chipset(dev);