Lines Matching refs:old_state
103 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc() argument
112 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc()
127 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
144 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
151 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc()
189 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument
194 old_state, new_state); in __check_new_state()
206 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change() local
211 wimax_dev, new_state, old_state); in __wimax_state_change()
218 if (old_state == new_state) in __wimax_state_change()
222 wimax_dev, new_state, old_state, &header); in __wimax_state_change()
225 switch (old_state) { in __wimax_state_change()
227 __check_new_state(old_state, new_state, in __wimax_state_change()
231 __check_new_state(old_state, new_state, in __wimax_state_change()
237 __check_new_state(old_state, new_state, 1 << WIMAX_ST_DOWN); in __wimax_state_change()
240 __check_new_state(old_state, new_state, in __wimax_state_change()
245 __check_new_state(old_state, new_state, in __wimax_state_change()
250 __check_new_state(old_state, new_state, in __wimax_state_change()
258 __check_new_state(old_state, new_state, in __wimax_state_change()
266 __check_new_state(old_state, new_state, in __wimax_state_change()
274 __check_new_state(old_state, new_state, in __wimax_state_change()
323 wimax_dev, new_state, old_state); in __wimax_state_change()