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

/linux-master/drivers/pci/hotplug/
H A Dcpcihp_generic.c51 static u8 first_slot; variable
94 dbg("first_slot = 0x%02x", first_slot);
96 if (!(first_slot && last_slot)) {
97 err("Need to specify first_slot and last_slot");
100 if (last_slot < first_slot) {
101 err("first_slot must be less than last_slot");
159 status = cpci_hp_register_bus(bus, first_slot, last_slot);
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) argument
535 if ((first_slot < opt_vg_ptr->first_slot_num) && (slot_num >= opt_vg_ptr->first_slot_num)) {
542 if ((first_slot < opt_lo_ptr->first_slot_num) && (slot_num >= opt_lo_ptr->first_slot_num)) {
580 u8 first_slot = 1; 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))
586 first_slot = slot_cur->ctrl->ending_slot_num;
589 return first_slot + 1;
602 u8 first_slot = 1; local
625 first_slot = opt_lo_ptr->first_slot_num;
628 first_slot
[all...]
H A Dcpqphp_core.c128 tempdword = ctrl->first_slot;
593 slot_number = ctrl->first_slot;
1083 &(ctrl->first_slot));
1084 dbg("get_slot_mapping: first_slot = %d, returned = %d\n",
1085 ctrl->first_slot, rc);
H A Dshpchp.h101 u32 first_slot; /* First physical slot number */ member in struct:controller
H A Dshpchp_core.c85 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i);
H A Dcpqphp.h296 u8 first_slot; member in struct:controller
H A Dshpchp_hpc.c987 ctrl->first_slot = (slot_config & PSN) >> 16;
/linux-master/drivers/firmware/efi/libstub/
H A Drandomalloc.c23 u64 first_slot, last_slot, region_end; local
37 first_slot = round_up(max(md->phys_addr, alloc_min), align);
40 if (first_slot > last_slot)
43 return ((unsigned long)(last_slot - first_slot) >> align_shift) + 1;
/linux-master/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c164 const int first_slot = 1; local
183 TEST_ASSERT(max_slots > first_slot, "KVM is broken");
230 for (slot = first_slot; slot < max_slots; slot++) {
231 gpa = start_gpa + ((slot - first_slot) * slot_size);
278 for (slot = (slot - 1) & ~1ull; slot >= first_slot; slot -= 2)
/linux-master/sound/soc/codecs/
H A Dpcm186x.c431 unsigned int first_slot, last_slot, tdm_offset; local
442 first_slot = __ffs(tx_mask);
445 if (last_slot - first_slot != hweight32(tx_mask) - 1) {
450 tdm_offset = first_slot * slot_width;
H A Dtas5720.c148 unsigned int first_slot; local
161 first_slot = __ffs(tx_mask);
163 if (first_slot > 7) {
165 first_slot);
184 TAS5720_TDM_SLOT_SEL_MASK, first_slot);
H A Dtas6424.c214 unsigned int first_slot, last_slot; local
228 first_slot = __ffs(tx_mask);
231 if (last_slot - first_slot != 4) {
236 switch (first_slot) {
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c251 int first_slot = ATH_BCBUF; local
259 first_slot = slot;
263 if (first_slot == 0)
268 if (slot + first_slot < ATH_BCBUF) {
269 vif = sc->beacon.bslot[slot + first_slot];
/linux-master/fs/btrfs/
H A Dscrub.c1793 unsigned int first_slot,
1798 ASSERT(first_slot < SCRUB_TOTAL_STRIPES);
1799 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES);
1805 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i];
1828 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); local
1830 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot);
1912 const int first_slot = sctx->cur_stripe - SCRUB_STRIPES_PER_GROUP; local
1914 submit_initial_group_read(sctx, first_slot, SCRUB_STRIPES_PER_GROUP);
1792 submit_initial_group_read(struct scrub_ctx *sctx, unsigned int first_slot, unsigned int nr_stripes) argument
H A Dctree.h489 int btrfs_bin_search(struct extent_buffer *eb, int first_slot,
H A Dctree.c781 * The lower boundary for the search is specified by the slot number @first_slot.
792 int btrfs_bin_search(struct extent_buffer *eb, int first_slot, argument
801 u32 low = first_slot;
/linux-master/include/linux/
H A Dbpf_verifier.h114 bool first_slot; member in struct:bpf_reg_state::__anon1915::__anon1919
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c774 * @first_slot: The binding slot to be used for the first view id in @view_ids.
781 u32 first_slot)
805 binding.slot = first_slot + i;
776 vmw_view_bindings_add(struct vmw_sw_context *sw_context, enum vmw_view_type view_type, enum vmw_ctx_binding_type binding_type, uint32 shader_slot, uint32 view_ids[], u32 num_views, u32 first_slot) argument
/linux-master/kernel/bpf/
H A Dverifier.c679 bool first_slot, int dynptr_id);
842 if (state->stack[i].spilled_ptr.dynptr.first_slot)
876 if (!state->stack[spi].spilled_ptr.dynptr.first_slot)
961 if (!state->stack[spi].spilled_ptr.dynptr.first_slot)
1818 bool first_slot, int dynptr_id)
1829 reg->dynptr.first_slot = first_slot;
16771 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot ||
1817 __mark_dynptr_reg(struct bpf_reg_state *reg, enum bpf_dynptr_type type, bool first_slot, int dynptr_id) argument
/linux-master/drivers/md/
H A Draid10.c4974 int first_slot = slot; local
5002 if (slot == first_slot)

Completed in 326 milliseconds