Home
last modified time | relevance | path

Searched refs:last_slot (Results 1 – 6 of 6) sorted by relevance

/drivers/pci/hotplug/
Dcpcihp_generic.c52 static u8 last_slot; variable
95 dbg("last_slot = 0x%02x", last_slot); in validate_parameters()
96 if (!(first_slot && last_slot)) { in validate_parameters()
100 if (last_slot < first_slot) { in validate_parameters()
159 status = cpci_hp_register_bus(bus, first_slot, last_slot); in cpcihp_generic_init()
202 module_param(last_slot, byte, 0);
203 MODULE_PARM_DESC(last_slot, "Hotswap bus last slot number");
/drivers/firmware/efi/libstub/
Drandomalloc.c22 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local
37 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots()
39 if (first_slot > last_slot) in get_entry_num_slots()
42 return ((unsigned long)(last_slot - first_slot) >> align_shift) + 1; in get_entry_num_slots()
/drivers/mmc/host/
Dcavium.c277 if (slot->bus_id == host->last_slot) in cvm_mmc_switch_to()
280 if (host->last_slot >= 0 && host->slot[host->last_slot]) { in cvm_mmc_switch_to()
281 old_slot = host->slot[host->last_slot]; in cvm_mmc_switch_to()
295 host->last_slot = slot->bus_id; in cvm_mmc_switch_to()
Dcavium-thunderx.c112 host->last_slot = -1; in thunder_mmc_probe()
Dcavium.h63 int last_slot; member
Dcavium-octeon.c205 host->last_slot = -1; in octeon_mmc_probe()