Searched refs:new_slot (Results 1 – 6 of 6) sorted by relevance
306 struct pci_func *new_slot; in cpqhp_save_config() local343 new_slot = cpqhp_slot_create(busnumber); in cpqhp_save_config()344 if (new_slot == NULL) in cpqhp_save_config()347 new_slot->bus = (u8) busnumber; in cpqhp_save_config()348 new_slot->device = (u8) device; in cpqhp_save_config()349 new_slot->function = 0; in cpqhp_save_config()350 new_slot->is_a_board = 0; in cpqhp_save_config()351 new_slot->presence_save = 0; in cpqhp_save_config()352 new_slot->switch_save = 0; in cpqhp_save_config()396 new_slot = cpqhp_slot_find(busnumber, device, index++); in cpqhp_save_config()[all …]
71 struct pci_func *new_slot; in show_dev() local77 new_slot = cpqhp_slot_find(slot->bus, slot->device, 0); in show_dev()78 if (!new_slot) in show_dev()82 res = new_slot->mem_head; in show_dev()89 res = new_slot->p_mem_head; in show_dev()96 res = new_slot->io_head; in show_dev()103 res = new_slot->bus_head; in show_dev()
955 struct pci_func *new_slot; in cpqhp_slot_create() local958 new_slot = kzalloc(sizeof(*new_slot), GFP_KERNEL); in cpqhp_slot_create()959 if (new_slot == NULL) in cpqhp_slot_create()960 return new_slot; in cpqhp_slot_create()962 new_slot->next = NULL; in cpqhp_slot_create()963 new_slot->configured = 1; in cpqhp_slot_create()966 cpqhp_slot_list[busnumber] = new_slot; in cpqhp_slot_create()971 next->next = new_slot; in cpqhp_slot_create()973 return new_slot; in cpqhp_slot_create()1412 struct pci_func *new_slot = NULL; in board_added() local[all …]
423 int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot);
275 struct mmc_omap_slot *new_slot; in mmc_omap_release_slot() local281 new_slot = host->slots[i]; in mmc_omap_release_slot()283 BUG_ON(new_slot == host->current_slot); in mmc_omap_release_slot()285 host->next_slot = new_slot; in mmc_omap_release_slot()286 host->mmc = new_slot->mmc; in mmc_omap_release_slot()
1191 static DRIVER_ATTR_WO(new_slot);