Home
last modified time | relevance | path

Searched refs:hdlc (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/isdn/hardware/mISDN/
A Disdnhdlc.c62 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 Davmfritz.c129 struct hdlc_hw hdlc[2]; member
278 struct hdlc_hw *hdlc; in write_ctrl() local
280 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in write_ctrl()
340 struct hdlc_hw *hdlc; in modehdlc() local
343 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in modehdlc()
346 hdlc->ctrl.ctrl = 0; in modehdlc()
370 hdlc->ctrl.sr.cmd = 0; in modehdlc()
440 struct hdlc_hw *hdlc; in hdlc_fill_fifo() local
447 hdlc = &fc->hdlc[idx]; in hdlc_fill_fifo()
529 struct hdlc_hw *hdlc; in HDLC_irq() local
[all …]
A Disdnhdlc.h59 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,
/linux/drivers/net/wan/
A Dhdlc.c98 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 Dhdlc_fr.c594 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 Dhdlc_x25.c36 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 Dhdlc_cisco.c61 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 Dhdlc_raw.c41 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 Dhdlc_raw_eth.c56 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 DKconfig35 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
40 module will be called hdlc.
107 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
121 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
143 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
158 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
174 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
195 simply use "alias hdlc* farsync" to indicate all of them.
A Dfsl_qmc_hdlc.c594 chan_param.hdlc.max_rx_buf_size = HDLC_MAX_MRU + 4 + 8; in qmc_hdlc_open()
595 chan_param.hdlc.max_rx_frame_size = HDLC_MAX_MRU + 4; in qmc_hdlc_open()
596 chan_param.hdlc.is_crc32 = qmc_hdlc->is_crc32; in qmc_hdlc_open()
608 ret = qmc_hdlc_recv_queue(qmc_hdlc, desc, chan_param.hdlc.max_rx_buf_size); in qmc_hdlc_open()
713 hdlc_device *hdlc; in qmc_hdlc_probe() local
759 hdlc = dev_to_hdlc(qmc_hdlc->netdev); in qmc_hdlc_probe()
760 hdlc->attach = qmc_hdlc_attach; in qmc_hdlc_probe()
761 hdlc->xmit = qmc_hdlc_xmit; in qmc_hdlc_probe()
A Dc101.c302 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 Dfsl_ucc_hdlc.c354 hdlc_device *hdlc = dev_to_hdlc(dev); in ucc_hdlc_tx() local
355 struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv; in ucc_hdlc_tx()
524 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_rx_done() local
595 if (hdlc->proto) in hdlc_rx_done()
710 hdlc_device *hdlc = dev_to_hdlc(dev); in uhdlc_open() local
711 struct ucc_hdlc_private *priv = hdlc->priv; in uhdlc_open()
1123 hdlc_device *hdlc; in ucc_hdlc_probe() local
1231 hdlc = dev_to_hdlc(dev); in ucc_hdlc_probe()
1235 hdlc->attach = ucc_hdlc_attach; in ucc_hdlc_probe()
1236 hdlc->xmit = ucc_hdlc_tx; in ucc_hdlc_probe()
A Dpci200syn.c370 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 Dpc300too.c431 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 Dn2.c437 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 DMakefile9 obj-$(CONFIG_HDLC) += hdlc.o
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
A Dfsl,cpm1-scc-qmc.yaml78 enum: [transparent, hdlc]
82 - hdlc: The channel handles HDLC frames
107 - fsl,mpc885-scc-qmc-hdlc
108 - fsl,mpc866-scc-qmc-hdlc
109 - const: fsl,cpm1-scc-qmc-hdlc
110 - const: fsl,qmc-hdlc
125 const: fsl,qmc-hdlc
184 compatible = "fsl,mpc885-scc-qmc-hdlc",
185 "fsl,cpm1-scc-qmc-hdlc",
186 "fsl,qmc-hdlc";
[all …]
A Dfsl,qe-ucc-qmc.yaml78 - fsl,mpc8321-ucc-qmc-hdlc
79 - const: fsl,qe-ucc-qmc-hdlc
80 - const: fsl,qmc-hdlc
90 enum: [transparent, hdlc]
94 - hdlc: The channel handles HDLC frames
129 const: fsl,qmc-hdlc
188 compatible = "fsl,mpc8321-ucc-qmc-hdlc",
189 "fsl,qe-ucc-qmc-hdlc",
190 "fsl,qmc-hdlc";
192 fsl,operational-mode = "hdlc";
A Dfsl,ucc-hdlc.yaml4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml#
16 const: fsl,ucc-hdlc
41 description: Specify that hdlc is based on tdm-interface
120 compatible = "fsl,ucc-hdlc";
136 compatible = "fsl,ucc-hdlc";
/linux/drivers/isdn/mISDN/
A Ddsp_core.c300 if (dsp->hdlc) { in dsp_control_req()
354 if (dsp->hdlc) { in dsp_control_req()
374 if (dsp->hdlc) { in dsp_control_req()
389 if (dsp->hdlc) { in dsp_control_req()
406 if (dsp->hdlc) { in dsp_control_req()
456 if (dsp->hdlc) { in dsp_control_req()
470 if (dsp->hdlc) { in dsp_control_req()
503 if (dsp->hdlc) { in dsp_control_req()
524 if (dsp->hdlc) { in dsp_control_req()
1073 ndsp->hdlc = 0; in dspcreate()
[all …]
/linux/Documentation/networking/
A Dgeneric-hdlc.rst18 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/>.
/linux/include/linux/
A Dhdlc.h104 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/arch/powerpc/boot/dts/fsl/
A Dkmcent2.dts330 device_type = "hdlc";
331 compatible = "fsl,ucc-hdlc";
334 fsl,hdlc-bus;
/linux/include/soc/fsl/qe/
A Dqmc.h81 } hdlc; member

Completed in 632 milliseconds

12