/linux-6.3-rc2/drivers/isdn/hardware/mISDN/ |
A D | isdnhdlc.c | 62 hdlc->cbin = 0x7e; in isdnhdlc_out_init() 284 hdlc->crc = crc_ccitt_byte(hdlc->crc, in isdnhdlc_decode() 289 dst[hdlc->dstpos++] = hdlc->shift_reg; in isdnhdlc_decode() 300 if (hdlc->cbin == hdlc->ffvalue) { in isdnhdlc_decode() 403 hdlc->cbin = hdlc->ffvalue >> in isdnhdlc_encode() 421 hdlc->cbin++; in isdnhdlc_encode() 450 hdlc->cbin++; in isdnhdlc_encode() 467 hdlc->crc = crc_ccitt_byte(hdlc->crc, in isdnhdlc_encode() 498 hdlc->shift_reg = (hdlc->crc >> 8); in isdnhdlc_encode() 543 hdlc->bit_shift = 8-hdlc->data_bits; in isdnhdlc_encode() [all …]
|
A D | avmfritz.c | 129 struct hdlc_hw hdlc[2]; member 277 struct hdlc_hw *hdlc; in write_ctrl() local 279 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in write_ctrl() 339 struct hdlc_hw *hdlc; in modehdlc() local 342 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in modehdlc() 345 hdlc->ctrl.ctrl = 0; in modehdlc() 369 hdlc->ctrl.sr.cmd = 0; in modehdlc() 439 struct hdlc_hw *hdlc; in hdlc_fill_fifo() local 446 hdlc = &fc->hdlc[idx]; in hdlc_fill_fifo() 528 struct hdlc_hw *hdlc; in HDLC_irq() local [all …]
|
A 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,
|
A D | hfcsusb.c | 811 int hdlc = 0; in hfcsusb_rx_frame() local 833 hdlc = 1; in hfcsusb_rx_frame() 852 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame() 857 hdlc = 1; in hfcsusb_rx_frame() 889 if (hdlc) { in hfcsusb_rx_frame() 1164 errcode, hdlc, i; in tx_iso_complete() local 1181 hdlc = 1; in tx_iso_complete() 1185 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete() 1186 if (!tx_skb && !hdlc && in tx_iso_complete() 1267 if (hdlc) { in tx_iso_complete()
|
/linux-6.3-rc2/drivers/net/wan/ |
A D | hdlc.c | 98 hdlc_device *hdlc; in hdlc_device_event() local 124 hdlc->carrier = on; in hdlc_device_event() 126 if (!hdlc->open) in hdlc_device_event() 148 hdlc->carrier, hdlc->open); in hdlc_open() 151 if (!hdlc->proto) in hdlc_open() 170 hdlc->open = 1; in hdlc_open() 183 hdlc->carrier, hdlc->open); in hdlc_close() 188 hdlc->open = 0; in hdlc_close() 189 if (hdlc->carrier) in hdlc_close() 246 hdlc->carrier = 1; in hdlc_setup() [all …]
|
A D | hdlc_fr.c | 594 state(hdlc)->request = 0; in fr_timer() 619 if (state(hdlc)->n391cnt) in fr_timer() 620 state(hdlc)->n391cnt--; in fr_timer() 625 state(hdlc)->request = 1; in fr_timer() 724 state(hdlc)->n391cnt = 0; in fr_lmi_recv() 844 state(hdlc)->n391cnt = state(hdlc)->settings.n391; in fr_lmi_recv() 1005 state(hdlc)->request = 0; in fr_start() 1008 state(hdlc)->n391cnt = 0; in fr_start() 1009 state(hdlc)->txseq = state(hdlc)->rxseq = 0; in fr_start() 1011 state(hdlc)->dev = dev; in fr_start() [all …]
|
A D | hdlc_x25.c | 36 return hdlc->state; in state() 105 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_data_transmit() local 118 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_xmit() local 119 struct x25_state *x25st = state(hdlc); in x25_xmit() 189 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_open() local 202 if (state(hdlc)->settings.dce) in x25_open() 209 params.t1 = state(hdlc)->settings.t1; in x25_open() 210 params.t2 = state(hdlc)->settings.t2; in x25_open() 211 params.n2 = state(hdlc)->settings.n2; in x25_open() 226 hdlc_device *hdlc = dev_to_hdlc(dev); in x25_close() local [all …]
|
A D | hdlc_cisco.c | 61 static inline struct cisco_state *state(hdlc_device *hdlc) in state() argument 63 return (struct cisco_state *)hdlc->state; in state() 143 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_rx() local 144 struct cisco_state *st = state(hdlc); in cisco_rx() 268 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_start() local 269 struct cisco_state *st = state(hdlc); in cisco_start() 284 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_stop() local 285 struct cisco_state *st = state(hdlc); in cisco_stop() 314 hdlc_device *hdlc = dev_to_hdlc(dev); in cisco_ioctl() local 344 result = hdlc->attach(dev, ENCODING_NRZ, in cisco_ioctl() [all …]
|
A 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()
|
A 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()
|
A D | Kconfig | 35 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 40 module will be called hdlc. 105 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 119 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 141 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 156 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 172 <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 193 simply use "alias hdlc* farsync" to indicate all of them.
|
A D | c101.c | 302 hdlc_device *hdlc; in c101_run() local 359 hdlc = dev_to_hdlc(dev); in c101_run() 367 hdlc->attach = sca_attach; in c101_run() 368 hdlc->xmit = sca_xmit; in c101_run()
|
A D | fsl_ucc_hdlc.c | 352 hdlc_device *hdlc = dev_to_hdlc(dev); in ucc_hdlc_tx() local 353 struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv; in ucc_hdlc_tx() 522 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_rx_done() local 593 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() 1115 hdlc_device *hdlc; in ucc_hdlc_probe() local 1228 hdlc = dev_to_hdlc(dev); in ucc_hdlc_probe() 1232 hdlc->attach = ucc_hdlc_attach; in ucc_hdlc_probe() 1233 hdlc->xmit = ucc_hdlc_tx; in ucc_hdlc_probe()
|
A D | pci200syn.c | 370 hdlc_device *hdlc = dev_to_hdlc(dev); in pci200_pci_init_one() local 380 hdlc->attach = sca_attach; in pci200_pci_init_one() 381 hdlc->xmit = sca_xmit; in pci200_pci_init_one()
|
A D | pc300too.c | 431 hdlc_device *hdlc = dev_to_hdlc(dev); in pc300_pci_init_one() local 441 hdlc->attach = sca_attach; in pc300_pci_init_one() 442 hdlc->xmit = sca_xmit; in pc300_pci_init_one()
|
A D | n2.c | 437 hdlc_device *hdlc = dev_to_hdlc(dev); in n2_run() local 454 hdlc->attach = sca_attach; in n2_run() 455 hdlc->xmit = sca_xmit; in n2_run()
|
A D | Makefile | 9 obj-$(CONFIG_HDLC) += hdlc.o
|
A D | wanxl.c | 765 hdlc_device *hdlc; in wanxl_pci_init_one() local 777 hdlc = dev_to_hdlc(dev); in wanxl_pci_init_one() 781 hdlc->attach = wanxl_attach; in wanxl_pci_init_one() 782 hdlc->xmit = wanxl_xmit; in wanxl_pci_init_one()
|
/linux-6.3-rc2/drivers/isdn/mISDN/ |
A 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() 1072 ndsp->hdlc = 0; in dspcreate() [all …]
|
A 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)
|
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
A 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";
|
/linux-6.3-rc2/Documentation/networking/ |
A 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/>.
|
A D | index.rst | 55 generic-hdlc
|
/linux-6.3-rc2/include/linux/ |
A 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()
|
/linux-6.3-rc2/arch/powerpc/boot/dts/fsl/ |
A D | kmcent2.dts | 330 device_type = "hdlc"; 331 compatible = "fsl,ucc-hdlc"; 334 fsl,hdlc-bus;
|