Searched refs:new_slot (Results 1 – 6 of 6) sorted by relevance
305 struct pci_func *new_slot; in cpqhp_save_config() local341 new_slot = cpqhp_slot_create(busnumber); in cpqhp_save_config()342 if (new_slot == NULL) in cpqhp_save_config()345 new_slot->bus = (u8) busnumber; in cpqhp_save_config()346 new_slot->device = (u8) device; in cpqhp_save_config()347 new_slot->function = 0; in cpqhp_save_config()348 new_slot->is_a_board = 0; in cpqhp_save_config()349 new_slot->presence_save = 0; in cpqhp_save_config()350 new_slot->switch_save = 0; in cpqhp_save_config()394 new_slot = cpqhp_slot_find(busnumber, device, index++); in cpqhp_save_config()[all …]
85 struct pci_func *new_slot; in show_dev() local91 new_slot = cpqhp_slot_find(slot->bus, slot->device, 0); in show_dev()92 if (!new_slot) in show_dev()96 res = new_slot->mem_head; in show_dev()103 res = new_slot->p_mem_head; in show_dev()110 res = new_slot->io_head; in show_dev()117 res = new_slot->bus_head; in show_dev()
971 struct pci_func *new_slot; in cpqhp_slot_create() local974 new_slot = kzalloc(sizeof(*new_slot), GFP_KERNEL); in cpqhp_slot_create()975 if (new_slot == NULL) in cpqhp_slot_create()976 return new_slot; in cpqhp_slot_create()978 new_slot->next = NULL; in cpqhp_slot_create()979 new_slot->configured = 1; in cpqhp_slot_create()982 cpqhp_slot_list[busnumber] = new_slot; in cpqhp_slot_create()987 next->next = new_slot; in cpqhp_slot_create()989 return new_slot; in cpqhp_slot_create()1430 struct pci_func *new_slot = NULL; in board_added() local[all …]
442 struct pci_func *new_slot);
281 struct mmc_omap_slot *new_slot; in mmc_omap_release_slot() local287 new_slot = host->slots[i]; in mmc_omap_release_slot()289 BUG_ON(new_slot == host->current_slot); in mmc_omap_release_slot()291 host->next_slot = new_slot; in mmc_omap_release_slot()292 host->mmc = new_slot->mmc; in mmc_omap_release_slot()
1034 static DRIVER_ATTR(new_slot, S_IWUSR, NULL, pcistub_slot_add);