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

12

/drivers/isdn/i4l/
H A Disdnhdlc.c28 #include <linux/isdn/hdlc.h>
53 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) argument
55 memset(hdlc, 0, sizeof(struct isdnhdlc_vars));
56 hdlc->state = HDLC_GET_DATA;
58 hdlc->do_adapt56 = 1;
60 hdlc->do_bitreverse = 1;
64 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) argument
66 memset(hdlc, 0, sizeof(struct isdnhdlc_vars));
68 hdlc->dchannel = 1;
69 hdlc
87 check_frame(struct isdnhdlc_vars *hdlc) argument
131 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) argument
354 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) argument
[all...]
/drivers/net/wan/
H A Dhdlc.c28 #include <linux/hdlc.h>
60 struct hdlc_device *hdlc = dev_to_hdlc(dev); local
67 BUG_ON(!hdlc->proto->netif_rx);
68 return hdlc->proto->netif_rx(skb);
73 hdlc_device *hdlc = dev_to_hdlc(dev); local
75 if (hdlc->proto->xmit)
76 return hdlc->proto->xmit(skb, dev);
78 return hdlc->xmit(skb, dev); /* call hardware driver directly */
83 hdlc_device *hdlc = dev_to_hdlc(dev); local
84 if (hdlc
92 hdlc_device *hdlc = dev_to_hdlc(dev); local
103 hdlc_device *hdlc; local
152 hdlc_device *hdlc = dev_to_hdlc(dev); local
186 hdlc_device *hdlc = dev_to_hdlc(dev); local
248 hdlc_device *hdlc = dev_to_hdlc(dev); local
298 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_fr.c38 #include <linux/hdlc.h>
171 static inline struct frad_state* state(hdlc_device *hdlc) argument
173 return(struct frad_state *)(hdlc->state);
177 static inline struct pvc_device *find_pvc(hdlc_device *hdlc, u16 dlci) argument
179 struct pvc_device *pvc = state(hdlc)->first_pvc;
195 hdlc_device *hdlc = dev_to_hdlc(dev); local
196 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc;
247 static inline void delete_unused_pvcs(hdlc_device *hdlc) argument
249 struct pvc_device **pvc_p = &state(hdlc)->first_pvc;
352 hdlc_device *hdlc local
369 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); local
471 hdlc_device *hdlc = dev_to_hdlc(dev); local
569 hdlc_device *hdlc = dev_to_hdlc(dev); local
603 hdlc_device *hdlc = dev_to_hdlc(dev); local
655 hdlc_device *hdlc = dev_to_hdlc(dev); local
872 hdlc_device *hdlc = dev_to_hdlc(frad); local
993 hdlc_device *hdlc = dev_to_hdlc(dev); local
1019 hdlc_device *hdlc = dev_to_hdlc(dev); local
1031 hdlc_device *hdlc = dev_to_hdlc(dev); local
1063 hdlc_device *hdlc = dev_to_hdlc(frad); local
1119 fr_del_pvc(hdlc_device *hdlc, unsigned int dlci, int type) argument
1148 hdlc_device *hdlc = dev_to_hdlc(frad); local
1185 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_raw.c13 #include <linux/hdlc.h>
44 hdlc_device *hdlc = dev_to_hdlc(dev); local
56 if (copy_to_user(raw_s, hdlc->state, size))
76 result = hdlc->attach(dev, new_settings.encoding,
85 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_raw_eth.c15 #include <linux/hdlc.h>
59 hdlc_device *hdlc = dev_to_hdlc(dev); local
71 if (copy_to_user(raw_s, hdlc->state, size))
91 result = hdlc->attach(dev, new_settings.encoding,
100 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_cisco.c13 #include <linux/hdlc.h>
68 static inline struct cisco_state* state(hdlc_device *hdlc) argument
70 return (struct cisco_state *)hdlc->state;
156 hdlc_device *hdlc = dev_to_hdlc(dev); local
157 struct cisco_state *st = state(hdlc);
263 hdlc_device *hdlc = dev_to_hdlc(dev); local
264 struct cisco_state *st = state(hdlc);
288 hdlc_device *hdlc = dev_to_hdlc(dev); local
289 struct cisco_state *st = state(hdlc);
307 hdlc_device *hdlc local
338 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_x25.c14 #include <linux/hdlc.h>
84 hdlc_device *hdlc = dev_to_hdlc(dev); local
85 hdlc->xmit(skb, dev); /* Ignore return value :-( */
192 hdlc_device *hdlc = dev_to_hdlc(dev); local
209 result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
H A Dc101.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
29 #include <linux/hdlc.h>
313 hdlc_device *hdlc; local
370 hdlc = dev_to_hdlc(dev);
378 hdlc->attach = sca_attach;
379 hdlc->xmit = sca_xmit;
384 pr_warn("unable to register hdlc device\n");
H A DMakefile8 obj-$(CONFIG_HDLC) += hdlc.o
H A Dpci200syn.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
32 #include <linux/hdlc.h>
387 hdlc_device *hdlc = dev_to_hdlc(dev); local
396 hdlc->attach = sca_attach;
397 hdlc->xmit = sca_xmit;
402 pr_err("unable to register hdlc device\n");
H A DKconfig106 <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.
H A Dn2.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
34 #include <linux/hdlc.h>
454 hdlc_device *hdlc = dev_to_hdlc(dev); local
471 hdlc->attach = sca_attach;
472 hdlc->xmit = sca_xmit;
477 pr_warn("unable to register hdlc device\n");
H A Dpc300too.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
35 #include <linux/hdlc.h>
447 hdlc_device *hdlc = dev_to_hdlc(dev); local
456 hdlc->attach = sca_attach;
457 hdlc->xmit = sca_xmit;
467 pr_err("unable to register hdlc device\n");
H A Dwanxl.c30 #include <linux/hdlc.h>
769 hdlc_device *hdlc; local
780 hdlc = dev_to_hdlc(dev);
784 hdlc->attach = wanxl_attach;
785 hdlc->xmit = wanxl_xmit;
790 pr_err("%s: unable to register hdlc device\n",
H A Dhostess_sv11.c33 #include <linux/hdlc.h>
H A Dixp4xx_hss.c19 #include <linux/hdlc.h>
1333 hdlc_device *hdlc; local
1350 hdlc = dev_to_hdlc(dev);
1351 hdlc->attach = hss_hdlc_attach;
1352 hdlc->xmit = hss_hdlc_xmit;
H A Dsealevel.c25 #include <linux/hdlc.h>
/drivers/isdn/hisax/
H A Davm_pci.c178 debugl1(bcs->cs, "hdlc %c wr%x ctrl %x",
179 'A' + bcs->channel, which, bcs->hw.hdlc.ctrl.ctrl);
181 WriteHDLCPCI(bcs->cs, bcs->channel, HDLC_STATUS, bcs->hw.hdlc.ctrl.ctrl);
185 bcs->hw.hdlc.ctrl.sr.mode);
188 bcs->hw.hdlc.ctrl.sr.xml);
191 bcs->hw.hdlc.ctrl.sr.cmd);
199 int hdlc = bcs->channel; local
202 debugl1(cs, "hdlc %c mode %d --> %d ichan %d --> %d",
203 'A' + hdlc, bcs->mode, mode, hdlc, b
[all...]
H A Dst5481.h229 #include <linux/isdn/hdlc.h>
/drivers/net/wan/lmc/
H A Dlmc_proto.h4 #include <linux/hdlc.h>
/drivers/isdn/hardware/mISDN/
H A Davmfritz.c142 struct hdlc_hw hdlc[2]; member in struct:fritzcard
274 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { argument
278 outl(hdlc->ctrl.ctrl, fc->addr + CHIP_WINDOW + HDLC_STATUS);
282 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { argument
283 outl(hdlc->ctrl.ctrl, fc->addr + (channel == 2 ? AVM_HDLC_STATUS_2 :
290 struct hdlc_hw *hdlc; local
292 hdlc = &fc->hdlc[(bch->nr - 1) & 1];
293 pr_debug("%s: hdlc %c wr%x ctrl %x\n", fc->name, '@' + bch->nr,
294 which, hdlc
352 struct hdlc_hw *hdlc; local
451 struct hdlc_hw *hdlc; local
541 struct hdlc_hw *hdlc; local
[all...]
H A Dhfcsusb.c821 int hdlc = 0; local
842 hdlc = 1;
861 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags);
866 hdlc = 1;
898 if (hdlc) {
899 /* we have a complete hdlc packet */
1171 errcode, hdlc, i; local
1187 hdlc = 1;
1191 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags);
1192 if (!tx_skb && !hdlc
[all...]
/drivers/isdn/mISDN/
H A Ddsp_core.c152 * Conference cannot join, if one member is not hdlc.
301 if (dsp->hdlc) {
355 if (dsp->hdlc) {
375 if (dsp->hdlc) {
390 if (dsp->hdlc) {
407 if (dsp->hdlc) {
457 if (dsp->hdlc) {
471 if (dsp->hdlc) {
504 if (dsp->hdlc) {
525 if (dsp->hdlc) {
[all...]
H A Ddsp.h187 int hdlc; /* if mode is hdlc */ member in struct:dsp
H A Ddsp_cmx.c958 /* in case of hdlc, change to software */
959 if (member->dsp->hdlc)
1123 if (dsp->hdlc && !member->dsp->hdlc) {
1129 if (!dsp->hdlc && member->dsp->hdlc) {
1132 "cannot join hdlc conference.\n");
1670 if (dsp->hdlc)
1705 /* check for hdlc conf */
1708 if (member->dsp->hdlc)
[all...]

Completed in 209 milliseconds

12