Lines Matching defs:state
161 struct cw1200_suspend_state *state;
209 /* Allocate state */
210 state = kzalloc(sizeof(struct cw1200_suspend_state), GFP_KERNEL);
211 if (!state)
218 state->prev_ps_mode = priv->powersave_mode.mode;
228 state->bss_loss_tmo =
230 state->join_tmo =
232 state->direct_probe =
234 state->link_id_gc =
244 state->beacon_skipping = true;
258 /* Store suspend state */
259 pm_state->suspend_state = state;
282 state->bss_loss_tmo);
284 state->join_tmo);
286 state->direct_probe);
288 state->link_id_gc);
290 kfree(state);
306 struct cw1200_suspend_state *state;
308 state = pm_state->suspend_state;
325 priv->powersave_mode.mode = state->prev_ps_mode;
329 if (state->beacon_skipping) {
334 state->beacon_skipping = false;
339 state->bss_loss_tmo);
341 state->join_tmo);
343 state->direct_probe);
345 state->link_id_gc);
360 kfree(state);