Lines Matching refs:hdlc
66 static inline struct cisco_state* state(hdlc_device *hdlc) in state() argument
68 return (struct cisco_state *)hdlc->state; in state()
154 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local
155 struct cisco_state *st = state(hdlc); in cisco_rx()
282 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local
283 struct cisco_state *st = state(hdlc); in cisco_start()
300 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local
301 struct cisco_state *st = state(hdlc); in cisco_stop()
331 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_ioctl() local
343 if (copy_to_user(cisco_s, &state(hdlc)->settings, size)) in cisco_ioctl()
361 result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); in cisco_ioctl()
370 memcpy(&state(hdlc)->settings, &new_settings, size); in cisco_ioctl()
371 spin_lock_init(&state(hdlc)->lock); in cisco_ioctl()