/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_icm_pool.c | 36 u32 num_of_entries; member 173 chunk->ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init() 178 chunk->hw_ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init() 183 chunk->miss_list = kvmalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init() 207 mr_req_size = bucket->num_of_entries * bucket->entry_size; in dr_icm_chunks_create() 252 chunk->num_of_entries = bucket->num_of_entries; in dr_icm_chunks_create() 253 chunk->byte_size = chunk->num_of_entries * bucket->entry_size; in dr_icm_chunks_create() 305 bucket->num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(chunk_size); in dr_icm_bucket_init() 503 bucket->num_of_entries * sizeof(chunk->ste_arr[0])); in mlx5dr_icm_free_chunk() 505 bucket->num_of_entries * DR_STE_SIZE_REDUCED); in mlx5dr_icm_free_chunk()
|
D | dr_types.h | 792 u32 num_of_entries; member 829 int num_of_entries; in mlx5dr_icm_pool_chunk_size_to_byte() local 837 num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(chunk_size); in mlx5dr_icm_pool_chunk_size_to_byte() 839 return entry_size * num_of_entries; in mlx5dr_icm_pool_chunk_size_to_byte()
|
D | dr_ste.c | 119 if (htbl->chunk->num_of_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index() 132 index = crc32 & (htbl->chunk->num_of_entries - 1); in mlx5dr_ste_calc_hash_index() 313 mlx5dr_ste_set_hit_addr(hw_ste, chunk->icm_addr, chunk->num_of_entries); in dr_ste_always_hit_htbl() 523 mlx5dr_ste_set_hit_addr(hw_ste, chunk->icm_addr, chunk->num_of_entries); in mlx5dr_ste_set_hit_addr_by_next_htbl() 650 int num_of_entries; in dr_ste_set_ctrl() local 658 num_of_entries = mlx5dr_icm_pool_chunk_size_to_entries(htbl->chunk_size); in dr_ste_set_ctrl() 659 ctrl->increase_threshold = (num_of_entries + 1) / 2; in dr_ste_set_ctrl() 686 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 | 401 *num_stes = htbl->chunk->num_of_entries; in dr_get_tbl_copy_details()
|
/drivers/misc/habanalabs/ |
D | hw_queue.c | 110 struct hl_hw_queue *q, int num_of_entries, in ext_queue_sanity_checks() argument 120 if (free_slots_cnt < num_of_entries) { in ext_queue_sanity_checks() 122 q->hw_queue_id, num_of_entries); in ext_queue_sanity_checks() 134 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks() 136 num_of_entries, q->hw_queue_id); in ext_queue_sanity_checks() 137 atomic_add(num_of_entries, free_slots); in ext_queue_sanity_checks() 160 int num_of_entries) in int_queue_sanity_checks() argument 167 if (free_slots_cnt < num_of_entries) { in int_queue_sanity_checks() 169 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks()
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | processpptables.h | 40 unsigned long *num_of_entries);
|
D | processpptables.c | 866 unsigned long *num_of_entries) in pp_tables_get_num_of_entries() argument 878 *num_of_entries = (unsigned long)(pstate_arrays->ucNumEntries); in pp_tables_get_num_of_entries() 880 *num_of_entries = (unsigned long)(powerplay_table->ucNumStates); in pp_tables_get_num_of_entries()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 615 int *num_of_entries) in kfd_fill_gpu_cache_info() argument 682 *num_of_entries = 0; in kfd_fill_gpu_cache_info() 716 (*num_of_entries)++; in kfd_fill_gpu_cache_info() 731 pr_debug("Added [%d] GPU cache entries\n", *num_of_entries); in kfd_fill_gpu_cache_info()
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hardwaremanager.h | 373 uint32_t num_of_entries; member
|
D | smu71_discrete.h | 564 uint32_t num_of_entries; member
|
D | smu74_discrete.h | 631 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 | smu75_discrete.h | 660 uint32_t num_of_entries; member
|
/drivers/scsi/qla2xxx/ |
D | qla_nx2.h | 554 uint32_t num_of_entries; member
|
D | qla_nx.h | 987 uint32_t num_of_entries; member
|
D | qla_nx2.c | 3283 num_entry_hdr = tmplt_hdr->num_of_entries; in qla8044_collect_md_data()
|
D | qla_nx.c | 4203 no_entry_hdr = tmplt_hdr->num_of_entries; in qla82xx_md_collect()
|
/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 | 1309 u32 num_of_entries; member
|
/drivers/scsi/qla4xxx/ |
D | ql4_fw.h | 1427 uint32_t num_of_entries; member
|
D | ql4_init.c | 371 md_hdr->num_of_entries)); in qla4xxx_alloc_fw_dump()
|
D | ql4_nx.c | 3029 num_entry_hdr = tmplt_hdr->num_of_entries; in qla4_8xxx_collect_md_data()
|