Lines Matching refs:wl

29 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl)  in wl1271_cmd_ext_radio_parms()  argument
32 struct wl12xx_priv *priv = wl->priv; in wl1271_cmd_ext_radio_parms()
36 if (!wl->nvs) in wl1271_cmd_ext_radio_parms()
55 ret = wl1271_cmd_test(wl, ext_radio_parms, sizeof(*ext_radio_parms), 0); in wl1271_cmd_ext_radio_parms()
63 int wl1271_cmd_general_parms(struct wl1271 *wl) in wl1271_cmd_general_parms() argument
67 &((struct wl1271_nvs_file *)wl->nvs)->general_params; in wl1271_cmd_general_parms()
68 struct wl12xx_priv *priv = wl->priv; in wl1271_cmd_general_parms()
72 if (!wl->nvs) in wl1271_cmd_general_parms()
89 if (wl->plt_mode == PLT_FEM_DETECT) in wl1271_cmd_general_parms()
98 ret = wl1271_cmd_test(wl, gen_parms, sizeof(*gen_parms), answer); in wl1271_cmd_general_parms()
114 if (wl->plt_mode == PLT_FEM_DETECT) in wl1271_cmd_general_parms()
115 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl1271_cmd_general_parms()
120 wl->plt_mode == PLT_FEM_DETECT ? in wl1271_cmd_general_parms()
130 int wl128x_cmd_general_parms(struct wl1271 *wl) in wl128x_cmd_general_parms() argument
134 &((struct wl128x_nvs_file *)wl->nvs)->general_params; in wl128x_cmd_general_parms()
135 struct wl12xx_priv *priv = wl->priv; in wl128x_cmd_general_parms()
139 if (!wl->nvs) in wl128x_cmd_general_parms()
156 if (wl->plt_mode == PLT_FEM_DETECT) in wl128x_cmd_general_parms()
166 ret = wl1271_cmd_test(wl, gen_parms, sizeof(*gen_parms), answer); in wl128x_cmd_general_parms()
182 if (wl->plt_mode == PLT_FEM_DETECT) in wl128x_cmd_general_parms()
183 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl128x_cmd_general_parms()
188 wl->plt_mode == PLT_FEM_DETECT ? in wl128x_cmd_general_parms()
198 int wl1271_cmd_radio_parms(struct wl1271 *wl) in wl1271_cmd_radio_parms() argument
200 struct wl1271_nvs_file *nvs = (struct wl1271_nvs_file *)wl->nvs; in wl1271_cmd_radio_parms()
205 if (!wl->nvs) in wl1271_cmd_radio_parms()
234 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl1271_cmd_radio_parms()
242 int wl128x_cmd_radio_parms(struct wl1271 *wl) in wl128x_cmd_radio_parms() argument
244 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; in wl128x_cmd_radio_parms()
249 if (!wl->nvs) in wl128x_cmd_radio_parms()
280 ret = wl1271_cmd_test(wl, radio_parms, sizeof(*radio_parms), 0); in wl128x_cmd_radio_parms()
288 int wl12xx_cmd_channel_switch(struct wl1271 *wl, in wl12xx_cmd_channel_switch() argument
312 ret = wl1271_cmd_send(wl, CMD_CHANNEL_SWITCH, cmd, sizeof(*cmd), 0); in wl12xx_cmd_channel_switch()