Lines Matching refs:hdlc
10 #include <linux/hdlc.h>
61 static inline struct cisco_state *state(hdlc_device *hdlc)
63 return (struct cisco_state *)hdlc->state;
143 hdlc_device *hdlc = dev_to_hdlc(dev);
144 struct cisco_state *st = state(hdlc);
268 hdlc_device *hdlc = dev_to_hdlc(dev);
269 struct cisco_state *st = state(hdlc);
284 hdlc_device *hdlc = dev_to_hdlc(dev);
285 struct cisco_state *st = state(hdlc);
314 hdlc_device *hdlc = dev_to_hdlc(dev);
326 if (copy_to_user(cisco_s, &state(hdlc)->settings, size))
344 result = hdlc->attach(dev, ENCODING_NRZ,
354 memcpy(&state(hdlc)->settings, &new_settings, size);
355 spin_lock_init(&state(hdlc)->lock);