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()
155 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local
156 struct cisco_state *st = state(hdlc); in cisco_rx()
283 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local
284 struct cisco_state *st = state(hdlc); in cisco_start()
301 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local
302 struct cisco_state *st = state(hdlc); in cisco_stop()
332 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_ioctl() local
344 if (copy_to_user(cisco_s, &state(hdlc)->settings, size)) in cisco_ioctl()
362 result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); in cisco_ioctl()
371 memcpy(&state(hdlc)->settings, &new_settings, size); in cisco_ioctl()
372 spin_lock_init(&state(hdlc)->lock); in cisco_ioctl()