Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/isdn/i4l/
Disdnhdlc.c53 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_rcv_init() argument
55 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_rcv_init()
56 hdlc->state = HDLC_GET_DATA; in isdnhdlc_rcv_init()
58 hdlc->do_adapt56 = 1; in isdnhdlc_rcv_init()
60 hdlc->do_bitreverse = 1; in isdnhdlc_rcv_init()
64 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_out_init() argument
66 memset(hdlc, 0, sizeof(struct isdnhdlc_vars)); in isdnhdlc_out_init()
68 hdlc->dchannel = 1; in isdnhdlc_out_init()
69 hdlc->state = HDLC_SEND_FIRST_FLAG; in isdnhdlc_out_init()
71 hdlc->dchannel = 0; in isdnhdlc_out_init()
[all …]
/linux-4.19.296/drivers/isdn/hisax/
Davm_pci.c179 'A' + bcs->channel, which, bcs->hw.hdlc.ctrl.ctrl); in write_ctrl()
181 WriteHDLCPCI(bcs->cs, bcs->channel, HDLC_STATUS, bcs->hw.hdlc.ctrl.ctrl); in write_ctrl()
185 bcs->hw.hdlc.ctrl.sr.mode); in write_ctrl()
188 bcs->hw.hdlc.ctrl.sr.xml); in write_ctrl()
191 bcs->hw.hdlc.ctrl.sr.cmd); in write_ctrl()
199 int hdlc = bcs->channel; in modehdlc() local
203 'A' + hdlc, bcs->mode, mode, hdlc, bc); in modehdlc()
204 bcs->hw.hdlc.ctrl.ctrl = 0; in modehdlc()
214 bcs->hw.hdlc.ctrl.sr.cmd = HDLC_CMD_XRS | HDLC_CMD_RRS; in modehdlc()
215 bcs->hw.hdlc.ctrl.sr.mode = HDLC_MODE_TRANS; in modehdlc()
[all …]
Dhisax.h524 struct hdlc_hw hdlc; member
/linux-4.19.296/drivers/isdn/hardware/mISDN/
Davmfritz.c142 struct hdlc_hw hdlc[2]; member
274 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pci() argument
278 outl(hdlc->ctrl.ctrl, fc->addr + CHIP_WINDOW + HDLC_STATUS); in __write_ctrl_pci()
282 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) { in __write_ctrl_pciv2() argument
283 outl(hdlc->ctrl.ctrl, fc->addr + (channel == 2 ? AVM_HDLC_STATUS_2 : in __write_ctrl_pciv2()
290 struct hdlc_hw *hdlc; in write_ctrl() local
292 hdlc = &fc->hdlc[(bch->nr - 1) & 1]; in write_ctrl()
294 which, hdlc->ctrl.ctrl); in write_ctrl()
297 __write_ctrl_pciv2(fc, hdlc, bch->nr); in write_ctrl()
300 __write_ctrl_pci(fc, hdlc, bch->nr); in write_ctrl()
[all …]
Dhfcsusb.c825 int hdlc = 0; in hfcsusb_rx_frame() local
847 hdlc = 1; in hfcsusb_rx_frame()
866 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in hfcsusb_rx_frame()
871 hdlc = 1; in hfcsusb_rx_frame()
903 if (hdlc) { in hfcsusb_rx_frame()
1178 errcode, hdlc, i; in tx_iso_complete() local
1195 hdlc = 1; in tx_iso_complete()
1199 hdlc = test_bit(FLG_HDLC, &fifo->bch->Flags); in tx_iso_complete()
1200 if (!tx_skb && !hdlc && in tx_iso_complete()
1281 if (hdlc) { in tx_iso_complete()
/linux-4.19.296/include/linux/isdn/
Dhdlc.h72 extern void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features);
74 extern int isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src,
77 extern void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features);
79 extern int isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src,
/linux-4.19.296/drivers/isdn/mISDN/
Ddsp_core.c301 if (dsp->hdlc) { in dsp_control_req()
355 if (dsp->hdlc) { in dsp_control_req()
375 if (dsp->hdlc) { in dsp_control_req()
390 if (dsp->hdlc) { in dsp_control_req()
407 if (dsp->hdlc) { in dsp_control_req()
457 if (dsp->hdlc) { in dsp_control_req()
471 if (dsp->hdlc) { in dsp_control_req()
504 if (dsp->hdlc) { in dsp_control_req()
525 if (dsp->hdlc) { in dsp_control_req()
535 if (dsp->hdlc) { in dsp_control_req()
[all …]
Ddsp_cmx.c959 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)
Ddsp.h187 int hdlc; /* if mode is hdlc */ member
/linux-4.19.296/include/linux/
Dhdlc.h107 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_type_trans() local
112 if (hdlc->proto->type_trans) in hdlc_type_trans()
113 return hdlc->proto->type_trans(skb, dev); in hdlc_type_trans()
/linux-4.19.296/drivers/char/pcmcia/
Dsynclink_cs.c4255 hdlc_device *hdlc; in hdlcdev_init() local
4275 hdlc = dev_to_hdlc(dev); in hdlcdev_init()
4276 hdlc->attach = hdlcdev_attach; in hdlcdev_init()
4277 hdlc->xmit = hdlcdev_xmit; in hdlcdev_init()
/linux-4.19.296/
DMAINTAINERS6129 W: http://www.kernel.org/pub/linux/utils/net/hdlc/
6133 F: drivers/net/wan/hdlc*