/drivers/isdn/i4l/ |
D | isdnhdlc.c | 53 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_rcv_init() argument 55 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_rcv_init() 56 hdlc->state = HDLC_GET_DATA; in isdnhdlc_rcv_init() 58 hdlc->do_adapt56 = 1; in isdnhdlc_rcv_init() 60 hdlc->do_bitreverse = 1; in isdnhdlc_rcv_init() 64 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_out_init() argument 66 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_out_init() 68 hdlc->dchannel = 1; in isdnhdlc_out_init() 69 hdlc->state = HDLC_SEND_FIRST_FLAG; in isdnhdlc_out_init() 71 hdlc->dchannel = 0; in isdnhdlc_out_init() [all …]
|
/drivers/net/wan/ |
D | hdlc.c | 60 struct hdlc_device *hdlc; in hdlc_rcv() local 68 hdlc = dev_to_hdlc(dev); in hdlc_rcv() 75 BUG_ON(!hdlc->proto->netif_rx); in hdlc_rcv() 76 return hdlc->proto->netif_rx(skb); in hdlc_rcv() 81 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_start_xmit() local 83 if (hdlc->proto->xmit) in hdlc_start_xmit() 84 return hdlc->proto->xmit(skb, dev); in hdlc_start_xmit() 86 return hdlc->xmit(skb, dev); /* call hardware driver directly */ in hdlc_start_xmit() 91 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_proto_start() local 92 if (hdlc->proto->start) in hdlc_proto_start() [all …]
|
D | hdlc_fr.c | 171 static inline struct frad_state* state(hdlc_device *hdlc) in state() argument 173 return(struct frad_state *)(hdlc->state); in state() 177 static inline struct pvc_device *find_pvc(hdlc_device *hdlc, u16 dlci) in find_pvc() argument 179 struct pvc_device *pvc = state(hdlc)->first_pvc; in find_pvc() 195 hdlc_device *hdlc = dev_to_hdlc(dev); in add_pvc() local 196 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc; in add_pvc() 247 static inline void delete_unused_pvcs(hdlc_device *hdlc) in delete_unused_pvcs() argument 249 struct pvc_device **pvc_p = &state(hdlc)->first_pvc; in delete_unused_pvcs() 358 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_open() local 359 if (state(hdlc)->settings.lmi == LMI_NONE) in pvc_open() [all …]
|
D | hdlc_cisco.c | 68 static inline struct cisco_state* state(hdlc_device *hdlc) in state() argument 70 return (struct cisco_state *)hdlc->state; in state() 157 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local 158 struct cisco_state *st = state(hdlc); in cisco_rx() 264 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_timer() local 265 struct cisco_state *st = state(hdlc); in cisco_timer() 289 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local 290 struct cisco_state *st = state(hdlc); in cisco_start() 308 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local 309 struct cisco_state *st = state(hdlc); in cisco_stop() [all …]
|
D | hdlc_raw.c | 44 hdlc_device *hdlc = dev_to_hdlc(dev); in raw_ioctl() local 56 if (copy_to_user(raw_s, hdlc->state, size)) in raw_ioctl() 76 result = hdlc->attach(dev, new_settings.encoding, in raw_ioctl() 85 memcpy(hdlc->state, &new_settings, size); in raw_ioctl()
|
D | hdlc_raw_eth.c | 59 hdlc_device *hdlc = dev_to_hdlc(dev); in raw_eth_ioctl() local 71 if (copy_to_user(raw_s, hdlc->state, size)) in raw_eth_ioctl() 91 result = hdlc->attach(dev, new_settings.encoding, in raw_eth_ioctl() 100 memcpy(hdlc->state, &new_settings, size); in raw_eth_ioctl()
|
D | hdlc_x25.c | 84 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_data_transmit() local 85 hdlc->xmit(skb, dev); /* Ignore return value :-( */ in x25_data_transmit() 192 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_ioctl() local 209 result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); in x25_ioctl()
|
D | c101.c | 313 hdlc_device *hdlc; in c101_run() local 370 hdlc = dev_to_hdlc(dev); in c101_run() 378 hdlc->attach = sca_attach; in c101_run() 379 hdlc->xmit = sca_xmit; in c101_run()
|
D | Kconfig | 106 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 111 module will be called hdlc. 176 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 190 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 212 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 227 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 243 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 264 simply use "alias hdlc* farsync" to indicate all of them.
|
D | pci200syn.c | 387 hdlc_device *hdlc = dev_to_hdlc(dev); in pci200_pci_init_one() local 396 hdlc->attach = sca_attach; in pci200_pci_init_one() 397 hdlc->xmit = sca_xmit; in pci200_pci_init_one()
|
D | pc300too.c | 448 hdlc_device *hdlc = dev_to_hdlc(dev); in pc300_pci_init_one() local 457 hdlc->attach = sca_attach; in pc300_pci_init_one() 458 hdlc->xmit = sca_xmit; in pc300_pci_init_one()
|
D | n2.c | 454 hdlc_device *hdlc = dev_to_hdlc(dev); in n2_run() local 471 hdlc->attach = sca_attach; in n2_run() 472 hdlc->xmit = sca_xmit; in n2_run()
|
D | wanxl.c | 769 hdlc_device *hdlc; in wanxl_pci_init_one() local 780 hdlc = dev_to_hdlc(dev); in wanxl_pci_init_one() 784 hdlc->attach = wanxl_attach; in wanxl_pci_init_one() 785 hdlc->xmit = wanxl_xmit; in wanxl_pci_init_one()
|
D | Makefile | 8 obj-$(CONFIG_HDLC) += hdlc.o
|
D | ixp4xx_hss.c | 1333 hdlc_device *hdlc; in hss_init_one() local 1350 hdlc = dev_to_hdlc(dev); in hss_init_one() 1351 hdlc->attach = hss_hdlc_attach; in hss_init_one() 1352 hdlc->xmit = hss_hdlc_xmit; in hss_init_one()
|
D | hdlc_ppp.c | 668 hdlc_device *hdlc = dev_to_hdlc(dev); in ppp_ioctl() local 688 result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); in ppp_ioctl()
|
D | farsync.c | 2496 hdlc_device *hdlc; in fst_add_one() local 2509 hdlc = dev_to_hdlc(dev); in fst_add_one() 2526 hdlc->attach = fst_attach; in fst_add_one() 2527 hdlc->xmit = fst_start_xmit; in fst_add_one()
|
D | dscc4.c | 922 hdlc_device *hdlc = dev_to_hdlc(d); in dscc4_found1() local 935 hdlc->xmit = dscc4_start_xmit; in dscc4_found1() 936 hdlc->attach = dscc4_hdlc_attach; in dscc4_found1()
|
/drivers/isdn/hisax/ |
D | avm_pci.c | 179 'A' + bcs->channel, which, bcs->hw.hdlc.ctrl.ctrl); in write_ctrl() 181 WriteHDLCPCI(bcs->cs, bcs->channel, HDLC_STATUS, bcs->hw.hdlc.ctrl.ctrl); in write_ctrl() 185 bcs->hw.hdlc.ctrl.sr.mode); in write_ctrl() 188 bcs->hw.hdlc.ctrl.sr.xml); in write_ctrl() 191 bcs->hw.hdlc.ctrl.sr.cmd); in write_ctrl() 199 int hdlc = bcs->channel; in modehdlc() local 203 'A' + hdlc, bcs->mode, mode, hdlc, bc); in modehdlc() 204 bcs->hw.hdlc.ctrl.ctrl = 0; in modehdlc() 213 bcs->hw.hdlc.ctrl.sr.cmd = HDLC_CMD_XRS | HDLC_CMD_RRS; in modehdlc() 214 bcs->hw.hdlc.ctrl.sr.mode = HDLC_MODE_TRANS; in modehdlc() [all …]
|
/drivers/isdn/hardware/mISDN/ |
D | avmfritz.c | 142 struct hdlc_hw hdlc[2]; member 274 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pci() argument 278 outl(hdlc->ctrl.ctrl, fc->addr + CHIP_WINDOW + HDLC_STATUS); in __write_ctrl_pci() 282 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pciv2() argument 283 outl(hdlc->ctrl.ctrl, fc->addr + (channel == 2 ? AVM_HDLC_STATUS_2 : in __write_ctrl_pciv2() 290 struct hdlc_hw *hdlc; in write_ctrl() local 292 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in write_ctrl() 294 which, hdlc->ctrl.ctrl); in write_ctrl() 297 __write_ctrl_pciv2(fc, hdlc, bch->nr); in write_ctrl() 300 __write_ctrl_pci(fc, hdlc, bch->nr); in write_ctrl() [all …]
|
D | hfcsusb.c | 821 int hdlc = 0; in hfcsusb_rx_frame() local 842 hdlc = 1; in hfcsusb_rx_frame() 861 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame() 866 hdlc = 1; in hfcsusb_rx_frame() 898 if (hdlc) { in hfcsusb_rx_frame() 1171 errcode, hdlc, i; in tx_iso_complete() local 1187 hdlc = 1; in tx_iso_complete() 1191 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete() 1192 if (!tx_skb && !hdlc && in tx_iso_complete() 1273 if (hdlc) { in tx_iso_complete()
|
/drivers/isdn/mISDN/ |
D | dsp_core.c | 301 if (dsp->hdlc) { in dsp_control_req() 355 if (dsp->hdlc) { in dsp_control_req() 375 if (dsp->hdlc) { in dsp_control_req() 390 if (dsp->hdlc) { in dsp_control_req() 407 if (dsp->hdlc) { in dsp_control_req() 457 if (dsp->hdlc) { in dsp_control_req() 471 if (dsp->hdlc) { in dsp_control_req() 504 if (dsp->hdlc) { in dsp_control_req() 525 if (dsp->hdlc) { in dsp_control_req() 535 if (dsp->hdlc) { in dsp_control_req() [all …]
|
D | dsp_cmx.c | 959 if (member->dsp->hdlc) in dsp_cmx_hardware() 1123 if (dsp->hdlc && !member->dsp->hdlc) { in dsp_cmx_conf() 1129 if (!dsp->hdlc && member->dsp->hdlc) { in dsp_cmx_conf() 1670 if (dsp->hdlc) 1708 if (member->dsp->hdlc) 1737 if (dsp->hdlc)
|
D | dsp.h | 187 int hdlc; /* if mode is hdlc */ member
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 4281 hdlc_device *hdlc; in hdlcdev_init() local 4301 hdlc = dev_to_hdlc(dev); in hdlcdev_init() 4302 hdlc->attach = hdlcdev_attach; in hdlcdev_init() 4303 hdlc->xmit = hdlcdev_xmit; in hdlcdev_init()
|