Home
last modified time | relevance | path

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

12

/drivers/md/dm-vdo/indexer/
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()
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()
A Dopen-chapter.h41 unsigned int slot_count; member
/drivers/media/dvb-core/
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 …]
/drivers/i2c/
A Di2c-smbus.c377 int n, slot_count = 0, dimm_count = 0; in i2c_register_spd() local
384 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) { in i2c_register_spd()
385 slot_count++; in i2c_register_spd()
420 slot_count = min(slot_count, 8); in i2c_register_spd()
457 for (n = 0; n < slot_count && dimm_count; n++) { in i2c_register_spd()
/drivers/media/platform/amphion/
A Dvdec.c61 u32 slot_count; member
310 for (i = 0; i < vdec->slot_count; i++) { in vdec_attach_frame_store()
323 for (i = 0; i < vdec->slot_count; i++) { in vdec_attach_frame_store()
340 vdec->slot_count *= 2; in vdec_attach_frame_store()
350 if (!vdec->slots || !vdec->slot_count) in vdec_reset_frame_store()
867 for (i = 0; i < vdec->slot_count; i++) { in vdec_find_buffer()
1265 if (id >= vdec->slot_count) in vdec_release_curr_frame_store()
1431 if (!fs || fs->id >= vdec->slot_count) in vdec_evnet_rel_fs()
1436 if (fs->id >= vdec->slot_count) { in vdec_evnet_rel_fs()
1645 vdec->slot_count = 0; in vdec_cleanup()
[all …]
/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
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()
/drivers/pci/hotplug/
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()
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()
A Dibmphp.h241 u8 slot_count; member
721 u8 slot_count; member
/drivers/gpu/drm/imagination/
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()
A Dpvr_device.h265 u32 slot_count; member
/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c1277 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1286 work_table[i].slot_count = in update_mst_stream_alloc_table()
1287 proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1401 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload()
1481 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in allocate_mst_payload()
1577 proposed_table->stream_allocations[0].slot_count = req_slot_count; in write_128b_132b_sst_payload_allocation_table()
1705 proposed_table.stream_allocations[0].slot_count); in update_sst_payload()
1804 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_reduce_mst_payload()
1871 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_increase_mst_payload()
/drivers/gpu/drm/amd/display/amdgpu_dm/
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()
/drivers/virt/nitro_enclaves/
A Dne_pci_dev.h269 u64 slot_count; member
/drivers/gpu/drm/amd/display/include/
A Dlink_service_types.h252 uint8_t slot_count; member
/drivers/gpu/drm/panthor/
A Dpanthor_mmu.h51 u32 slot_count);
A Dpanthor_mmu.c2674 u32 slot_count) in panthor_vm_prepare_mapped_bos_resvs() argument
2679 ret = drm_gpuvm_prepare_vm(&vm->base, exec, slot_count); in panthor_vm_prepare_mapped_bos_resvs()
2683 return drm_gpuvm_prepare_objects(&vm->base, exec, slot_count); in panthor_vm_prepare_mapped_bos_resvs()
A Dpanthor_sched.c485 u32 slot_count; member
3151 if (queue->profiling.seqno == queue->profiling.slot_count) in queue_run_job()
3356 queue->profiling.slot_count = in group_create_queue()
3361 queue->profiling.slot_count * in group_create_queue()
/drivers/net/ethernet/mellanox/mlxsw/
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()
/drivers/gpu/drm/amd/display/dc/link/hwss/
A Dlink_hwss_dpia.c48 mst_alloc_slots += table->stream_allocations[i].slot_count; in update_dpia_stream_allocation_table()
/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dlink_encoder.h228 uint32_t slot_count[4]; member
/drivers/gpu/drm/amd/display/dc/
A Ddc_types.h1010 uint8_t slot_count; member
/drivers/gpu/drm/amd/display/dc/dio/dcn10/
A Ddcn10_link_encoder.c1215 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_link_encoder.c1492 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()

Completed in 94 milliseconds

12