Home
last modified time | relevance | path

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

/linux/drivers/pci/hotplug/
H A 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()
97 err("Need to specify first_slot and last_slot"); in validate_parameters()
100 if (last_slot < first_slot) { in validate_parameters()
101 err("first_slot must be less than last_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, "Hotswa
[all...]
/linux/drivers/md/dm-vdo/
H A Drepair.c124 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 in rebuild_from_leaves()
[all...]
/linux/sound/soc/codecs/
H A Dpcm186x.c431 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 Dtas6424.c214 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 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()
H A Dcavium.h63 int last_slot; member
H A Dcavium-octeon.c207 host->last_slot = -1; in octeon_mmc_probe()
/linux/fs/btrfs/
H A Ddelayed-inode.c828 int nitems, slot, last_slot; in btrfs_batch_delete_items() local
835 last_slot = btrfs_header_nritems(leaf) - 1; in btrfs_batch_delete_items()
840 ASSERT(slot <= last_slot); in btrfs_batch_delete_items()
841 if (WARN_ON(slot > last_slot)) in btrfs_batch_delete_items()
853 while (slot < last_slot) { in btrfs_batch_delete_items()
H A Dtree-log.c6238 const int last_slot = btrfs_header_nritems(leaf) - 1; in batch_delete_dir_index_items() local
6244 while (slot < last_slot && in batch_delete_dir_index_items()
/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1670 unsigned int last_slot; in o2hb_map_slot_data() local
1709 last_slot = i * spp; in o2hb_map_slot_data()
1712 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data()
1714 BUG_ON((j + last_slot) >= reg->hr_blocks); in o2hb_map_slot_data()
1716 slot = &reg->hr_slots[j + last_slot]; in o2hb_map_slot_data()