Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/x86/kernel/cpu/mtrr/
Dcyrix.c182 unsigned char arr, arr_type, arr_size; in cyrix_set_arr() local
191 for (arr_size = 0; size; arr_size++, size >>= 1) in cyrix_set_arr()
231 setCx86(arr + 2, (((unsigned char *)&base)[1]) | arr_size); in cyrix_set_arr()
/linux-6.1.9/drivers/cpufreq/
Damd-pstate-ut.c266 u32 i = 0, arr_size = ARRAY_SIZE(amd_pstate_ut_cases); in amd_pstate_ut_init() local
268 for (i = 0; i < arr_size; i++) { in amd_pstate_ut_init()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_cudbg.c107 u32 arr_size, void *buf, u32 *tot_size) in cxgb4_cudbg_collect_entity() argument
114 for (i = 0; i < arr_size; i++) { in cxgb4_cudbg_collect_entity()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c209 int arr_size = NUM_ELEMENTS(output_csc_matrix); in find_color_matrix() local
212 for (i = 0; i < arr_size; i++) in find_color_matrix()
/linux-6.1.9/Documentation/driver-api/media/drivers/ccs/
Dmk-ccs-regs200 sub arr_size($) { subroutine
222 my $size = arr_size($this);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c245 int arr_size; in dpp1_cm_set_output_csc_default() local
247 regval = find_color_matrix(colorspace, &arr_size); in dpp1_cm_set_output_csc_default()
428 int arr_size = sizeof(dpp_input_csc_matrix)/sizeof(struct dpp_input_csc_matrix); in dpp1_program_input_csc() local
440 for (i = 0; i < arr_size; i++) in dpp1_program_input_csc()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c534 int arr_size = sizeof(input_csc_matrix)/sizeof(struct input_csc_matrix); in program_input_csc() local
541 for (i = 0; i < arr_size; i++) in program_input_csc()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dhwmon.c150 u32 num_sensors_for_type, flags, num_active_sensor_types = 0, arr_size = 0, *curr_arr; in hl_build_hwmon_channel_info() local
170 arr_size++; in hl_build_hwmon_channel_info()
190 for (i = 0 ; i < arr_size ; i++) { in hl_build_hwmon_channel_info()
Dhabanalabs.h2565 #define hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument
2582 if (arr_size >= 64) \
2585 __elem_bitmask = BIT_ULL(arr_size) - 1; \
2589 for (__arr_idx = 0; __arr_idx < (arr_size); __arr_idx++) { \
2612 #define hl_poll_reg_array_timeout(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument
2614 hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \
2617 #define hl_poll_reg_array_timeout_elbi(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument
2619 hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \
/linux-6.1.9/drivers/platform/x86/intel/pmc/
Dcore.c1137 int index, idx, len = 32, bit_mask, arr_size; in pmc_core_lpm_display() local
1140 arr_size = pmc_core_lpm_get_arr_size(maps); in pmc_core_lpm_display()
1141 lpm_regs = kmalloc_array(arr_size, sizeof(*lpm_regs), GFP_KERNEL); in pmc_core_lpm_display()
1145 for (index = 0; index < arr_size; index++) { in pmc_core_lpm_display()
1150 for (idx = 0; idx < arr_size; idx++) { in pmc_core_lpm_display()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c1238 size_t arr_size = ARRAY_SIZE(mlxsw_sp_trap_policer_items_arr); in mlxsw_sp_trap_policer_items_arr_init() local
1248 if (arr_size > free_policers) { in mlxsw_sp_trap_policer_items_arr_init()
1261 elem_size * arr_size); in mlxsw_sp_trap_policer_items_arr_init()
1266 last_id = mlxsw_sp_trap_policer_items_arr[arr_size - 1].policer.id; in mlxsw_sp_trap_policer_items_arr_init()
1267 for (i = arr_size; i < trap->policers_count; i++) { in mlxsw_sp_trap_policer_items_arr_init()
Dspectrum_span.c1671 size_t arr_size = ARRAY_SIZE(mlxsw_sp1_span_entry_ops_arr); in mlxsw_sp1_span_init() local
1682 mlxsw_sp->span->span_entry_ops_arr_size = arr_size; in mlxsw_sp1_span_init()
1700 size_t arr_size = ARRAY_SIZE(mlxsw_sp2_span_entry_ops_arr); in mlxsw_sp2_span_init() local
1711 mlxsw_sp->span->span_entry_ops_arr_size = arr_size; in mlxsw_sp2_span_init()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c193 uint32_t arr_size; in mpc2_set_ocsc_default() local
202 regval = find_color_matrix(color_space, &arr_size); in mpc2_set_ocsc_default()
Ddcn20_dpp_cm.c245 int arr_size = sizeof(dpp_input_csc_matrix)/sizeof(struct dpp_input_csc_matrix); in dpp2_program_input_csc() local
257 for (i = 0; i < arr_size; i++) in dpp2_program_input_csc()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c210 u32 arr_size; member
217 .arr_size = ARRAY_SIZE(qede_forced_speed_##value), \
285 linkmode_set_bit_array(map->cap_arr, map->arr_size, map->caps); in qede_forced_speed_maps_init()
287 map->arr_size = 0; in qede_forced_speed_maps_init()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c75 u32 arr_size; member
82 .arr_size = ARRAY_SIZE(arr), \
225 linkmode_set_bit_array(map->cap_arr, map->arr_size, map->caps); in qed_mfw_speed_map_populate()
228 map->arr_size = 0; in qed_mfw_speed_map_populate()
Dqed_int.c1245 int arr_size; in qed_int_sp_dpc() local
1254 arr_size = ARRAY_SIZE(p_hwfn->p_sp_sb->pi_info_arr); in qed_int_sp_dpc()
1320 for (pi = 0; pi < arr_size; pi++) { in qed_int_sp_dpc()
Dqed_init_fw_funcs.c1189 #define ARR_REG_WR(dev, ptt, addr, arr, arr_size) \ argument
1193 for (i = 0; i < (arr_size); i++) \
Dqed_debug.c409 #define ARR_REG_WR(dev, ptt, addr, arr, arr_size) \ argument
411 for (i = 0; i < (arr_size); i++) \
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c62 int arr_size = sizeof(dpp_input_csc_matrix)/sizeof(struct dpp_input_csc_matrix); in dpp3_program_post_csc() local
74 for (i = 0; i < arr_size; i++) in dpp3_program_post_csc()
Ddcn30_mpc.c1280 uint32_t arr_size; in mpc3_set_ocsc_default() local
1290 regval = find_color_matrix(color_space, &arr_size); in mpc3_set_ocsc_default()
/linux-6.1.9/drivers/net/ethernet/ibm/ehea/
Dehea_main.c1426 int arr_size = sizeof(void *) * max_q_entries; in ehea_init_q_skba() local
1428 q_skba->arr = vzalloc(arr_size); in ehea_init_q_skba()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c1130 int arr_size, int val) in iwl_pcie_map_list() argument
1134 for (i = 0; i < arr_size; i++) { in iwl_pcie_map_list()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.c913 int i, k, arr_size; in cnic_alloc_context() local
917 arr_size = BNX2_MAX_CID / cp->cids_per_blk * in cnic_alloc_context()
919 cp->ctx_arr = kzalloc(arr_size, GFP_KERNEL); in cnic_alloc_context()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_0.c4921 struct soc15_reg_rlcg *entries, int arr_size) in gfx_v9_0_check_rlcg_range() argument
4929 for (i = 0; i < arr_size; i++) { in gfx_v9_0_check_rlcg_range()

12