Lines Matching refs:hdlc
10 #include <linux/hdlc.h>
66 static inline struct cisco_state* state(hdlc_device *hdlc)
68 return (struct cisco_state *)hdlc->state;
155 hdlc_device *hdlc = dev_to_hdlc(dev);
156 struct cisco_state *st = state(hdlc);
283 hdlc_device *hdlc = dev_to_hdlc(dev);
284 struct cisco_state *st = state(hdlc);
301 hdlc_device *hdlc = dev_to_hdlc(dev);
302 struct cisco_state *st = state(hdlc);
332 hdlc_device *hdlc = dev_to_hdlc(dev);
344 if (copy_to_user(cisco_s, &state(hdlc)->settings, size))
362 result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
371 memcpy(&state(hdlc)->settings, &new_settings, size);
372 spin_lock_init(&state(hdlc)->lock);