Lines Matching refs:hdlc
61 static inline struct cisco_state *state(hdlc_device *hdlc) in state() argument
63 return (struct cisco_state *)hdlc->state; in state()
143 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local
144 struct cisco_state *st = state(hdlc); in cisco_rx()
268 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local
269 struct cisco_state *st = state(hdlc); in cisco_start()
284 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local
285 struct cisco_state *st = state(hdlc); in cisco_stop()
314 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_ioctl() local
326 if (copy_to_user(cisco_s, &state(hdlc)->settings, size)) in cisco_ioctl()
344 result = hdlc->attach(dev, ENCODING_NRZ, in cisco_ioctl()
354 memcpy(&state(hdlc)->settings, &new_settings, size); in cisco_ioctl()
355 spin_lock_init(&state(hdlc)->lock); in cisco_ioctl()