/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
D | isdnhdlc.c | 40 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_rcv_init() argument 42 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_rcv_init() 43 hdlc->state = HDLC_GET_DATA; in isdnhdlc_rcv_init() 45 hdlc->do_adapt56 = 1; in isdnhdlc_rcv_init() 47 hdlc->do_bitreverse = 1; in isdnhdlc_rcv_init() 51 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_out_init() argument 53 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_out_init() 55 hdlc->dchannel = 1; in isdnhdlc_out_init() 56 hdlc->state = HDLC_SEND_FIRST_FLAG; in isdnhdlc_out_init() 58 hdlc->dchannel = 0; in isdnhdlc_out_init() [all …]
|
D | avmfritz.c | 129 struct hdlc_hw hdlc[2]; member 261 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pci() argument 265 outl(hdlc->ctrl.ctrl, fc->addr + CHIP_WINDOW + HDLC_STATUS); in __write_ctrl_pci() 269 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pciv2() argument 270 outl(hdlc->ctrl.ctrl, fc->addr + (channel == 2 ? AVM_HDLC_STATUS_2 : in __write_ctrl_pciv2() 277 struct hdlc_hw *hdlc; in write_ctrl() local 279 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in write_ctrl() 281 which, hdlc->ctrl.ctrl); in write_ctrl() 284 __write_ctrl_pciv2(fc, hdlc, bch->nr); in write_ctrl() 287 __write_ctrl_pci(fc, hdlc, bch->nr); in write_ctrl() [all …]
|
D | isdnhdlc.h | 59 extern void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features); 61 extern int isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, 64 extern void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features); 66 extern int isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src,
|
D | hfcsusb.c | 807 int hdlc = 0; in hfcsusb_rx_frame() local 829 hdlc = 1; in hfcsusb_rx_frame() 848 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame() 853 hdlc = 1; in hfcsusb_rx_frame() 885 if (hdlc) { in hfcsusb_rx_frame() 1160 errcode, hdlc, i; in tx_iso_complete() local 1177 hdlc = 1; in tx_iso_complete() 1181 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete() 1182 if (!tx_skb && !hdlc && in tx_iso_complete() 1263 if (hdlc) { in tx_iso_complete()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | hdlc.c | 49 struct hdlc_device *hdlc; in hdlc_rcv() local 57 hdlc = dev_to_hdlc(dev); in hdlc_rcv() 64 BUG_ON(!hdlc->proto->netif_rx); in hdlc_rcv() 65 return hdlc->proto->netif_rx(skb); in hdlc_rcv() 70 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_start_xmit() local 72 if (hdlc->proto->xmit) in hdlc_start_xmit() 73 return hdlc->proto->xmit(skb, dev); in hdlc_start_xmit() 75 return hdlc->xmit(skb, dev); /* call hardware driver directly */ in hdlc_start_xmit() 80 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_proto_start() local 81 if (hdlc->proto->start) in hdlc_proto_start() [all …]
|
D | hdlc_fr.c | 169 static inline struct frad_state* state(hdlc_device *hdlc) in state() argument 171 return(struct frad_state *)(hdlc->state); in state() 175 static inline struct pvc_device *find_pvc(hdlc_device *hdlc, u16 dlci) in find_pvc() argument 177 struct pvc_device *pvc = state(hdlc)->first_pvc; in find_pvc() 193 hdlc_device *hdlc = dev_to_hdlc(dev); in add_pvc() local 194 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc; in add_pvc() 245 static inline void delete_unused_pvcs(hdlc_device *hdlc) in delete_unused_pvcs() argument 247 struct pvc_device **pvc_p = &state(hdlc)->first_pvc; in delete_unused_pvcs() 347 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_open() local 348 if (state(hdlc)->settings.lmi == LMI_NONE) in pvc_open() [all …]
|
D | hdlc_x25.c | 32 static struct x25_state *state(hdlc_device *hdlc) in state() argument 34 return hdlc->state; in state() 95 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_data_transmit() local 103 hdlc->xmit(skb, dev); /* Ignore return value :-( */ in x25_data_transmit() 110 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_xmit() local 111 struct x25_state *x25st = state(hdlc); in x25_xmit() 181 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_open() local 182 struct x25_state *x25st = state(hdlc); in x25_open() 194 if (state(hdlc)->settings.dce) in x25_open() 197 if (state(hdlc)->settings.modulo == 128) in x25_open() [all …]
|
D | hdlc_cisco.c | 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() [all …]
|
D | hdlc_raw.c | 41 hdlc_device *hdlc = dev_to_hdlc(dev); in raw_ioctl() local 53 if (copy_to_user(raw_s, hdlc->state, size)) in raw_ioctl() 73 result = hdlc->attach(dev, new_settings.encoding, in raw_ioctl() 82 memcpy(hdlc->state, &new_settings, size); in raw_ioctl()
|
D | hdlc_raw_eth.c | 56 hdlc_device *hdlc = dev_to_hdlc(dev); in raw_eth_ioctl() local 69 if (copy_to_user(raw_s, hdlc->state, size)) in raw_eth_ioctl() 89 result = hdlc->attach(dev, new_settings.encoding, in raw_eth_ioctl() 98 memcpy(hdlc->state, &new_settings, size); in raw_eth_ioctl()
|
D | c101.c | 308 hdlc_device *hdlc; in c101_run() local 365 hdlc = dev_to_hdlc(dev); in c101_run() 373 hdlc->attach = sca_attach; in c101_run() 374 hdlc->xmit = sca_xmit; in c101_run()
|
D | fsl_ucc_hdlc.c | 353 hdlc_device *hdlc = dev_to_hdlc(dev); in ucc_hdlc_tx() local 354 struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv; in ucc_hdlc_tx() 521 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_rx_done() local 591 if (hdlc->proto) in hdlc_rx_done() 708 hdlc_device *hdlc = dev_to_hdlc(dev); in uhdlc_open() local 709 struct ucc_hdlc_private *priv = hdlc->priv; in uhdlc_open() 1116 hdlc_device *hdlc; in ucc_hdlc_probe() local 1230 hdlc = dev_to_hdlc(dev); in ucc_hdlc_probe() 1234 hdlc->attach = ucc_hdlc_attach; in ucc_hdlc_probe() 1235 hdlc->xmit = ucc_hdlc_tx; in ucc_hdlc_probe()
|
D | Kconfig | 107 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 112 module will be called hdlc. 177 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 191 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 213 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 228 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 244 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 265 simply use "alias hdlc* farsync" to indicate all of them.
|
D | pci200syn.c | 382 hdlc_device *hdlc = dev_to_hdlc(dev); in pci200_pci_init_one() local 391 hdlc->attach = sca_attach; in pci200_pci_init_one() 392 hdlc->xmit = sca_xmit; in pci200_pci_init_one()
|
D | pc300too.c | 444 hdlc_device *hdlc = dev_to_hdlc(dev); in pc300_pci_init_one() local 453 hdlc->attach = sca_attach; in pc300_pci_init_one() 454 hdlc->xmit = sca_xmit; in pc300_pci_init_one()
|
D | n2.c | 450 hdlc_device *hdlc = dev_to_hdlc(dev); in n2_run() local 467 hdlc->attach = sca_attach; in n2_run() 468 hdlc->xmit = sca_xmit; in n2_run()
|
D | wanxl.c | 764 hdlc_device *hdlc; in wanxl_pci_init_one() local 775 hdlc = dev_to_hdlc(dev); in wanxl_pci_init_one() 779 hdlc->attach = wanxl_attach; in wanxl_pci_init_one() 780 hdlc->xmit = wanxl_xmit; in wanxl_pci_init_one()
|
D | Makefile | 9 obj-$(CONFIG_HDLC) += hdlc.o
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | dsp_core.c | 299 if (dsp->hdlc) { in dsp_control_req() 353 if (dsp->hdlc) { in dsp_control_req() 373 if (dsp->hdlc) { in dsp_control_req() 388 if (dsp->hdlc) { in dsp_control_req() 405 if (dsp->hdlc) { in dsp_control_req() 455 if (dsp->hdlc) { in dsp_control_req() 469 if (dsp->hdlc) { in dsp_control_req() 502 if (dsp->hdlc) { in dsp_control_req() 523 if (dsp->hdlc) { in dsp_control_req() 533 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() 1669 if (dsp->hdlc) 1707 if (member->dsp->hdlc) 1736 if (dsp->hdlc)
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | network.txt | 48 - fsl,ucc-hdlc 50 Properties for fsl,ucc-hdlc: 61 Definition : Specify that hdlc is based on tdm-interface 111 compatible = "fsl,ucc-hdlc"; 124 Example for hdlc without tdm interface: 127 compatible = "fsl,ucc-hdlc";
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | generic-hdlc.rst | 18 http://www.kernel.org/pub/linux/utils/net/hdlc/). 32 Make sure the hdlc.o and the hardware driver are loaded. It should 33 create a number of "hdlc" (hdlc0 etc) network devices, one for each 36 http://www.kernel.org/pub/linux/utils/net/hdlc/ 59 In Frame Relay mode, ifconfig master hdlc device up (without assigning 84 * hdlc - sets raw HDLC (IP-only) mode 92 * hdlc-eth - Ethernet device emulation using HDLC. Parity and encoding 170 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
|
D | index.rst | 56 generic-hdlc
|
/kernel/linux/linux-5.10/include/linux/ |
D | hdlc.h | 104 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_type_trans() local 109 if (hdlc->proto->type_trans) in hdlc_type_trans() 110 return hdlc->proto->type_trans(skb, dev); in hdlc_type_trans()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
D | kmcent2.dts | 330 device_type = "hdlc"; 331 compatible = "fsl,ucc-hdlc"; 334 fsl,hdlc-bus;
|