Lines Matching refs:hdlc
68 static inline struct cisco_state* state(hdlc_device *hdlc) in state() argument
70 return (struct cisco_state *)hdlc->state; in state()
156 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local
157 struct cisco_state *st = state(hdlc); in cisco_rx()
263 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_timer() local
264 struct cisco_state *st = state(hdlc); in cisco_timer()
288 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local
289 struct cisco_state *st = state(hdlc); in cisco_start()
307 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local
308 struct cisco_state *st = state(hdlc); in cisco_stop()
338 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_ioctl() local
350 if (copy_to_user(cisco_s, &state(hdlc)->settings, size)) in cisco_ioctl()
368 result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); in cisco_ioctl()
377 memcpy(&state(hdlc)->settings, &new_settings, size); in cisco_ioctl()
378 spin_lock_init(&state(hdlc)->lock); in cisco_ioctl()