Searched refs:last_slot (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/pci/hotplug/ |
| H A 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/drivers/firmware/efi/libstub/ |
| H A D | randomalloc.c | 23 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local 41 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots() 43 if (first_slot > last_slot) in get_entry_num_slots() 46 return ((unsigned long)(last_slot - first_slot) >> align_shift) + 1; in get_entry_num_slots()
|
| /linux/drivers/md/dm-vdo/ |
| H A 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/sound/soc/codecs/ |
| H A 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()
|
| H A 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/drivers/mmc/host/ |
| H A D | cavium-thunderx.c | 113 host->last_slot = -1; in thunder_mmc_probe()
|
| H A D | cavium.h | 63 int last_slot; member
|
| /linux/fs/ocfs2/cluster/ |
| H A D | heartbeat.c | 1670 unsigned int last_slot; in o2hb_map_slot_data() local 1707 last_slot = i * spp; in o2hb_map_slot_data() 1710 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data() 1712 BUG_ON((j + last_slot) >= reg->hr_blocks); in o2hb_map_slot_data() 1714 slot = ®->hr_slots[j + last_slot]; in o2hb_map_slot_data()
|
| /linux/fs/btrfs/ |
| H A D | delayed-inode.c | 849 int nitems, slot, last_slot; in btrfs_batch_delete_items() local 856 last_slot = btrfs_header_nritems(leaf) - 1; in btrfs_batch_delete_items() 861 ASSERT(slot <= last_slot); in btrfs_batch_delete_items() 862 if (WARN_ON(slot > last_slot)) in btrfs_batch_delete_items() 874 while (slot < last_slot) { in btrfs_batch_delete_items()
|
| H A D | tree-log.c | 6688 const int last_slot = btrfs_header_nritems(leaf) - 1; in batch_delete_dir_index_items() local 6694 while (slot < last_slot && in batch_delete_dir_index_items()
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 1054 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
|