Lines Matching refs:relations
2268 struct pci_bus_relations *relations) in hv_pci_devices_present() argument
2273 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present()
2278 dr->device_count = relations->device_count; in hv_pci_devices_present()
2280 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present()
2281 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present()
2282 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present()
2283 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present()
2284 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present()
2285 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present()
2286 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present()
2287 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present()
2288 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present()
2303 struct pci_bus_relations2 *relations) in hv_pci_devices_present2() argument
2308 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present2()
2313 dr->device_count = relations->device_count; in hv_pci_devices_present2()
2315 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present2()
2316 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present2()
2317 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present2()
2318 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present2()
2319 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present2()
2320 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present2()
2321 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present2()
2322 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present2()
2323 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present2()
2324 dr->func[i].flags = relations->func[i].flags; in hv_pci_devices_present2()
2326 relations->func[i].virtual_numa_node; in hv_pci_devices_present2()