Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/i2c/
Di2c-smbus.c317 int n, slot_count = 0, dimm_count = 0; in i2c_register_spd() local
323 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) { in i2c_register_spd()
324 slot_count++; in i2c_register_spd()
355 dimm_count, slot_count); in i2c_register_spd()
357 if (slot_count > 4) { in i2c_register_spd()
393 for (n = 0; n < slot_count && dimm_count; n++) { in i2c_register_spd()
/linux-6.6.21/drivers/media/dvb-core/
Ddvb_ca_en50221.c126 unsigned int slot_count; member
167 for (i = 0; i < ca->slot_count; i++) in dvb_ca_private_free()
1045 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_thread_update_delay()
1325 for (slot = 0; slot < ca->slot_count; slot++) in dvb_ca_en50221_thread()
1361 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_io_do_ioctl()
1381 caps->slot_num = ca->slot_count; in dvb_ca_en50221_io_do_ioctl()
1393 if ((slot >= ca->slot_count) || (slot < 0)) { in dvb_ca_en50221_io_do_ioctl()
1397 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_do_ioctl()
1478 if (slot >= ca->slot_count) in dvb_ca_en50221_io_write()
1480 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_write()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c70 proposed_table.stream_allocations[i].slot_count = req_slot_count; in dp_fpga_hpo_enable_link_and_stream()
80 proposed_table.stream_allocations[0].slot_count = req_slot_count; in dp_fpga_hpo_enable_link_and_stream()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_link_encoder.c274 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
463 SAT_SLOT_COUNT, &state->slot_count[0]); in dcn31_hpo_dp_link_enc_read_state()
466 SAT_SLOT_COUNT, &state->slot_count[1]); in dcn31_hpo_dp_link_enc_read_state()
469 SAT_SLOT_COUNT, &state->slot_count[2]); in dcn31_hpo_dp_link_enc_read_state()
472 SAT_SLOT_COUNT, &state->slot_count[3]); in dcn31_hpo_dp_link_enc_read_state()
/linux-6.6.21/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
720 u8 slot_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c178 dc_alloc->slot_count = target_payload->time_slots; in fill_dc_mst_payload_table_from_drm()
186 dc_alloc->slot_count = 0; in fill_dc_mst_payload_table_from_drm()
197 if (dc_alloc->vcp_id > 0 && dc_alloc->slot_count > 0) { in fill_dc_mst_payload_table_from_drm()
199 sa->slot_count = dc_alloc->slot_count; in fill_dc_mst_payload_table_from_drm()
237 old_payload->time_slots = dc_alloc->slot_count; in dm_helpers_construct_old_payload()
238 old_payload->pbn = dc_alloc->slot_count * pbn_per_slot; in dm_helpers_construct_old_payload()
/linux-6.6.21/include/media/
Ddvb_ca_en50221.h133 int slot_count);
/linux-6.6.21/sound/soc/generic/
Dsimple-card-utils.c151 dai->tdm_width_map[i].slot_count = *p++; in asoc_simple_parse_tdm_width_map()
395 int slot_width, slot_count; in asoc_simple_set_tdm() local
402 slot_count = simple_dai->slots; in asoc_simple_set_tdm()
410 slot_count = simple_dai->tdm_width_map[i].slot_count; in asoc_simple_set_tdm()
418 slot_count, in asoc_simple_set_tdm()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_dpia.c43 mst_alloc_slots += table->stream_allocations[i].slot_count; in update_dpia_stream_allocation_table()
/linux-6.6.21/drivers/virt/nitro_enclaves/
Dne_pci_dev.h269 u64 slot_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h242 uint8_t slot_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1202 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1211 work_table[i].slot_count = in update_mst_stream_alloc_table()
1212 proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1309 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload_with_temp_drm_wa()
1409 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload()
1491 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in allocate_mst_payload()
1588 proposed_table->stream_allocations[0].slot_count = req_slot_count; in write_128b_132b_sst_payload_allocation_table()
1716 proposed_table.stream_allocations[0].slot_count); in update_sst_payload()
1816 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_reduce_mst_payload()
1883 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_increase_mst_payload()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h221 uint32_t slot_count[4]; member
/linux-6.6.21/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.6.21/kernel/events/
Duprobes.c99 atomic_t slot_count; /* number of in-use slots */ member
1504 atomic_set(&area->slot_count, 1); in __create_xol_area()
1593 wait_event(area->wq, (atomic_read(&area->slot_count) < UINSNS_PER_PAGE)); in xol_take_insn_slot()
1597 atomic_inc(&area->slot_count); in xol_take_insn_slot()
1655 atomic_dec(&area->slot_count); in xol_free_insn_slot()
/linux-6.6.21/fs/btrfs/
Dioctl.c3012 u64 slot_count = 0; in btrfs_ioctl_space_info() local
3037 slot_count++; in btrfs_ioctl_space_info()
3045 slot_count++; in btrfs_ioctl_space_info()
3049 space_args.total_spaces = slot_count; in btrfs_ioctl_space_info()
3053 slot_count = min_t(u64, space_args.space_slots, slot_count); in btrfs_ioctl_space_info()
3055 alloc_size = sizeof(*dest) * slot_count; in btrfs_ioctl_space_info()
3073 if (!slot_count) in btrfs_ioctl_space_info()
3094 slot_count--; in btrfs_ioctl_space_info()
3096 if (!slot_count) in btrfs_ioctl_space_info()
3105 if (slot_count) { in btrfs_ioctl_space_info()
/linux-6.6.21/sound/soc/codecs/
Dcs35l45.h466 u8 slot_count; member
Dcs35l45.c602 cs35l45->slot_count, slot_multiple); in cs35l45_asp_hw_params()
617 cs35l45->slot_count = slots; in cs35l45_asp_set_tdm_slot()
/linux-6.6.21/include/sound/
Dsimple_card_utils.h21 u8 slot_count; member
/linux-6.6.21/lib/
Dmaple_tree.c1826 unsigned char slot_count) in mab_middle_node() argument
1830 if (size >= 2 * slot_count) in mab_middle_node()
1833 if (!b_node->slot[split] && (size >= 2 * slot_count - 1)) in mab_middle_node()
1848 unsigned char split, unsigned char slot_count) in mab_no_null_split() argument
1855 if ((split < slot_count - 1) && in mab_no_null_split()
1877 unsigned char slot_min, slot_count = mt_slots[bn->type]; in mab_calc_split() local
1906 if (unlikely(mab_middle_node(bn, split, slot_count))) { in mab_calc_split()
1918 while ((split < slot_count - 1) && in mab_calc_split()
1919 ((bn->pivot[split] - min) < slot_count - 1) && in mab_calc_split()
1925 split = mab_no_null_split(bn, split, slot_count); in mab_calc_split()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_types.h993 uint8_t slot_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c1209 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1489 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()

12