Searched refs:last_slot (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/pci/hotplug/ |
D | cpcihp_generic.c | 52 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");
|
/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | randomalloc.c | 23 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local 38 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots() 40 if (first_slot > last_slot) in get_entry_num_slots() 43 return ((unsigned long)(last_slot - first_slot) >> align_shift) + 1; in get_entry_num_slots()
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | repair.c | 124 struct block_map_slot last_slot; member 470 slot_number_t slot, last_slot; in rebuild_reference_counts_from_page() local 484 if (vdo_get_block_map_page_pbn(page) == repair->last_slot.pbn) { in rebuild_reference_counts_from_page() 485 last_slot = repair->last_slot.slot; in rebuild_reference_counts_from_page() 486 remove_out_of_bounds_entries(page, completion, last_slot); in rebuild_reference_counts_from_page() 488 last_slot = VDO_BLOCK_MAP_ENTRIES_PER_PAGE; in rebuild_reference_counts_from_page() 492 for (slot = 0; slot < last_slot; slot++) { in rebuild_reference_counts_from_page() 586 repair->last_slot = (struct block_map_slot) { in rebuild_from_leaves() 590 if (repair->last_slot.slot == 0) in rebuild_from_leaves() 591 repair->last_slot.slot = VDO_BLOCK_MAP_ENTRIES_PER_PAGE; in rebuild_from_leaves()
|
/linux-6.12.1/sound/soc/codecs/ |
D | pcm186x.c | 431 unsigned int first_slot, last_slot, tdm_offset; in pcm186x_set_tdm_slot() local 443 last_slot = __fls(tx_mask); in pcm186x_set_tdm_slot() 445 if (last_slot - first_slot != hweight32(tx_mask) - 1) { in pcm186x_set_tdm_slot()
|
D | tas6424.c | 214 unsigned int first_slot, last_slot; in tas6424_set_dai_tdm_slot() local 229 last_slot = __fls(rx_mask); in tas6424_set_dai_tdm_slot() 231 if (last_slot - first_slot != 4) { in tas6424_set_dai_tdm_slot()
|
/linux-6.12.1/drivers/mmc/host/ |
D | cavium.c | 277 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()
|
D | cavium-thunderx.c | 113 host->last_slot = -1; in thunder_mmc_probe()
|
D | cavium.h | 63 int last_slot; member
|
D | cavium-octeon.c | 207 host->last_slot = -1; in octeon_mmc_probe()
|
/linux-6.12.1/fs/btrfs/ |
D | delayed-inode.c | 853 int nitems, slot, last_slot; in btrfs_batch_delete_items() local 860 last_slot = btrfs_header_nritems(leaf) - 1; in btrfs_batch_delete_items() 865 ASSERT(slot <= last_slot); in btrfs_batch_delete_items() 866 if (WARN_ON(slot > last_slot)) in btrfs_batch_delete_items() 878 while (slot < last_slot) { in btrfs_batch_delete_items()
|
D | tree-log.c | 6214 const int last_slot = btrfs_header_nritems(leaf) - 1; in batch_delete_dir_index_items() local 6220 while (slot < last_slot && in batch_delete_dir_index_items()
|
/linux-6.12.1/fs/ocfs2/cluster/ |
D | heartbeat.c | 1667 unsigned int last_slot; in o2hb_map_slot_data() local 1706 last_slot = i * spp; in o2hb_map_slot_data() 1709 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data() 1711 BUG_ON((j + last_slot) >= reg->hr_blocks); in o2hb_map_slot_data() 1713 slot = ®->hr_slots[j + last_slot]; in o2hb_map_slot_data()
|
/linux-6.12.1/Documentation/admin-guide/ |
D | kernel-parameters.txt | 892 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
|