Lines Matching defs:state
32 static struct x25_state *state(hdlc_device *hdlc)
34 return hdlc->state;
111 struct x25_state *x25st = state(hdlc);
182 struct x25_state *x25st = state(hdlc);
194 if (state(hdlc)->settings.dce)
197 if (state(hdlc)->settings.modulo == 128)
200 params.window = state(hdlc)->settings.window;
201 params.t1 = state(hdlc)->settings.t1;
202 params.t2 = state(hdlc)->settings.t2;
203 params.n2 = state(hdlc)->settings.n2;
221 struct x25_state *x25st = state(hdlc);
236 struct x25_state *x25st = state(hdlc);
290 if (copy_to_user(x25_s, &state(hdlc)->settings, size))
340 memcpy(&state(hdlc)->settings, &new_settings, size);
341 state(hdlc)->up = false;
342 spin_lock_init(&state(hdlc)->up_lock);