Lines Matching refs:index
1063 * @index: is %0 for first function found, %1 for the second...
1067 struct pci_func *cpqhp_slot_find(u8 bus, u8 device, u8 index)
1074 if ((func == NULL) || ((func->device == device) && (index == 0)))
1086 if (found == index)
1410 int index;
1567 index = 0;
1569 new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++);
1612 int index;
1638 index = 0;
1639 temp_func = cpqhp_slot_find(func->bus, func->device, index++);
1646 temp_func = cpqhp_slot_find(temp_func->bus, temp_func->device, index++);
2040 u8 index = 0;
2049 func = cpqhp_slot_find(ctrl->bus, device, index++);
2086 func = cpqhp_slot_find(ctrl->bus, device, index++);
2229 int index;
2254 index = 0;
2257 new_slot = cpqhp_slot_find(new_slot->bus, new_slot->device, index++);