Searched refs:old_slot (Results 1 – 3 of 3) sorted by relevance
268 struct slot *old_slot, *next_slot; in ctrl_slot_cleanup() local270 old_slot = ctrl->slot; in ctrl_slot_cleanup()273 while (old_slot) { in ctrl_slot_cleanup()274 next_slot = old_slot->next; in ctrl_slot_cleanup()275 pci_hp_deregister(&old_slot->hotplug_slot); in ctrl_slot_cleanup()276 kfree(old_slot); in ctrl_slot_cleanup()277 old_slot = next_slot; in ctrl_slot_cleanup()
983 static int slot_remove(struct pci_func *old_slot) in slot_remove() argument987 if (old_slot == NULL) in slot_remove()990 next = cpqhp_slot_list[old_slot->bus]; in slot_remove()994 if (next == old_slot) { in slot_remove()995 cpqhp_slot_list[old_slot->bus] = old_slot->next; in slot_remove()996 cpqhp_destroy_board_resources(old_slot); in slot_remove()997 kfree(old_slot); in slot_remove()1001 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove()1004 if (next->next == old_slot) { in slot_remove()1005 next->next = old_slot->next; in slot_remove()[all …]
274 struct cvm_mmc_slot *old_slot; in cvm_mmc_switch_to() local281 old_slot = host->slot[host->last_slot]; in cvm_mmc_switch_to()282 old_slot->cached_switch = readq(host->base + MIO_EMM_SWITCH(host)); in cvm_mmc_switch_to()283 old_slot->cached_rca = readq(host->base + MIO_EMM_RCA(host)); in cvm_mmc_switch_to()