Lines Matching refs:hdlc
11 #include <linux/hdlc.h>
32 static struct x25_state *state(hdlc_device *hdlc)
34 return hdlc->state;
95 hdlc_device *hdlc = dev_to_hdlc(dev);
103 hdlc->xmit(skb, dev); /* Ignore return value :-( */
110 hdlc_device *hdlc = dev_to_hdlc(dev);
111 struct x25_state *x25st = state(hdlc);
181 hdlc_device *hdlc = dev_to_hdlc(dev);
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;
220 hdlc_device *hdlc = dev_to_hdlc(dev);
221 struct x25_state *x25st = state(hdlc);
235 hdlc_device *hdlc = dev_to_hdlc(dev);
236 struct x25_state *x25st = state(hdlc);
277 hdlc_device *hdlc = dev_to_hdlc(dev);
290 if (copy_to_user(x25_s, &state(hdlc)->settings, size))
332 result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
340 memcpy(&state(hdlc)->settings, &new_settings, size);
341 state(hdlc)->up = false;
342 spin_lock_init(&state(hdlc)->up_lock);