Home
last modified time | relevance | path

Searched refs:num_of_entries (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c107 struct hl_hw_queue *q, int num_of_entries, in ext_queue_sanity_checks() argument
117 if (free_slots_cnt < num_of_entries) { in ext_queue_sanity_checks()
119 q->hw_queue_id, num_of_entries); in ext_queue_sanity_checks()
131 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks()
133 num_of_entries, q->hw_queue_id); in ext_queue_sanity_checks()
134 atomic_add(num_of_entries, free_slots); in ext_queue_sanity_checks()
157 int num_of_entries) in int_queue_sanity_checks() argument
161 if (num_of_entries > q->int_queue_len) { in int_queue_sanity_checks()
164 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks()
171 if (free_slots_cnt < num_of_entries) { in int_queue_sanity_checks()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c36 u32 num_of_entries; member
183 chunk->ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
188 chunk->hw_ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
193 chunk->miss_list = kvmalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
215 mr_req_size = bucket->num_of_entries * bucket->entry_size; in dr_icm_chunks_create()
249 chunk->num_of_entries = bucket->num_of_entries; in dr_icm_chunks_create()
250 chunk->byte_size = chunk->num_of_entries * bucket->entry_size; in dr_icm_chunks_create()
302 bucket->num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(chunk_size); in dr_icm_bucket_init()
500 bucket->num_of_entries * sizeof(chunk->ste_arr[0])); in mlx5dr_icm_free_chunk()
502 bucket->num_of_entries * DR_STE_SIZE_REDUCED); in mlx5dr_icm_free_chunk()
Ddr_types.h811 u32 num_of_entries; member
871 int num_of_entries; in mlx5dr_icm_pool_chunk_size_to_byte() local
879 num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(chunk_size); in mlx5dr_icm_pool_chunk_size_to_byte()
881 return entry_size * num_of_entries; in mlx5dr_icm_pool_chunk_size_to_byte()
Ddr_ste.c127 if (htbl->chunk->num_of_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index()
140 index = crc32 & (htbl->chunk->num_of_entries - 1); in mlx5dr_ste_calc_hash_index()
328 mlx5dr_ste_set_hit_addr(hw_ste, chunk->icm_addr, chunk->num_of_entries); in dr_ste_always_hit_htbl()
538 mlx5dr_ste_set_hit_addr(hw_ste, chunk->icm_addr, chunk->num_of_entries); in mlx5dr_ste_set_hit_addr_by_next_htbl()
646 int num_of_entries; in dr_ste_set_ctrl() local
654 num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(htbl->chunk_size); in dr_ste_set_ctrl()
655 ctrl->increase_threshold = (num_of_entries + 1) / 2; in dr_ste_set_ctrl()
682 for (i = 0; i < chunk->num_of_entries; i++) { in mlx5dr_ste_htbl_alloc()
Ddr_rule.c441 new_htbl->chunk->num_of_entries); in dr_rule_rehash_htbl()
Ddr_send.c404 *num_stes = htbl->chunk->num_of_entries; in dr_get_tbl_copy_details()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocesspptables.h40 unsigned long *num_of_entries);
Dprocesspptables.c868 unsigned long *num_of_entries) in pp_tables_get_num_of_entries() argument
880 *num_of_entries = (unsigned long)(pstate_arrays->ucNumEntries); in pp_tables_get_num_of_entries()
882 *num_of_entries = (unsigned long)(powerplay_table->ucNumStates); in pp_tables_get_num_of_entries()
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c616 int *num_of_entries) in kfd_fill_gpu_cache_info() argument
691 *num_of_entries = 0; in kfd_fill_gpu_cache_info()
725 (*num_of_entries)++; in kfd_fill_gpu_cache_info()
740 pr_debug("Added [%d] GPU cache entries\n", *num_of_entries); in kfd_fill_gpu_cache_info()
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Dhardwaremanager.h373 uint32_t num_of_entries; member
Dsmu71_discrete.h564 uint32_t num_of_entries; member
Dsmu72_discrete.h631 uint32_t num_of_entries; member
Dsmu73_discrete.h666 uint32_t num_of_entries; member
Dsmu74_discrete.h631 uint32_t num_of_entries; member
Dsmu75_discrete.h660 uint32_t num_of_entries; member
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx2.h553 uint32_t num_of_entries; member
Dqla_nx.h986 uint32_t num_of_entries; member
Dqla_nx2.c3282 num_entry_hdr = tmplt_hdr->num_of_entries; in qla8044_collect_md_data()
Dqla_nx.c4157 no_entry_hdr = tmplt_hdr->num_of_entries; in qla82xx_md_collect()
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c2332 int num_of_entries, buff_level, e_cnt, esize; in netxen_parse_md_template() local
2347 num_of_entries = template_hdr->num_of_entries; in netxen_parse_md_template()
2356 for (e_cnt = 0, buff_level = 0; e_cnt < num_of_entries; e_cnt++) { in netxen_parse_md_template()
Dnetxen_nic.h1306 u32 num_of_entries; member
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_fw.h1426 uint32_t num_of_entries; member
Dql4_init.c368 md_hdr->num_of_entries)); in qla4xxx_alloc_fw_dump()
Dql4_nx.c3025 num_entry_hdr = tmplt_hdr->num_of_entries; in qla4_8xxx_collect_md_data()