Lines Matching refs:radio_parms
201 struct wl1271_radio_parms_cmd *radio_parms; in wl1271_cmd_radio_parms() local
208 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl1271_cmd_radio_parms()
209 if (!radio_parms) in wl1271_cmd_radio_parms()
212 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl1271_cmd_radio_parms()
217 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl1271_cmd_radio_parms()
219 memcpy(&radio_parms->dyn_params_2, in wl1271_cmd_radio_parms()
224 memcpy(&radio_parms->static_params_5, in wl1271_cmd_radio_parms()
227 memcpy(&radio_parms->dyn_params_5, in wl1271_cmd_radio_parms()
232 radio_parms, sizeof(*radio_parms)); in wl1271_cmd_radio_parms()
234 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl1271_cmd_radio_parms()
238 kfree(radio_parms); in wl1271_cmd_radio_parms()
245 struct wl128x_radio_parms_cmd *radio_parms; in wl128x_cmd_radio_parms() local
252 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl128x_cmd_radio_parms()
253 if (!radio_parms) in wl128x_cmd_radio_parms()
256 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl128x_cmd_radio_parms()
261 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl128x_cmd_radio_parms()
263 memcpy(&radio_parms->dyn_params_2, in wl128x_cmd_radio_parms()
268 memcpy(&radio_parms->static_params_5, in wl128x_cmd_radio_parms()
271 memcpy(&radio_parms->dyn_params_5, in wl128x_cmd_radio_parms()
275 radio_parms->fem_vendor_and_options = nvs->fem_vendor_and_options; in wl128x_cmd_radio_parms()
278 radio_parms, sizeof(*radio_parms)); in wl128x_cmd_radio_parms()
280 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl128x_cmd_radio_parms()
284 kfree(radio_parms); in wl128x_cmd_radio_parms()