Searched refs:cfg_arr (Results 1 – 2 of 2) sorted by relevance
/wlan-driver/platform/cnss2/ |
H A D | power.c | 1785 u32 cfg_arr_size = 0, *cfg_arr = NULL; in cnss_power_misc_params_init() local 1869 cfg_arr = kcalloc(cfg_arr_size, sizeof(*cfg_arr), GFP_KERNEL); in cnss_power_misc_params_init() 1870 if (cfg_arr) { in cnss_power_misc_params_init() 1873 cfg_arr, cfg_arr_size); in cnss_power_misc_params_init() 1876 plat_priv->on_chip_pmic_board_ids = cfg_arr; in cnss_power_misc_params_init()
|
H A D | main.c | 4057 u32 idx, i, j, cfg_arr_size, *cfg_arr = NULL; in cnss_register_bus_scale() local 4078 cfg_arr = kcalloc(cfg_arr_size, sizeof(*cfg_arr), GFP_KERNEL); in cnss_register_bus_scale() 4079 if (!cfg_arr) { in cnss_register_bus_scale() 4086 "qcom,bus-bw-cfg", cfg_arr, in cnss_register_bus_scale() 4136 bus_bw_info->cfg_table[i].avg_bw = cfg_arr[j]; in cnss_register_bus_scale() 4137 bus_bw_info->cfg_table[i].peak_bw = cfg_arr[j + 1]; in cnss_register_bus_scale() 4145 kfree(cfg_arr); in cnss_register_bus_scale() 4153 kfree(cfg_arr); in cnss_register_bus_scale()
|