Lines Matching refs:relations
2218 struct pci_bus_relations *relations) in hv_pci_devices_present() argument
2223 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present()
2228 dr->device_count = relations->device_count; in hv_pci_devices_present()
2230 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present()
2231 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present()
2232 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present()
2233 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present()
2234 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present()
2235 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present()
2236 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present()
2237 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present()
2238 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present()
2253 struct pci_bus_relations2 *relations) in hv_pci_devices_present2() argument
2258 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present2()
2263 dr->device_count = relations->device_count; in hv_pci_devices_present2()
2265 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present2()
2266 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present2()
2267 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present2()
2268 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present2()
2269 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present2()
2270 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present2()
2271 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present2()
2272 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present2()
2273 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present2()
2274 dr->func[i].flags = relations->func[i].flags; in hv_pci_devices_present2()
2276 relations->func[i].virtual_numa_node; in hv_pci_devices_present2()