Home
last modified time | relevance | path

Searched refs:first_slot (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dcpcihp_generic.c51 static u8 first_slot; variable
94 dbg("first_slot = 0x%02x", first_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()
200 module_param(first_slot, byte, 0);
201 MODULE_PARM_DESC(first_slot, "Hotswa
[all...]
H A Dibmphp_ebda.c527 static int first_slot_num(u8 slot_num, u8 first_slot, u8 var) in first_slot_num() argument
535 if ((first_slot < opt_vg_ptr->first_slot_num) && (slot_num >= opt_vg_ptr->first_slot_num)) { in first_slot_num()
542 if ((first_slot < opt_lo_ptr->first_slot_num) && (slot_num >= opt_lo_ptr->first_slot_num)) { in first_slot_num()
580 u8 first_slot = 1; in calculate_first_slot() local
585 if ((slot_cur->ctrl->ctlr_type != 4) && (slot_cur->ctrl->ending_slot_num > first_slot) && (slot_num > slot_cur->ctrl->ending_slot_num)) in calculate_first_slot()
586 first_slot = slot_cur->ctrl->ending_slot_num; in calculate_first_slot()
589 return first_slot + 1; in calculate_first_slot()
602 u8 first_slot = 1; in create_file_name() local
625 first_slot = opt_lo_ptr->first_slot_num; in create_file_name()
628 first_slot in create_file_name()
[all...]
H A Dcpqphp_core.c128 tempdword = ctrl->first_slot; in init_SERR()
592 slot_number = ctrl->first_slot; in ctrl_slot_setup()
1082 &(ctrl->first_slot)); in cpqhpc_probe()
1083 dbg("get_slot_mapping: first_slot = %d, returned = %d\n", in cpqhpc_probe()
1084 ctrl->first_slot, rc); in cpqhpc_probe()
H A Dshpchp.h101 u32 first_slot; /* First physical slot number */ member
H A Dshpchp_core.c86 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
H A Dshpchp_hpc.c1010 ctrl->first_slot = (slot_config & PSN) >> 16; in shpc_init()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dcpcihp_generic.c51 static u8 first_slot; variable
94 dbg("first_slot = 0x%02x", first_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()
200 module_param(first_slot, byte, 0);
201 MODULE_PARM_DESC(first_slot, "Hotswa
[all...]
H A Dibmphp_ebda.c527 static int first_slot_num(u8 slot_num, u8 first_slot, u8 var) in first_slot_num() argument
535 if ((first_slot < opt_vg_ptr->first_slot_num) && (slot_num >= opt_vg_ptr->first_slot_num)) { in first_slot_num()
542 if ((first_slot < opt_lo_ptr->first_slot_num) && (slot_num >= opt_lo_ptr->first_slot_num)) { in first_slot_num()
580 u8 first_slot = 1; in calculate_first_slot() local
585 if ((slot_cur->ctrl->ctlr_type != 4) && (slot_cur->ctrl->ending_slot_num > first_slot) && (slot_num > slot_cur->ctrl->ending_slot_num)) in calculate_first_slot()
586 first_slot = slot_cur->ctrl->ending_slot_num; in calculate_first_slot()
589 return first_slot + 1; in calculate_first_slot()
602 u8 first_slot = 1; in create_file_name() local
625 first_slot = opt_lo_ptr->first_slot_num; in create_file_name()
628 first_slot in create_file_name()
[all...]
H A Dcpqphp_core.c128 tempdword = ctrl->first_slot; in init_SERR()
593 slot_number = ctrl->first_slot; in ctrl_slot_setup()
1083 &(ctrl->first_slot)); in cpqhpc_probe()
1084 dbg("get_slot_mapping: first_slot = %d, returned = %d\n", in cpqhpc_probe()
1085 ctrl->first_slot, rc); in cpqhpc_probe()
H A Dshpchp.h101 u32 first_slot; /* First physical slot number */ member
H A Dshpchp_core.c85 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
H A Drandomalloc.c22 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local
36 first_slot = round_up(md->phys_addr, 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()
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Drandomalloc.c23 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local
37 first_slot = round_up(max(md->phys_addr, alloc_min), 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()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c167 const int first_slot = 1; in main() local
186 TEST_ASSERT(max_slots > first_slot, "KVM is broken"); in main()
233 for (slot = first_slot; slot < max_slots; slot++) { in main()
234 gpa = start_gpa + ((slot - first_slot) * slot_size); in main()
281 for (slot = (slot - 1) & ~1ull; slot >= first_slot; slot -= 2) in main()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dtas5720.c148 unsigned int first_slot; in tas5720_set_dai_tdm_slot() local
161 first_slot = __ffs(tx_mask); in tas5720_set_dai_tdm_slot()
163 if (first_slot > 7) { in tas5720_set_dai_tdm_slot()
165 first_slot); in tas5720_set_dai_tdm_slot()
177 TAS5720_TDM_SLOT_SEL_MASK, first_slot); in tas5720_set_dai_tdm_slot()
H A Dpcm186x.c433 unsigned int first_slot, last_slot, tdm_offset; in pcm186x_set_tdm_slot() local
444 first_slot = __ffs(tx_mask); in pcm186x_set_tdm_slot()
447 if (last_slot - first_slot != hweight32(tx_mask) - 1) { in pcm186x_set_tdm_slot()
452 tdm_offset = first_slot * slot_width; in pcm186x_set_tdm_slot()
H A Dtas6424.c215 unsigned int first_slot, last_slot; in tas6424_set_dai_tdm_slot() local
229 first_slot = __ffs(tx_mask); in tas6424_set_dai_tdm_slot()
232 if (last_slot - first_slot != 4) { in tas6424_set_dai_tdm_slot()
237 switch (first_slot) { in tas6424_set_dai_tdm_slot()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c251 int first_slot = ATH_BCBUF; in ath9k_beacon_ensure_primary_slot() local
259 first_slot = slot; in ath9k_beacon_ensure_primary_slot()
263 if (first_slot == 0) in ath9k_beacon_ensure_primary_slot()
268 if (slot + first_slot < ATH_BCBUF) { in ath9k_beacon_ensure_primary_slot()
269 vif = sc->beacon.bslot[slot + first_slot]; in ath9k_beacon_ensure_primary_slot()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c251 int first_slot = ATH_BCBUF; in ath9k_beacon_ensure_primary_slot() local
259 first_slot = slot; in ath9k_beacon_ensure_primary_slot()
263 if (first_slot == 0) in ath9k_beacon_ensure_primary_slot()
268 if (slot + first_slot < ATH_BCBUF) { in ath9k_beacon_ensure_primary_slot()
269 vif = sc->beacon.bslot[slot + first_slot]; in ath9k_beacon_ensure_primary_slot()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas5720.c148 unsigned int first_slot; in tas5720_set_dai_tdm_slot() local
161 first_slot = __ffs(tx_mask); in tas5720_set_dai_tdm_slot()
163 if (first_slot > 7) { in tas5720_set_dai_tdm_slot()
165 first_slot); in tas5720_set_dai_tdm_slot()
184 TAS5720_TDM_SLOT_SEL_MASK, first_slot); in tas5720_set_dai_tdm_slot()
H A Dpcm186x.c431 unsigned int first_slot, last_slot, tdm_offset; in pcm186x_set_tdm_slot() local
442 first_slot = __ffs(tx_mask); in pcm186x_set_tdm_slot()
445 if (last_slot - first_slot != hweight32(tx_mask) - 1) { in pcm186x_set_tdm_slot()
450 tdm_offset = first_slot * slot_width; in pcm186x_set_tdm_slot()
H A Dtas6424.c214 unsigned int first_slot, last_slot; in tas6424_set_dai_tdm_slot() local
228 first_slot = __ffs(tx_mask); in tas6424_set_dai_tdm_slot()
231 if (last_slot - first_slot != 4) { in tas6424_set_dai_tdm_slot()
236 switch (first_slot) { in tas6424_set_dai_tdm_slot()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dscrub.c1713 unsigned int first_slot, in submit_initial_group_read()
1718 ASSERT(first_slot < SCRUB_TOTAL_STRIPES); in submit_initial_group_read()
1719 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read()
1725 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i]; in submit_initial_group_read()
1748 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes() local
1750 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes()
1832 const int first_slot = sctx->cur_stripe - SCRUB_STRIPES_PER_GROUP; in queue_scrub_stripe() local
1834 submit_initial_group_read(sctx, first_slot, SCRUB_STRIPES_PER_GROUP); in queue_scrub_stripe()
1712 submit_initial_group_read(struct scrub_ctx *sctx, unsigned int first_slot, unsigned int nr_stripes) submit_initial_group_read() argument
H A Dctree.h512 int btrfs_bin_search(struct extent_buffer *eb, int first_slot,
/kernel/linux/linux-6.6/include/linux/
H A Dbpf_verifier.h114 bool first_slot; member

Completed in 28 milliseconds

12