Home
last modified time | relevance | path

Searched refs:first_slot (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/pci/hotplug/
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()
100 if (last_slot < first_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, "Hotswap bus first slot number");
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_nu… 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 = opt_vg_ptr->first_slot_num; in create_file_name()
[all …]
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()
1085 ctrl->first_slot, rc); in cpqhpc_probe()
Dshpchp_core.c84 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
Dshpchp.h99 u32 first_slot; /* First physical slot number */ member
Dcpqphp.h296 u8 first_slot; member
Dshpchp_hpc.c962 ctrl->first_slot = (slot_config & PSN) >> 16; in shpc_init()
/linux-6.12.1/drivers/firmware/efi/libstub/
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()
/linux-6.12.1/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c162 const int first_slot = 1; in main() local
181 TEST_ASSERT(max_slots > first_slot, "KVM is broken"); in main()
228 for (slot = first_slot; slot < max_slots; slot++) { in main()
229 gpa = start_gpa + ((slot - first_slot) * slot_size); in main()
276 for (slot = (slot - 1) & ~1ull; slot >= first_slot; slot -= 2) in main()
/linux-6.12.1/sound/soc/codecs/
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()
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()
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()
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
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()
/linux-6.12.1/fs/btrfs/
Dscrub.c1801 unsigned int first_slot, in submit_initial_group_read() argument
1806 ASSERT(first_slot < SCRUB_TOTAL_STRIPES); in submit_initial_group_read()
1807 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read()
1813 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i]; in submit_initial_group_read()
1836 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes() local
1838 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes()
1923 const int first_slot = sctx->cur_stripe - SCRUB_STRIPES_PER_GROUP; in queue_scrub_stripe() local
1925 submit_initial_group_read(sctx, first_slot, SCRUB_STRIPES_PER_GROUP); in queue_scrub_stripe()
Dctree.h507 int btrfs_bin_search(struct extent_buffer *eb, int first_slot,
Dctree.c797 int btrfs_bin_search(struct extent_buffer *eb, int first_slot, in btrfs_bin_search() argument
806 u32 low = first_slot; in btrfs_bin_search()
/linux-6.12.1/include/linux/
Duio.h293 unsigned int first_slot, unsigned int offset, size_t count);
Dbpf_verifier.h119 bool first_slot; member
/linux-6.12.1/Documentation/core-api/
Dfolio_queue.rst180 unsigned int first_slot, unsigned int offset,
/linux-6.12.1/lib/
Diov_iter.c726 const struct folio_queue *folioq, unsigned int first_slot, in iov_iter_folio_queue() argument
734 .folioq_slot = first_slot, in iov_iter_folio_queue()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c782 u32 first_slot) in vmw_view_bindings_add() argument
806 binding.slot = first_slot + i; in vmw_view_bindings_add()
/linux-6.12.1/kernel/bpf/
Dverifier.c681 bool first_slot, int dynptr_id);
844 if (state->stack[i].spilled_ptr.dynptr.first_slot) in unmark_stack_slots_dynptr()
878 if (!state->stack[spi].spilled_ptr.dynptr.first_slot) in destroy_if_dynptr_stack_slot()
963 if (!state->stack[spi].spilled_ptr.dynptr.first_slot) in is_dynptr_reg_valid_init()
1822 bool first_slot, int dynptr_id) in __mark_dynptr_reg() argument
1833 reg->dynptr.first_slot = first_slot; in __mark_dynptr_reg()
17475 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
/linux-6.12.1/drivers/md/
Draid10.c4981 int first_slot = slot; in handle_reshape_read_error() local
5009 if (slot == first_slot) in handle_reshape_read_error()
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt892 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]