/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | hw_queue.c | 107 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/ |
D | dr_icm_pool.c | 36 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()
|
D | dr_types.h | 811 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()
|
D | dr_ste.c | 127 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()
|
D | dr_rule.c | 441 new_htbl->chunk->num_of_entries); in dr_rule_rehash_htbl()
|
D | dr_send.c | 404 *num_stes = htbl->chunk->num_of_entries; in dr_get_tbl_copy_details()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | processpptables.h | 40 unsigned long *num_of_entries);
|
D | processpptables.c | 868 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/ |
D | kfd_crat.c | 616 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/ |
D | hardwaremanager.h | 373 uint32_t num_of_entries; member
|
D | smu71_discrete.h | 564 uint32_t num_of_entries; member
|
D | smu72_discrete.h | 631 uint32_t num_of_entries; member
|
D | smu73_discrete.h | 666 uint32_t num_of_entries; member
|
D | smu74_discrete.h | 631 uint32_t num_of_entries; member
|
D | smu75_discrete.h | 660 uint32_t num_of_entries; member
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_nx2.h | 553 uint32_t num_of_entries; member
|
D | qla_nx.h | 986 uint32_t num_of_entries; member
|
D | qla_nx2.c | 3282 num_entry_hdr = tmplt_hdr->num_of_entries; in qla8044_collect_md_data()
|
D | qla_nx.c | 4157 no_entry_hdr = tmplt_hdr->num_of_entries; in qla82xx_md_collect()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 2332 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()
|
D | netxen_nic.h | 1306 u32 num_of_entries; member
|
/Linux-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_fw.h | 1426 uint32_t num_of_entries; member
|
D | ql4_init.c | 368 md_hdr->num_of_entries)); in qla4xxx_alloc_fw_dump()
|
D | ql4_nx.c | 3025 num_entry_hdr = tmplt_hdr->num_of_entries; in qla4_8xxx_collect_md_data()
|