Lines Matching defs:host
3 * MediaTek PCIe host controller driver.
145 * struct mtk_pcie_soc - differentiate between host generations
146 * @need_fix_class_id: whether this host's class ID needed to be fixed or not
147 * @need_fix_device_id: whether this host's device ID needed to be fixed or not
149 * @device_id: device ID which this host need to be fixed
168 * @pcie: pointer to PCIe host info
209 * struct mtk_pcie - PCIe host information
669 struct pci_host_bridge *host = pci_host_bridge_from_priv(pcie);
676 entry = resource_list_first_type(&host->windows, IORESOURCE_MEM);
1099 struct pci_host_bridge *host;
1102 host = devm_pci_alloc_host_bridge(dev, sizeof(*pcie));
1103 if (!host)
1106 pcie = pci_host_bridge_priv(host);
1117 host->ops = pcie->soc->ops;
1118 host->sysdata = pcie;
1119 host->msi_domain = pcie->soc->no_msi;
1121 err = pci_host_probe(host);
1137 struct pci_host_bridge *host = pci_host_bridge_from_priv(pcie);
1138 struct list_head *windows = &host->windows;
1146 struct pci_host_bridge *host = pci_host_bridge_from_priv(pcie);
1148 pci_stop_root_bus(host->bus);
1149 pci_remove_root_bus(host->bus);