Home
last modified time | relevance | path

Searched refs:slot_count (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/i2c/
Di2c-smbus.c318 int n, slot_count = 0, dimm_count = 0; in i2c_register_spd() local
324 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) { in i2c_register_spd()
325 slot_count++; in i2c_register_spd()
356 dimm_count, slot_count); in i2c_register_spd()
358 if (slot_count > 4) { in i2c_register_spd()
388 for (n = 0; n < slot_count && dimm_count; n++) { in i2c_register_spd()
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_ca_en50221.c126 unsigned int slot_count; member
161 for (i = 0; i < ca->slot_count; i++) in dvb_ca_private_free()
1037 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_thread_update_delay()
1317 for (slot = 0; slot < ca->slot_count; slot++) in dvb_ca_en50221_thread()
1353 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_io_do_ioctl()
1373 caps->slot_num = ca->slot_count; in dvb_ca_en50221_io_do_ioctl()
1385 if ((slot >= ca->slot_count) || (slot < 0)) { in dvb_ca_en50221_io_do_ioctl()
1389 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_do_ioctl()
1470 if (slot >= ca->slot_count) in dvb_ca_en50221_io_write()
1472 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_write()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_link_encoder.c272 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
461 SAT_SLOT_COUNT, &state->slot_count[0]); in dcn31_hpo_dp_link_enc_read_state()
464 SAT_SLOT_COUNT, &state->slot_count[1]); in dcn31_hpo_dp_link_enc_read_state()
467 SAT_SLOT_COUNT, &state->slot_count[2]); in dcn31_hpo_dp_link_enc_read_state()
470 SAT_SLOT_COUNT, &state->slot_count[3]); in dcn31_hpo_dp_link_enc_read_state()
/linux-6.1.9/drivers/pci/hotplug/
Dibmphp_ebda.c63 static struct controller *alloc_ebda_hpc(u32 slot_count, u32 bus_count) in alloc_ebda_hpc() argument
73 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL); in alloc_ebda_hpc()
116 debug("%s - slot_count = %x\n", __func__, ptr->slot_count); in print_bus_info()
197 for (index = 0; index < hpc_ptr->slot_count; index++) { in print_ebda_hpc()
721 hpc_ptr->slot_count = slot_num; in ebda_rsrc_controller()
748 bus_info_ptr1->slot_count += 1; in ebda_rsrc_controller()
761 bus_info_ptr2->slot_count += 1; in ebda_rsrc_controller()
842 for (index = 0; index < hpc_ptr->slot_count; index++) { in ebda_rsrc_controller()
Dibmphp_core.c97 u8 slot_count = 0; in get_max_slots() local
101 slot_count = max(slot_count, slot_cur->number); in get_max_slots()
103 return slot_count; in get_max_slots()
Dibmphp.h240 u8 slot_count; member
722 u8 slot_count; member
/linux-6.1.9/sound/soc/generic/
Dsimple-card-utils.c172 dai->tdm_width_map[i].slot_count = *p++; in asoc_simple_parse_tdm_width_map()
415 int slot_width, slot_count; in asoc_simple_set_tdm() local
422 slot_count = simple_dai->slots; in asoc_simple_set_tdm()
430 slot_count = simple_dai->tdm_width_map[i].slot_count; in asoc_simple_set_tdm()
438 slot_count, in asoc_simple_set_tdm()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c142 dc_alloc->slot_count = target_payload->time_slots; in fill_dc_mst_payload_table_from_drm()
150 dc_alloc->slot_count = 0; in fill_dc_mst_payload_table_from_drm()
161 if (dc_alloc->vcp_id > 0 && dc_alloc->slot_count > 0) { in fill_dc_mst_payload_table_from_drm()
163 sa->slot_count = dc_alloc->slot_count; in fill_dc_mst_payload_table_from_drm()
/linux-6.1.9/include/media/
Ddvb_ca_en50221.h133 int slot_count);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_dpia.c43 mst_alloc_slots += table->stream_allocations[i].slot_count; in update_dpia_stream_allocation_table()
/linux-6.1.9/drivers/virt/nitro_enclaves/
Dne_pci_dev.h269 u64 slot_count; member
/linux-6.1.9/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h263 uint8_t slot_count; member
/linux-6.1.9/sound/soc/codecs/
Dcs35l45.h206 u8 slot_count; member
Dcs35l45.c377 cs35l45->slot_count, slot_multiple); in cs35l45_asp_hw_params()
392 cs35l45->slot_count = slots; in cs35l45_asp_set_tdm_slot()
/linux-6.1.9/lib/
Dmaple_tree.c1785 unsigned char slot_count) in mab_middle_node() argument
1789 if (size >= 2 * slot_count) in mab_middle_node()
1792 if (!b_node->slot[split] && (size >= 2 * slot_count - 1)) in mab_middle_node()
1807 unsigned char split, unsigned char slot_count) in mab_no_null_split() argument
1814 if ((split < slot_count - 1) && in mab_no_null_split()
1836 unsigned char slot_min, slot_count = mt_slots[bn->type]; in mab_calc_split() local
1865 if (unlikely(mab_middle_node(bn, split, slot_count))) { in mab_calc_split()
1877 while (((bn->pivot[split] - min) < slot_count - 1) && in mab_calc_split()
1878 (split < slot_count - 1) && (b_end - split > slot_min)) in mab_calc_split()
1883 split = mab_no_null_split(bn, split, slot_count); in mab_calc_split()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecards.c1506 u8 slot_count; in mlxsw_linecards_init() local
1516 NULL, &slot_count); in mlxsw_linecards_init()
1517 if (!slot_count) in mlxsw_linecards_init()
1520 linecards = vzalloc(struct_size(linecards, linecards, slot_count)); in mlxsw_linecards_init()
1523 linecards->count = slot_count; in mlxsw_linecards_init()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h273 uint32_t slot_count[4]; member
/linux-6.1.9/kernel/events/
Duprobes.c100 atomic_t slot_count; /* number of in-use slots */ member
1507 atomic_set(&area->slot_count, 1); in __create_xol_area()
1596 wait_event(area->wq, (atomic_read(&area->slot_count) < UINSNS_PER_PAGE)); in xol_take_insn_slot()
1600 atomic_inc(&area->slot_count); in xol_take_insn_slot()
1658 atomic_dec(&area->slot_count); in xol_free_insn_slot()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c3547 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
3556 work_table[i].slot_count = in update_mst_stream_alloc_table()
3557 proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
3675 proposed_table.stream_allocations[0].slot_count); in dc_link_update_sst_payload()
3764 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in dc_link_allocate_mst_payload()
3880 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in dc_link_reduce_mst_payload()
3947 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in dc_link_increase_mst_payload()
4065 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload()
4219 proposed_table.stream_allocations[i].slot_count = req_slot_count; in fpga_dp_hpo_enable_link_and_stream()
4229 proposed_table.stream_allocations[0].slot_count = req_slot_count; in fpga_dp_hpo_enable_link_and_stream()
/linux-6.1.9/include/sound/
Dsimple_card_utils.h21 u8 slot_count; member
/linux-6.1.9/fs/btrfs/
Dioctl.c3878 u64 slot_count = 0; in btrfs_ioctl_space_info() local
3903 slot_count++; in btrfs_ioctl_space_info()
3911 slot_count++; in btrfs_ioctl_space_info()
3915 space_args.total_spaces = slot_count; in btrfs_ioctl_space_info()
3919 slot_count = min_t(u64, space_args.space_slots, slot_count); in btrfs_ioctl_space_info()
3921 alloc_size = sizeof(*dest) * slot_count; in btrfs_ioctl_space_info()
3939 if (!slot_count) in btrfs_ioctl_space_info()
3960 slot_count--; in btrfs_ioctl_space_info()
3962 if (!slot_count) in btrfs_ioctl_space_info()
3971 if (slot_count) { in btrfs_ioctl_space_info()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_link.h59 uint8_t slot_count; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c1210 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1492 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
/linux-6.1.9/drivers/scsi/mpi3mr/mpi/
Dmpi30_cnfg.h659 u8 slot_count; member

12