Lines Matching refs:right

77     struct LinuxSortedDeviceInfo *right = (struct LinuxSortedDeviceInfo *)b;
82 } else if (right->default_device) {
87 int32_t dev_type_comp = device_type_compare(left->device_type, right->device_type);
93 if (left->has_pci_bus_info && !right->has_pci_bus_info) {
95 } else if (!left->has_pci_bus_info && right->has_pci_bus_info) {
97 } else if (left->has_pci_bus_info && right->has_pci_bus_info) {
99 if (left->pci_domain < right->pci_domain) {
101 } else if (left->pci_domain > right->pci_domain) {
105 if (left->pci_bus < right->pci_bus) {
107 } else if (left->pci_bus > right->pci_bus) {
111 if (left->pci_device < right->pci_device) {
113 } else if (left->pci_device > right->pci_device) {
117 if (left->pci_function < right->pci_function) {
119 } else if (left->pci_function > right->pci_function) {
126 uint32_t right_xord_dev_vend = right->device_id ^ right->vendor_id;
148 struct LinuxSortedDeviceInfo *right = &grp_b->internal_device_info[0];
153 } else if (right->default_device) {
158 int32_t dev_type_comp = device_type_compare(left->device_type, right->device_type);
164 if (left->has_pci_bus_info && !right->has_pci_bus_info) {
166 } else if (!left->has_pci_bus_info && right->has_pci_bus_info) {
168 } else if (left->has_pci_bus_info && right->has_pci_bus_info) {
170 if (left->pci_domain < right->pci_domain) {
172 } else if (left->pci_domain > right->pci_domain) {
176 if (left->pci_bus < right->pci_bus) {
178 } else if (left->pci_bus > right->pci_bus) {
182 if (left->pci_device < right->pci_device) {
184 } else if (left->pci_device > right->pci_device) {
188 if (left->pci_function < right->pci_function) {
190 } else if (left->pci_function > right->pci_function) {
197 uint32_t right_xord_dev_vend = right->device_id ^ right->vendor_id;