/linux/arch/x86/kernel/cpu/mtrr/ |
A D | cyrix.c | 182 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/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_hw_sequencer.c | 211 int arr_size = NUM_ELEMENTS(output_csc_matrix); in find_color_matrix() local 214 for (i = 0; i < arr_size; i++) in find_color_matrix()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_cudbg.c | 107 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/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_dpp_cm.c | 245 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/Documentation/driver-api/media/drivers/ccs/ |
A D | mk-ccs-regs | 200 sub arr_size($) { subroutine 222 my $size = arr_size($this);
|
/linux/drivers/misc/habanalabs/common/ |
A D | hwmon.c | 23 arr_size = 0, *curr_arr; in hl_build_hwmon_channel_info() local 40 arr_size++; in hl_build_hwmon_channel_info() 59 for (i = 0 ; i < arr_size ; i++) { in hl_build_hwmon_channel_info()
|
/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_opp_csc_v.c | 534 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/drivers/platform/x86/intel/pmc/ |
A D | core.c | 1137 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/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_trap.c | 1238 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()
|
A D | spectrum_span.c | 1671 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/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_mpc.c | 193 uint32_t arr_size; in mpc2_set_ocsc_default() local 202 regval = find_color_matrix(color_space, &arr_size); in mpc2_set_ocsc_default()
|
A D | dcn20_dpp_cm.c | 245 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/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 206 u32 arr_size; member 213 .arr_size = ARRAY_SIZE(qede_forced_speed_##value), \ 281 linkmode_set_bit_array(map->cap_arr, map->arr_size, map->caps); in qede_forced_speed_maps_init() 283 map->arr_size = 0; in qede_forced_speed_maps_init()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_main.c | 75 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()
|
A D | qed_int.c | 1245 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()
|
A D | qed_init_fw_funcs.c | 1113 #define ARR_REG_WR(dev, ptt, addr, arr, arr_size) \ argument 1117 for (i = 0; i < (arr_size); i++) \
|
A D | qed_debug.c | 409 #define ARR_REG_WR(dev, ptt, addr, arr, arr_size) \ argument 411 for (i = 0; i < (arr_size); i++) \
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_mpc.c | 1280 uint32_t arr_size; in mpc3_set_ocsc_default() local 1290 regval = find_color_matrix(color_space, &arr_size); in mpc3_set_ocsc_default()
|
A D | dcn30_dpp.c | 63 int arr_size = sizeof(dpp_input_csc_matrix)/sizeof(struct dpp_input_csc_matrix); in dpp3_program_post_csc() local 75 for (i = 0; i < arr_size; i++) in dpp3_program_post_csc()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
A D | ehea_main.c | 1424 int arr_size = sizeof(void *) * max_q_entries; in ehea_init_q_skba() local 1426 q_skba->arr = vzalloc(arr_size); in ehea_init_q_skba()
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | trans.c | 1092 int arr_size, int val) in iwl_pcie_map_list() argument 1096 for (i = 0; i < arr_size; i++) { in iwl_pcie_map_list()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | cnic.c | 913 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/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt.c | 4341 int i, j, rc, size, arr_size; in bnxt_alloc_mem() local 4348 arr_size = L1_CACHE_ALIGN(sizeof(struct bnxt_napi *) * in bnxt_alloc_mem() 4351 bnapi = kzalloc(arr_size + size * bp->cp_nr_rings, GFP_KERNEL); in bnxt_alloc_mem() 4356 bnapi += arr_size; in bnxt_alloc_mem()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | gfx_v9_0.c | 5153 struct soc15_reg_rlcg *entries, int arr_size) in gfx_v9_0_check_rlcg_range() argument 5161 for (i = 0; i < arr_size; i++) { in gfx_v9_0_check_rlcg_range()
|
A D | gfx_v10_0.c | 8286 struct soc15_reg_rlcg *entries, int arr_size) in gfx_v10_0_check_rlcg_range() argument 8294 for (i = 0; i < arr_size; i++) { in gfx_v10_0_check_rlcg_range()
|