Home
last modified time | relevance | path

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

/openbmc/linux/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()
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");
H A Dibmphp_ebda.c527 static int first_slot_num(u8 slot_num, u8 first_slot, u8 var) in first_slot_num() argument
580 u8 first_slot = 1; in calculate_first_slot() local
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()
633 first_slot = opt_vg_ptr->first_slot_num; in create_file_name()
640 first_slot = opt_lo_ptr->first_slot_num; in create_file_name()
651 first_slot = calculate_first_slot(slot_num); 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()
1085 ctrl->first_slot, rc); in cpqhpc_probe()
H A Dshpchp_core.c85 slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i); in init_slots()
H A Dshpchp.h101 u32 first_slot; /* First physical slot number */ member
H A Dcpqphp.h296 u8 first_slot; member
H A Dshpchp_hpc.c987 ctrl->first_slot = (slot_config & PSN) >> 16; in shpc_init()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/qemu/hw/pci-host/
H A Dppce500.c105 uint32_t first_slot; member
469 PCI_DEVFN(s->first_slot, 0), 4, TYPE_PCI_BUS); in e500_pcihost_realize()
523 DEFINE_PROP_UINT32("first_slot", PPCE500PCIState, first_slot, 0x11),
/openbmc/linux/fs/btrfs/
H A Dscrub.c1713 unsigned int first_slot, in submit_initial_group_read() argument
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()
H A Dctree.h514 int btrfs_bin_search(struct extent_buffer *eb, int first_slot,
H A Dctree.c928 int btrfs_bin_search(struct extent_buffer *eb, int first_slot, in btrfs_bin_search() argument
937 u32 low = first_slot; in btrfs_bin_search()
/openbmc/qemu/hw/ppc/
H A De500.c90 static uint32_t *pci_map_create(void *fdt, uint32_t mpic, int first_slot, in pci_map_create() argument
97 int last_slot = first_slot + nr_slots; in pci_map_create()
103 for (slot = first_slot; slot < last_slot; slot++) { in pci_map_create()
/openbmc/linux/include/linux/
H A Dbpf_verifier.h114 bool first_slot; member
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c781 u32 first_slot) in vmw_view_bindings_add() argument
805 binding.slot = first_slot + i; in vmw_view_bindings_add()
/openbmc/linux/kernel/bpf/
H A Dverifier.c868 bool first_slot, int dynptr_id);
1031 if (state->stack[i].spilled_ptr.dynptr.first_slot) in unmark_stack_slots_dynptr()
1065 if (!state->stack[spi].spilled_ptr.dynptr.first_slot) in destroy_if_dynptr_stack_slot()
1150 if (!state->stack[spi].spilled_ptr.dynptr.first_slot) in is_dynptr_reg_valid_init()
2159 bool first_slot, int dynptr_id) in __mark_dynptr_reg() argument
2170 reg->dynptr.first_slot = first_slot; in __mark_dynptr_reg()
16185 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
/openbmc/linux/drivers/md/
H A Draid10.c5155 int first_slot = slot; in handle_reshape_read_error() local
5186 if (slot == first_slot) in handle_reshape_read_error()
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt828 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]