Lines Matching refs:wid
140 u16 wid; in wilc_wlan_parse_response_frame() local
146 wid = get_unaligned_le16(info); in wilc_wlan_parse_response_frame()
148 switch (FIELD_GET(WILC_WID_TYPE, wid)) { in wilc_wlan_parse_response_frame()
150 while (cfg->b[i].id != WID_NIL && cfg->b[i].id != wid) in wilc_wlan_parse_response_frame()
153 if (cfg->b[i].id == wid) in wilc_wlan_parse_response_frame()
160 while (cfg->hw[i].id != WID_NIL && cfg->hw[i].id != wid) in wilc_wlan_parse_response_frame()
163 if (cfg->hw[i].id == wid) in wilc_wlan_parse_response_frame()
170 while (cfg->w[i].id != WID_NIL && cfg->w[i].id != wid) in wilc_wlan_parse_response_frame()
173 if (cfg->w[i].id == wid) in wilc_wlan_parse_response_frame()
180 while (cfg->s[i].id != WID_NIL && cfg->s[i].id != wid) in wilc_wlan_parse_response_frame()
183 if (cfg->s[i].id == wid) in wilc_wlan_parse_response_frame()
200 u32 wid, len; in wilc_wlan_parse_info_frame() local
202 wid = get_unaligned_le16(info); in wilc_wlan_parse_info_frame()
206 if (len == 1 && wid == WID_STATUS) { in wilc_wlan_parse_info_frame()
210 wl->cfg.b[i].id != wid) in wilc_wlan_parse_info_frame()
213 if (wl->cfg.b[i].id == wid) in wilc_wlan_parse_info_frame()
269 int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer, in wilc_wlan_cfg_get_val() argument
272 u8 type = FIELD_GET(WILC_WID_TYPE, wid); in wilc_wlan_cfg_get_val()
278 while (cfg->b[i].id != WID_NIL && cfg->b[i].id != wid) in wilc_wlan_cfg_get_val()
281 if (cfg->b[i].id == wid) { in wilc_wlan_cfg_get_val()
286 while (cfg->hw[i].id != WID_NIL && cfg->hw[i].id != wid) in wilc_wlan_cfg_get_val()
289 if (cfg->hw[i].id == wid) { in wilc_wlan_cfg_get_val()
294 while (cfg->w[i].id != WID_NIL && cfg->w[i].id != wid) in wilc_wlan_cfg_get_val()
297 if (cfg->w[i].id == wid) { in wilc_wlan_cfg_get_val()
302 while (cfg->s[i].id != WID_NIL && cfg->s[i].id != wid) in wilc_wlan_cfg_get_val()
305 if (cfg->s[i].id == wid) { in wilc_wlan_cfg_get_val()