Searched refs:arr_sz (Results 1 – 7 of 7) sorted by relevance
| /drivers/memory/ |
| A D | of_memory.c | 110 u32 arr_sz = 0, i = 0; in of_get_ddr_timings() local 125 arr_sz++; in of_get_ddr_timings() 127 if (arr_sz) in of_get_ddr_timings() 128 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_get_ddr_timings() 145 *nr_frequencies = arr_sz; in of_get_ddr_timings() 261 u32 arr_sz = 0, i = 0; in of_lpddr3_get_ddr_timings() local 275 arr_sz++; in of_lpddr3_get_ddr_timings() 277 if (arr_sz) in of_lpddr3_get_ddr_timings() 278 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_lpddr3_get_ddr_timings() 295 *nr_frequencies = arr_sz; in of_lpddr3_get_ddr_timings()
|
| /drivers/scsi/ |
| A D | constants.c | 29 int arr_sz; member 265 int arr_sz, k; in scsi_opcode_sa_name() local 277 arr_sz = sa_name_ptr->arr_sz; in scsi_opcode_sa_name() 284 for (k = 0; k < arr_sz; ++k, ++arr) { in scsi_opcode_sa_name() 288 if (k < arr_sz) in scsi_opcode_sa_name()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | mld.h | 513 u8 arr_sz = ARRAY_SIZE(mld->fw_id_to_##_mac80211_type); \ 516 arr_sz = mld->fw->ucode_capa.num_stations; \ 519 arr_sz = mld->fw->ucode_capa.num_links; \ 520 for (int i = 0; i < arr_sz; i++) { \ 521 u8 idx = (i + rand) % arr_sz; \ 524 IWL_DEBUG_INFO(mld, "Allocated at index %d / %d\n", idx, arr_sz); \
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | vpe_6_1_fw_if.h | 163 #define VPE_DIR_CFG_CMD_HEADER(subop, arr_sz) \ argument 165 (((arr_sz) << VPE_DIR_CFG_HEADER_ARRAY_SIZE__SHIFT) & VPE_DIR_CFG_HEADER_ARRAY_SIZE_MASK))
|
| /drivers/media/platform/qcom/venus/ |
| A D | helpers.c | 343 size_t arr_sz, i; in venus_helper_intbufs_alloc() local 347 arr_sz = ARRAY_SIZE(intbuf_types_6xx); in venus_helper_intbufs_alloc() 350 arr_sz = ARRAY_SIZE(intbuf_types_4xx); in venus_helper_intbufs_alloc() 353 arr_sz = ARRAY_SIZE(intbuf_types_1xx); in venus_helper_intbufs_alloc() 357 for (i = 0; i < arr_sz; i++) { in venus_helper_intbufs_alloc()
|
| /drivers/scsi/bnx2fc/ |
| A D | bnx2fc_io.c | 222 int arr_sz = num_possible_cpus() + 1; in bnx2fc_cmd_mgr_alloc() local 244 cmgr->free_list = kcalloc(arr_sz, sizeof(*cmgr->free_list), in bnx2fc_cmd_mgr_alloc() 251 cmgr->free_list_lock = kcalloc(arr_sz, sizeof(*cmgr->free_list_lock), in bnx2fc_cmd_mgr_alloc() 262 for (i = 0; i < arr_sz; i++) { in bnx2fc_cmd_mgr_alloc()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_core.c | 74 #define FS_REQUIRED_CAPS(...) {.arr_sz = INIT_CAPS_ARRAY_SIZE(__VA_ARGS__), \ 151 size_t arr_sz; member 2928 for (i = 0; i < caps->arr_sz; i++) { in has_required_caps()
|
Completed in 41 milliseconds