Lines Matching refs:new_slot
971 struct pci_func *new_slot;
974 new_slot = kzalloc(sizeof(*new_slot), GFP_KERNEL);
975 if (new_slot == NULL)
976 return new_slot;
978 new_slot->next = NULL;
979 new_slot->configured = 1;
982 cpqhp_slot_list[busnumber] = new_slot;
987 next->next = new_slot;
989 return new_slot;
1430 struct pci_func *new_slot = NULL;
1586 new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++);
1587 if (new_slot && !new_slot->pci_dev)
1588 cpqhp_configure_device(ctrl, new_slot);
1589 } while (new_slot);
2279 struct pci_func *new_slot;
2282 new_slot = func;
2301 rc = configure_new_function(ctrl, new_slot, behind_bridge, resources);
2307 while (new_slot) {
2308 new_slot = cpqhp_slot_find(new_slot->bus, new_slot->device, index++);
2310 if (new_slot)
2311 cpqhp_return_board_resources(new_slot, resources);
2331 new_slot = cpqhp_slot_create(func->bus);
2333 if (new_slot == NULL)
2336 new_slot->bus = func->bus;
2337 new_slot->device = func->device;
2338 new_slot->function = function;
2339 new_slot->is_a_board = 1;
2340 new_slot->status = 0;
2395 struct pci_func *new_slot;
2589 new_slot = cpqhp_slot_create(hold_bus_node->base);
2591 if (new_slot == NULL) {
2596 new_slot->bus = hold_bus_node->base;
2597 new_slot->device = device;
2598 new_slot->function = 0;
2599 new_slot->is_a_board = 1;
2600 new_slot->status = 0;
2602 rc = configure_new_device(ctrl, new_slot, 1, &temp_resources);