Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/md/dm-vdo/indexer/
H A Dopen-chapter.c58 static inline size_t slots_size(size_t slot_count) in slots_size() argument
60 return sizeof(struct open_chapter_zone_slot) * slot_count; in slots_size()
69 size_t slot_count = (1 << bits_per(capacity * LOAD_RATIO)); in uds_make_open_chapter() local
71 result = vdo_allocate_extended(struct open_chapter_zone, slot_count, in uds_make_open_chapter()
77 open_chapter->slot_count = slot_count; in uds_make_open_chapter()
96 memset(open_chapter->slots, 0, slots_size(open_chapter->slot_count)); in uds_reset_open_chapter()
103 unsigned int slot_count = open_chapter->slot_count; in probe_chapter_slots() local
104 unsigned int slot = uds_name_to_hash_slot(name, slot_count); in probe_chapter_slots()
131 slot = (slot + attempts++) % slot_count; in probe_chapter_slots()
H A Dhash-utils.h61 unsigned int slot_count) in uds_name_to_hash_slot() argument
63 return (unsigned int) (uds_extract_chapter_index_bytes(name) % slot_count); in uds_name_to_hash_slot()
H A Dopen-chapter.h41 unsigned int slot_count; member
/linux-6.15/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c126 unsigned int slot_count; member
167 for (i = 0; i < ca->slot_count; i++) in dvb_ca_private_free()
1381 caps->slot_num = ca->slot_count; in dvb_ca_en50221_io_do_ioctl()
1478 if (slot >= ca->slot_count) in dvb_ca_en50221_io_write()
1550 int slot_count = 0; in dvb_ca_en50221_io_read_condition() local
1558 while ((slot_count < ca->slot_count) && (!found)) { in dvb_ca_en50221_io_read_condition()
1584 slot = (slot + 1) % ca->slot_count; in dvb_ca_en50221_io_read_condition()
1585 slot_count++; in dvb_ca_en50221_io_read_condition()
1879 if (slot_count < 1) in dvb_ca_en50221_init()
1891 ca->slot_count = slot_count; in dvb_ca_en50221_init()
[all …]
/linux-6.15/drivers/i2c/
H A Di2c-smbus.c377 int n, slot_count = 0, dimm_count = 0; in i2c_register_spd() local
383 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) { in i2c_register_spd()
384 slot_count++; in i2c_register_spd()
419 slot_count = min(slot_count, 8); in i2c_register_spd()
455 for (n = 0; n < slot_count && dimm_count; n++) { in i2c_register_spd()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
H A Ddcn31_hpo_dp_link_encoder.c274 *slots = stream_allocation->slot_count; in dcn31_fill_stream_allocation_row_info()
469 SAT_SLOT_COUNT, &state->slot_count[0]); in dcn31_hpo_dp_link_enc_read_state()
472 SAT_SLOT_COUNT, &state->slot_count[1]); in dcn31_hpo_dp_link_enc_read_state()
475 SAT_SLOT_COUNT, &state->slot_count[2]); in dcn31_hpo_dp_link_enc_read_state()
478 SAT_SLOT_COUNT, &state->slot_count[3]); in dcn31_hpo_dp_link_enc_read_state()
/linux-6.15/drivers/pci/hotplug/
H A 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()
H A 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()
H A Dibmphp.h241 u8 slot_count; member
721 u8 slot_count; member
/linux-6.15/include/media/
H A Ddvb_ca_en50221.h133 int slot_count);
/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_ccb.c201 return pvr_dev->kccb.slot_count - 1; in pvr_kccb_capacity()
227 used_count = wr_offset + pvr_dev->kccb.slot_count - rd_offset; in pvr_kccb_used_slot_count_locked()
524 pvr_dev->kccb.slot_count = 1 << ROGUE_FWIF_KCCB_NUMCMDS_LOG2_DEFAULT; in pvr_kccb_init()
H A Dpvr_device.h248 u32 slot_count; member
/linux-6.15/sound/soc/generic/
H A Dsimple-card-utils.c185 dai->tdm_width_map[i].slot_count = *p++; in simple_util_parse_tdm_width_map()
434 int slot_width, slot_count; in simple_set_tdm() local
441 slot_count = simple_dai->slots; in simple_set_tdm()
449 slot_count = simple_dai->tdm_width_map[i].slot_count; in simple_set_tdm()
457 slot_count, in simple_set_tdm()
/linux-6.15/drivers/virt/nitro_enclaves/
H A Dne_pci_dev.h269 u64 slot_count; member
/linux-6.15/drivers/gpu/drm/amd/display/include/
H A Dlink_service_types.h250 uint8_t slot_count; member
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c193 dc_alloc->slot_count = target_payload->time_slots; in fill_dc_mst_payload_table_from_drm()
201 dc_alloc->slot_count = 0; in fill_dc_mst_payload_table_from_drm()
212 if (dc_alloc->vcp_id > 0 && dc_alloc->slot_count > 0) { in fill_dc_mst_payload_table_from_drm()
214 sa->slot_count = dc_alloc->slot_count; in fill_dc_mst_payload_table_from_drm()
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c1276 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1285 work_table[i].slot_count = in update_mst_stream_alloc_table()
1286 proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1400 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload()
1480 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in allocate_mst_payload()
1576 proposed_table->stream_allocations[0].slot_count = req_slot_count; in write_128b_132b_sst_payload_allocation_table()
1704 proposed_table.stream_allocations[0].slot_count); in update_sst_payload()
1803 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_reduce_mst_payload()
1870 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_increase_mst_payload()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h52 u32 slot_count);
/linux-6.15/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dpia.c48 mst_alloc_slots += table->stream_allocations[i].slot_count; in update_dpia_stream_allocation_table()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c1507 u8 slot_count; in mlxsw_linecards_init() local
1517 NULL, &slot_count); in mlxsw_linecards_init()
1518 if (!slot_count) in mlxsw_linecards_init()
1521 linecards = vzalloc(struct_size(linecards, linecards, slot_count)); in mlxsw_linecards_init()
1524 linecards->count = slot_count; in mlxsw_linecards_init()
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dlink_encoder.h228 uint32_t slot_count[4]; member
/linux-6.15/sound/soc/codecs/
H A Dcs35l45.h497 u8 slot_count; member
/linux-6.15/include/sound/
H A Dsimple_card_utils.h21 u8 slot_count; member
/linux-6.15/fs/btrfs/
H A Dioctl.c2972 u64 slot_count = 0; in btrfs_ioctl_space_info() local
2997 slot_count++; in btrfs_ioctl_space_info()
3005 slot_count++; in btrfs_ioctl_space_info()
3009 space_args.total_spaces = slot_count; in btrfs_ioctl_space_info()
3013 slot_count = min_t(u64, space_args.space_slots, slot_count); in btrfs_ioctl_space_info()
3015 alloc_size = sizeof(*dest) * slot_count; in btrfs_ioctl_space_info()
3033 if (!slot_count) in btrfs_ioctl_space_info()
3054 slot_count--; in btrfs_ioctl_space_info()
3056 if (!slot_count) in btrfs_ioctl_space_info()
3065 if (slot_count) { in btrfs_ioctl_space_info()
/linux-6.15/lib/
H A Dmaple_tree.c1814 unsigned char slot_count) in mab_middle_node() argument
1818 if (size >= 2 * slot_count) in mab_middle_node()
1821 if (!b_node->slot[split] && (size >= 2 * slot_count - 1)) in mab_middle_node()
1836 unsigned char split, unsigned char slot_count) in mab_no_null_split() argument
1843 if ((split < slot_count - 1) && in mab_no_null_split()
1866 unsigned char slot_count = mt_slots[bn->type]; in mab_calc_split() local
1895 if (unlikely(mab_middle_node(bn, split, slot_count))) { in mab_calc_split()
1903 split = mab_no_null_split(bn, split, slot_count); in mab_calc_split()
1906 *mid_split = mab_no_null_split(bn, *mid_split, slot_count); in mab_calc_split()
2368 unsigned char slot_count = mt_slots[b_node->type]; in mas_mab_to_node() local
[all …]

12