Searched refs:hdlc (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/isdn/hardware/mISDN/
H A Disdnhdlc.c40 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) argument
42 memset(hdlc, 0, sizeof(struct isdnhdlc_vars));
43 hdlc->state = HDLC_GET_DATA;
45 hdlc->do_adapt56 = 1;
47 hdlc->do_bitreverse = 1;
51 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) argument
53 memset(hdlc, 0, sizeof(struct isdnhdlc_vars));
55 hdlc->dchannel = 1;
56 hdlc->state = HDLC_SEND_FIRST_FLAG;
58 hdlc
74 check_frame(struct isdnhdlc_vars *hdlc) argument
118 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) argument
341 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) argument
[all...]
H A Disdnhdlc.h3 * hdlc.h -- General purpose ISDN HDLC decoder.
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,
H A Davmfritz.c129 struct hdlc_hw hdlc[2]; member in struct:fritzcard
261 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { argument
265 outl(hdlc->ctrl.ctrl, fc->addr + CHIP_WINDOW + HDLC_STATUS);
269 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { argument
270 outl(hdlc->ctrl.ctrl, fc->addr + (channel == 2 ? AVM_HDLC_STATUS_2 :
277 struct hdlc_hw *hdlc; local
279 hdlc = &fc->hdlc[(bch->nr - 1) & 1];
280 pr_debug("%s: hdlc %c wr%x ctrl %x\n", fc->name, '@' + bch->nr,
281 which, hdlc
339 struct hdlc_hw *hdlc; local
439 struct hdlc_hw *hdlc; local
528 struct hdlc_hw *hdlc; local
[all...]
H A Dhfcsusb.c811 int hdlc = 0; local
833 hdlc = 1;
852 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags);
857 hdlc = 1;
889 if (hdlc) {
890 /* we have a complete hdlc packet */
1164 errcode, hdlc, i; local
1181 hdlc = 1;
1185 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags);
1186 if (!tx_skb && !hdlc
[all...]
/linux-master/drivers/net/wan/
H A Dhdlc.c25 #include <linux/hdlc.h>
48 struct hdlc_device *hdlc; local
56 hdlc = dev_to_hdlc(dev);
63 BUG_ON(!hdlc->proto->netif_rx);
64 return hdlc->proto->netif_rx(skb);
69 hdlc_device *hdlc = dev_to_hdlc(dev); local
71 if (hdlc->proto->xmit)
72 return hdlc->proto->xmit(skb, dev);
74 return hdlc->xmit(skb, dev); /* call hardware driver directly */
80 hdlc_device *hdlc local
88 hdlc_device *hdlc = dev_to_hdlc(dev); local
98 hdlc_device *hdlc; local
145 hdlc_device *hdlc = dev_to_hdlc(dev); local
180 hdlc_device *hdlc = dev_to_hdlc(dev); local
243 hdlc_device *hdlc = dev_to_hdlc(dev); local
299 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_fr.c35 #include <linux/hdlc.h>
162 static inline struct frad_state *state(hdlc_device *hdlc) argument
164 return (struct frad_state *)(hdlc->state);
167 static inline struct pvc_device *find_pvc(hdlc_device *hdlc, u16 dlci) argument
169 struct pvc_device *pvc = state(hdlc)->first_pvc;
184 hdlc_device *hdlc = dev_to_hdlc(dev); local
185 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc;
233 static inline void delete_unused_pvcs(hdlc_device *hdlc) argument
235 struct pvc_device **pvc_p = &state(hdlc)->first_pvc;
331 hdlc_device *hdlc local
347 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); local
458 hdlc_device *hdlc = dev_to_hdlc(dev); local
552 hdlc_device *hdlc = dev_to_hdlc(dev); local
586 hdlc_device *hdlc = dev_to_hdlc(dev); local
635 hdlc_device *hdlc = dev_to_hdlc(dev); local
892 hdlc_device *hdlc = dev_to_hdlc(frad); local
998 hdlc_device *hdlc = dev_to_hdlc(dev); local
1023 hdlc_device *hdlc = dev_to_hdlc(dev); local
1034 hdlc_device *hdlc = dev_to_hdlc(dev); local
1064 hdlc_device *hdlc = dev_to_hdlc(frad); local
1124 fr_del_pvc(hdlc_device *hdlc, unsigned int dlci, int type) argument
1153 hdlc_device *hdlc = dev_to_hdlc(frad); local
1189 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_x25.c11 #include <linux/hdlc.h>
34 static struct x25_state *state(hdlc_device *hdlc) argument
36 return hdlc->state;
105 hdlc_device *hdlc = dev_to_hdlc(dev); local
113 hdlc->xmit(skb, dev); /* Ignore return value :-( */
118 hdlc_device *hdlc = dev_to_hdlc(dev); local
119 struct x25_state *x25st = state(hdlc);
189 hdlc_device *hdlc = dev_to_hdlc(dev); local
190 struct x25_state *x25st = state(hdlc);
202 if (state(hdlc)
226 hdlc_device *hdlc = dev_to_hdlc(dev); local
240 hdlc_device *hdlc = dev_to_hdlc(dev); local
281 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_raw_eth.c12 #include <linux/hdlc.h>
56 hdlc_device *hdlc = dev_to_hdlc(dev); local
69 if (copy_to_user(raw_s, hdlc->state, size))
89 result = hdlc->attach(dev, new_settings.encoding,
98 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_raw.c10 #include <linux/hdlc.h>
41 hdlc_device *hdlc = dev_to_hdlc(dev); local
53 if (copy_to_user(raw_s, hdlc->state, size))
73 result = hdlc->attach(dev, new_settings.encoding,
82 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_cisco.c10 #include <linux/hdlc.h>
61 static inline struct cisco_state *state(hdlc_device *hdlc) argument
63 return (struct cisco_state *)hdlc->state;
143 hdlc_device *hdlc = dev_to_hdlc(dev); local
144 struct cisco_state *st = state(hdlc);
268 hdlc_device *hdlc = dev_to_hdlc(dev); local
269 struct cisco_state *st = state(hdlc);
284 hdlc_device *hdlc = dev_to_hdlc(dev); local
285 struct cisco_state *st = state(hdlc);
314 hdlc_device *hdlc local
[all...]
H A Dc101.c7 * For information see <https://www.kernel.org/pub/linux/utils/net/hdlc/>
25 #include <linux/hdlc.h>
302 hdlc_device *hdlc; local
359 hdlc = dev_to_hdlc(dev);
367 hdlc->attach = sca_attach;
368 hdlc->xmit = sca_xmit;
373 pr_warn("unable to register hdlc device\n");
H A Dpci200syn.c7 * For information see <https://www.kernel.org/pub/linux/utils/net/hdlc/>
28 #include <linux/hdlc.h>
370 hdlc_device *hdlc = dev_to_hdlc(dev); local
380 hdlc->attach = sca_attach;
381 hdlc->xmit = sca_xmit;
386 pr_err("unable to register hdlc device\n");
H A Dpc300too.c7 * For information see <https://www.kernel.org/pub/linux/utils/net/hdlc/>.
32 #include <linux/hdlc.h>
431 hdlc_device *hdlc = dev_to_hdlc(dev); local
441 hdlc->attach = sca_attach;
442 hdlc->xmit = sca_xmit;
452 pr_err("unable to register hdlc device\n");
H A DMakefile9 obj-$(CONFIG_HDLC) += hdlc.o
H A Dfsl_qmc_hdlc.c18 #include <linux/hdlc.h>
581 chan_param.hdlc.max_rx_buf_size = HDLC_MAX_MRU + 4 + 8;
582 chan_param.hdlc.max_rx_frame_size = HDLC_MAX_MRU + 4;
583 chan_param.hdlc.is_crc32 = qmc_hdlc->is_crc32;
595 ret = qmc_hdlc_recv_queue(qmc_hdlc, desc, chan_param.hdlc.max_rx_buf_size);
700 hdlc_device *hdlc; local
746 hdlc = dev_to_hdlc(qmc_hdlc->netdev);
747 hdlc->attach = qmc_hdlc_attach;
748 hdlc->xmit = qmc_hdlc_xmit;
754 dev_err_probe(dev, ret, "failed to register hdlc devic
[all...]
H A Dfsl_ucc_hdlc.c9 #include <linux/hdlc.h>
196 /* Alloc parameter ram for ucc hdlc */
201 dev_err(priv->dev, "Can not allocate MURAM for hdlc parameter.\n");
354 hdlc_device *hdlc = dev_to_hdlc(dev); local
355 struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv;
366 netdev_err(dev, "No enough space for hdlc head\n");
524 hdlc_device *hdlc = dev_to_hdlc(dev); local
595 if (hdlc->proto)
710 hdlc_device *hdlc = dev_to_hdlc(dev); local
711 struct ucc_hdlc_private *priv = hdlc
1123 hdlc_device *hdlc; local
[all...]
H A Dn2.c7 * For information see <https://www.kernel.org/pub/linux/utils/net/hdlc/>
31 #include <linux/hdlc.h>
437 hdlc_device *hdlc = dev_to_hdlc(dev); local
454 hdlc->attach = sca_attach;
455 hdlc->xmit = sca_xmit;
460 pr_warn("unable to register hdlc device\n");
H A Dwanxl.c27 #include <linux/hdlc.h>
765 hdlc_device *hdlc; local
777 hdlc = dev_to_hdlc(dev);
781 hdlc->attach = wanxl_attach;
782 hdlc->xmit = wanxl_xmit;
787 pr_err("%s: unable to register hdlc device\n",
/linux-master/include/linux/
H A Dhdlc.h13 #include <linux/hdlc/ioctl.h>
14 #include <uapi/linux/hdlc.h>
54 /* Exported from hdlc module */
104 hdlc_device *hdlc = dev_to_hdlc(dev); local
109 if (hdlc->proto->type_trans)
110 return hdlc->proto->type_trans(skb, dev);
/linux-master/drivers/isdn/mISDN/
H A Ddsp_core.c150 * Conference cannot join, if one member is not hdlc.
299 if (dsp->hdlc) {
353 if (dsp->hdlc) {
373 if (dsp->hdlc) {
388 if (dsp->hdlc) {
405 if (dsp->hdlc) {
455 if (dsp->hdlc) {
469 if (dsp->hdlc) {
502 if (dsp->hdlc) {
523 if (dsp->hdlc) {
[all...]
H A Ddsp.h187 int hdlc; /* if mode is hdlc */ member in struct:dsp
H A Ddsp_cmx.c947 /* in case of hdlc, change to software */
948 if (member->dsp->hdlc)
1112 if (dsp->hdlc && !member->dsp->hdlc) {
1118 if (!dsp->hdlc && member->dsp->hdlc) {
1121 "cannot join hdlc conference.\n");
1658 if (dsp->hdlc)
1693 /* check for hdlc conf */
1696 if (member->dsp->hdlc)
[all...]
/linux-master/include/soc/fsl/qe/
H A Dqmc.h60 } hdlc; member in union:qmc_chan_param::__anon3260
/linux-master/include/uapi/linux/
H A Dif.h37 #include <linux/hdlc/ioctl.h>
142 /* For definitions see hdlc.h */
151 /* For definitions see hdlc.h */
/linux-master/usr/include/
H A DMakefile32 no-header-test += linux/hdlc/ioctl.h

Completed in 300 milliseconds

12