Lines Matching refs:relations
2677 struct pci_bus_relations *relations) in hv_pci_devices_present() argument
2682 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present()
2687 dr->device_count = relations->device_count; in hv_pci_devices_present()
2689 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present()
2690 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present()
2691 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present()
2692 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present()
2693 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present()
2694 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present()
2695 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present()
2696 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present()
2697 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present()
2712 struct pci_bus_relations2 *relations) in hv_pci_devices_present2() argument
2717 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present2()
2722 dr->device_count = relations->device_count; in hv_pci_devices_present2()
2724 dr->func[i].v_id = relations->func[i].v_id; in hv_pci_devices_present2()
2725 dr->func[i].d_id = relations->func[i].d_id; in hv_pci_devices_present2()
2726 dr->func[i].rev = relations->func[i].rev; in hv_pci_devices_present2()
2727 dr->func[i].prog_intf = relations->func[i].prog_intf; in hv_pci_devices_present2()
2728 dr->func[i].subclass = relations->func[i].subclass; in hv_pci_devices_present2()
2729 dr->func[i].base_class = relations->func[i].base_class; in hv_pci_devices_present2()
2730 dr->func[i].subsystem_id = relations->func[i].subsystem_id; in hv_pci_devices_present2()
2731 dr->func[i].win_slot = relations->func[i].win_slot; in hv_pci_devices_present2()
2732 dr->func[i].ser = relations->func[i].ser; in hv_pci_devices_present2()
2733 dr->func[i].flags = relations->func[i].flags; in hv_pci_devices_present2()
2735 relations->func[i].virtual_numa_node; in hv_pci_devices_present2()