Lines Matching refs:radio_parms

187 	struct wl1271_radio_parms_cmd *radio_parms;  in wl1271_cmd_radio_parms()  local
194 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl1271_cmd_radio_parms()
195 if (!radio_parms) in wl1271_cmd_radio_parms()
198 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl1271_cmd_radio_parms()
203 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl1271_cmd_radio_parms()
205 memcpy(&radio_parms->dyn_params_2, in wl1271_cmd_radio_parms()
210 memcpy(&radio_parms->static_params_5, in wl1271_cmd_radio_parms()
213 memcpy(&radio_parms->dyn_params_5, in wl1271_cmd_radio_parms()
218 radio_parms, sizeof(*radio_parms)); in wl1271_cmd_radio_parms()
220 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl1271_cmd_radio_parms()
224 kfree(radio_parms); in wl1271_cmd_radio_parms()
231 struct wl128x_radio_parms_cmd *radio_parms; in wl128x_cmd_radio_parms() local
238 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl128x_cmd_radio_parms()
239 if (!radio_parms) in wl128x_cmd_radio_parms()
242 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl128x_cmd_radio_parms()
247 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl128x_cmd_radio_parms()
249 memcpy(&radio_parms->dyn_params_2, in wl128x_cmd_radio_parms()
254 memcpy(&radio_parms->static_params_5, in wl128x_cmd_radio_parms()
257 memcpy(&radio_parms->dyn_params_5, in wl128x_cmd_radio_parms()
261 radio_parms->fem_vendor_and_options = nvs->fem_vendor_and_options; in wl128x_cmd_radio_parms()
264 radio_parms, sizeof(*radio_parms)); in wl128x_cmd_radio_parms()
266 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl128x_cmd_radio_parms()
270 kfree(radio_parms); in wl128x_cmd_radio_parms()