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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Disdnhdlc.c50 void isdnhdlc_rcv_init (struct isdnhdlc_vars *hdlc, int do_adapt56) argument
52 hdlc->bit_shift = 0;
53 hdlc->hdlc_bits1 = 0;
54 hdlc->data_bits = 0;
55 hdlc->ffbit_shift = 0;
56 hdlc->data_received = 0;
57 hdlc->state = HDLC_GET_DATA;
58 hdlc->do_adapt56 = do_adapt56;
59 hdlc->dchannel = 0;
60 hdlc
67 isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, int is_d_channel, int do_adapt56) argument
124 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const unsigned char *src, int slen, int *count, unsigned char *dst, int dsize) argument
346 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const unsigned char *src, unsigned short slen, int *count, unsigned char *dst, int dsize) argument
[all...]
H A Disdnhdlc.h60 extern void isdnhdlc_rcv_init (struct isdnhdlc_vars *hdlc, int do_adapt56);
62 extern int isdnhdlc_decode (struct isdnhdlc_vars *hdlc, const unsigned char *src, int slen,int *count,
65 extern void isdnhdlc_out_init (struct isdnhdlc_vars *hdlc,int is_d_channel,int do_adapt56);
67 extern int isdnhdlc_encode (struct isdnhdlc_vars *hdlc,const unsigned char *src,unsigned short slen,int *count,
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dhdlc.c38 #include <linux/hdlc.h>
81 hdlc_device *hdlc = dev_to_hdlc(dev); local
82 if (hdlc->proto->start)
83 return hdlc->proto->start(dev);
90 hdlc_device *hdlc = dev_to_hdlc(dev); local
91 if (hdlc->proto->stop)
92 return hdlc->proto->stop(dev);
101 hdlc_device *hdlc; local
118 hdlc = dev_to_hdlc(dev);
119 spin_lock_irqsave(&hdlc
147 hdlc_device *hdlc = dev_to_hdlc(dev); local
181 hdlc_device *hdlc = dev_to_hdlc(dev); local
247 hdlc_device *hdlc = dev_to_hdlc(dev); local
299 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_ppp.c24 #include <linux/hdlc.h>
36 static inline struct ppp_state* state(hdlc_device *hdlc) argument
38 return(struct ppp_state *)(hdlc->state);
44 hdlc_device *hdlc = dev_to_hdlc(dev); local
48 dev->priv = &state(hdlc)->syncppp_ptr;
49 state(hdlc)->syncppp_ptr = &state(hdlc)->pppdev;
50 state(hdlc)->pppdev.dev = dev;
53 state(hdlc)->old_change_mtu = dev->change_mtu;
54 sppp_attach(&state(hdlc)
72 hdlc_device *hdlc = dev_to_hdlc(dev); local
102 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_fr.c50 #include <linux/hdlc.h>
174 static inline struct frad_state * state(hdlc_device *hdlc) argument
176 return(struct frad_state *)(hdlc->state);
186 static inline pvc_device* find_pvc(hdlc_device *hdlc, u16 dlci) argument
188 pvc_device *pvc = state(hdlc)->first_pvc;
204 hdlc_device *hdlc = dev_to_hdlc(dev); local
205 pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc;
257 static inline void delete_unused_pvcs(hdlc_device *hdlc) argument
259 pvc_device **pvc_p = &state(hdlc)->first_pvc;
361 hdlc_device *hdlc local
378 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); local
502 hdlc_device *hdlc = dev_to_hdlc(dev); local
602 hdlc_device *hdlc = dev_to_hdlc(dev); local
636 hdlc_device *hdlc = dev_to_hdlc(dev); local
690 hdlc_device *hdlc = dev_to_hdlc(dev); local
910 hdlc_device *hdlc = dev_to_hdlc(frad); local
1031 hdlc_device *hdlc = dev_to_hdlc(dev); local
1057 hdlc_device *hdlc = dev_to_hdlc(dev); local
1069 hdlc_device *hdlc = dev_to_hdlc(dev); local
1092 hdlc_device *hdlc = dev_to_hdlc(frad); local
1167 fr_del_pvc(hdlc_device *hdlc, unsigned int dlci, int type) argument
1196 hdlc_device *hdlc = dev_to_hdlc(frad); local
1232 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_cisco.c24 #include <linux/hdlc.h>
70 static inline struct cisco_state * state(hdlc_device *hdlc) argument
72 return(struct cisco_state *)(hdlc->state);
160 hdlc_device *hdlc = dev_to_hdlc(dev); local
223 state(hdlc)->rxseq = ntohl(cisco_data->par1);
224 if (state(hdlc)->request_sent &&
225 ntohl(cisco_data->par2) == state(hdlc)->txseq) {
226 state(hdlc)->last_poll = jiffies;
227 if (!state(hdlc)->up) {
238 state(hdlc)
263 hdlc_device *hdlc = dev_to_hdlc(dev); local
288 hdlc_device *hdlc = dev_to_hdlc(dev); local
304 hdlc_device *hdlc = dev_to_hdlc(dev); local
327 hdlc_device *hdlc = dev_to_hdlc(dev); local
[all...]
H A Dhdlc_raw.c24 #include <linux/hdlc.h>
48 hdlc_device *hdlc = dev_to_hdlc(dev); local
60 if (copy_to_user(raw_s, hdlc->state, size))
80 result = hdlc->attach(dev, new_settings.encoding,
89 memcpy(hdlc->state, &new_settings, size);
90 dev->hard_start_xmit = hdlc->xmit;
H A Dhdlc_raw_eth.c26 #include <linux/hdlc.h>
60 hdlc_device *hdlc = dev_to_hdlc(dev); local
74 if (copy_to_user(raw_s, hdlc->state, size))
94 result = hdlc->attach(dev, new_settings.encoding,
103 memcpy(hdlc->state, &new_settings, size);
H A Dhdlc_x25.c24 #include <linux/hdlc.h>
85 hdlc_device *hdlc = dev_to_hdlc(dev); local
86 hdlc->xmit(skb, dev); /* Ignore return value :-( */
193 hdlc_device *hdlc = dev_to_hdlc(dev); local
210 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/>
26 #include <linux/hdlc.h>
304 hdlc_device *hdlc; local
364 hdlc = dev_to_hdlc(dev);
375 hdlc->attach = sca_attach;
376 hdlc->xmit = sca_xmit;
381 printk(KERN_WARNING "c101: unable to register hdlc device\n");
H A DMakefile12 obj-$(CONFIG_HDLC) += hdlc.o
H A Dpci200syn.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
29 #include <linux/hdlc.h>
388 "linux/utils/net/hdlc/pci200syn/> for update.\n");
417 hdlc_device *hdlc = dev_to_hdlc(dev); local
429 hdlc->attach = sca_attach;
430 hdlc->xmit = sca_xmit;
434 printk(KERN_ERR "pci200syn: unable to register hdlc "
H A Dn2.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>
31 #include <linux/hdlc.h>
451 hdlc_device *hdlc = dev_to_hdlc(dev); local
471 hdlc->attach = sca_attach;
472 hdlc->xmit = sca_xmit;
477 printk(KERN_WARNING "n2: unable to register hdlc "
H A Dpc300too.c10 * For information see <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
33 #include <linux/hdlc.h>
469 hdlc_device *hdlc = dev_to_hdlc(dev); local
481 hdlc->attach = sca_attach;
482 hdlc->xmit = sca_xmit;
491 printk(KERN_ERR "pc300: unable to register hdlc "
H A Dwanxl.c27 #include <linux/hdlc.h>
763 hdlc_device *hdlc; local
774 hdlc = dev_to_hdlc(dev);
781 hdlc->attach = wanxl_attach;
782 hdlc->xmit = wanxl_xmit;
788 printk(KERN_ERR "wanXL %s: unable to register hdlc"
H A Dpc300.h105 #include <linux/hdlc.h>
122 #define PC300_DEVNAME "hdlc" /* Dev. name base (for hdlc0, hdlc1, etc.) */
H A Ddscc4.c107 #include <linux/hdlc.h>
874 hdlc_device *hdlc = dev_to_hdlc(d); local
893 hdlc->xmit = dscc4_start_xmit;
894 hdlc->attach = dscc4_hdlc_attach;
H A Dfarsync.c25 #include <linux/hdlc.h>
1718 * generic hdlc package.
2165 dbg(DBG_IOCTL, "Passing this type to hdlc %x\n",
2550 hdlc_device *hdlc; local
2568 hdlc = dev_to_hdlc(dev);
2588 hdlc->attach = fst_attach;
2589 hdlc->xmit = fst_start_xmit;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dhdlc.h23 #include <linux/hdlc/ioctl.h>
67 /* Exported from hdlc module */
128 hdlc_device *hdlc = dev_to_hdlc(dev); local
133 if (hdlc->proto->type_trans)
134 return hdlc->proto->type_trans(skb, dev);
H A Dif.h27 #include <linux/hdlc/ioctl.h>
71 /* For definitions see hdlc.h */
80 /* For definitions see hdlc.h */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/lib/
H A Dll_types.c74 __PF(HDLC,hdlc)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Dll_types.c59 __PF(HDLC,hdlc)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/pcmcia/
H A Dsynclink_cs.c69 #include <linux/hdlc.h>
3992 /* init hdlc mode */
4466 hdlc_device *hdlc; local
4471 printk(KERN_ERR "%s:hdlc device allocation failure\n",__FILE__);
4488 hdlc = dev_to_hdlc(dev);
4489 hdlc->attach = hdlcdev_attach;
4490 hdlc->xmit = hdlcdev_xmit;
4494 printk(KERN_WARNING "%s:unable to register hdlc device\n",__FILE__);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dsynclink_gt.c75 #include <linux/hdlc.h>
1829 hdlc_device *hdlc; local
1834 printk(KERN_ERR "%s hdlc device alloc failure\n", info->device_name);
1852 hdlc = dev_to_hdlc(dev);
1853 hdlc->attach = hdlcdev_attach;
1854 hdlc->xmit = hdlcdev_xmit;
1858 printk(KERN_WARNING "%s:unable to register hdlc device\n",__FILE__);

Completed in 250 milliseconds

12