Home
last modified time | relevance | path

Searched refs:rcvidx (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/isdn/hisax/
Djade_irq.c51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in jade_empty_fifo()
55 bcs->hw.hscx.rcvidx = 0; in jade_empty_fifo()
58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in jade_empty_fifo()
59 bcs->hw.hscx.rcvidx += count; in jade_empty_fifo()
144 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in jade_interrupt()
156 bcs->hw.hscx.rcvidx = 0; in jade_interrupt()
170 bcs->hw.hscx.rcvidx = 0; in jade_interrupt()
Dhscx_irq.c61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in hscx_empty_fifo()
65 bcs->hw.hscx.rcvidx = 0; in hscx_empty_fifo()
68 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in hscx_empty_fifo()
69 bcs->hw.hscx.rcvidx += count; in hscx_empty_fifo()
166 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in hscx_interrupt()
178 bcs->hw.hscx.rcvidx = 0; in hscx_interrupt()
192 bcs->hw.hscx.rcvidx = 0; in hscx_interrupt()
Dipacx.c245 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in dch_empty_fifo()
249 cs->rcvidx = 0; in dch_empty_fifo()
253 ptr = cs->rcvbuf + cs->rcvidx; in dch_empty_fifo()
254 cs->rcvidx += count; in dch_empty_fifo()
348 if ((count = cs->rcvidx) > 0) { in dch_int()
349 cs->rcvidx = 0; in dch_int()
358 cs->rcvidx = 0; in dch_int()
519 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in bch_empty_fifo()
523 bcs->hw.hscx.rcvidx = 0; in bch_empty_fifo()
527 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
[all …]
Disar.c522 if ((bcs->hw.isar.rcvidx + ireg->clsb) > HSCX_BUFMAX) { in isar_rcv_frame()
526 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
537 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
541 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
542 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
543 bcs->hw.isar.rcvidx += ireg->clsb; in isar_rcv_frame()
546 if (bcs->hw.isar.rcvidx < 3) { /* last 2 bytes are the FCS */ in isar_rcv_frame()
549 bcs->hw.isar.rcvidx); in isar_rcv_frame()
550 } else if (!(skb = dev_alloc_skb(bcs->hw.isar.rcvidx - 2))) { in isar_rcv_frame()
554 bcs->hw.isar.rcvidx - 2); in isar_rcv_frame()
[all …]
Damd7930_fn.c283 ptr = cs->rcvbuf + cs->rcvidx; in Amd7930_empty_Dfifo()
296 cs->rcvidx = ptr - cs->rcvbuf; in Amd7930_empty_Dfifo()
307 if ((cs->rcvidx) > 0) { in Amd7930_empty_Dfifo()
308 if (!(skb = alloc_skb(cs->rcvidx, GFP_ATOMIC))) in Amd7930_empty_Dfifo()
315 t += sprintf(t, "Amd7930: empty_Dfifo cnt: %d |", cs->rcvidx); in Amd7930_empty_Dfifo()
316 QuickHex(t, cs->rcvbuf, cs->rcvidx); in Amd7930_empty_Dfifo()
321 cs->rcvidx); in Amd7930_empty_Dfifo()
329 cs->rcvidx = 0; in Amd7930_empty_Dfifo()
334 if (cs->rcvidx >= MAX_DFRAME_LEN_L1) { in Amd7930_empty_Dfifo()
337 cs->rcvidx = 0; in Amd7930_empty_Dfifo()
Dw6692.c140 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in W6692_empty_fifo()
143 cs->rcvidx + count); in W6692_empty_fifo()
145 cs->rcvidx = 0; in W6692_empty_fifo()
148 ptr = cs->rcvbuf + cs->rcvidx; in W6692_empty_fifo()
149 cs->rcvidx += count; in W6692_empty_fifo()
211 if (bcs->hw.w6692.rcvidx + count > HSCX_BUFMAX) { in W6692B_empty_fifo()
215 bcs->hw.w6692.rcvidx = 0; in W6692B_empty_fifo()
218 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; in W6692B_empty_fifo()
219 bcs->hw.w6692.rcvidx += count; in W6692B_empty_fifo()
305 if ((count = bcs->hw.w6692.rcvidx) > 0) { in W6692B_interrupt()
[all …]
Dhisax_isac.c458 if ((isac->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in isac_empty_fifo()
459 DBG(DBG_WARN, "overrun %d", isac->rcvidx + count); in isac_empty_fifo()
461 isac->rcvidx = 0; in isac_empty_fifo()
464 ptr = isac->rcvbuf + isac->rcvidx; in isac_empty_fifo()
465 isac->rcvidx += count; in isac_empty_fifo()
549 count = isac->rcvidx; in isac_rme_interrupt()
564 isac->rcvidx = 0; in isac_rme_interrupt()
679 count = isac->rcvidx - 1; in isacsx_rme_interrupt()
694 isac->rcvidx = 0; in isacsx_rme_interrupt()
Dhisax_fcpcipnp.c440 if (bcs->rcvidx + count > HSCX_BUFMAX) { in hdlc_empty_fifo()
444 p = bcs->rcvbuf + bcs->rcvidx; in hdlc_empty_fifo()
445 bcs->rcvidx += count; in hdlc_empty_fifo()
481 bcs->rcvidx = 0; in hdlc_rpr_irq()
494 skb = dev_alloc_skb(bcs->rcvidx); in hdlc_rpr_irq()
498 skb_put_data(skb, bcs->rcvbuf, bcs->rcvidx); in hdlc_rpr_irq()
502 bcs->rcvidx = 0; in hdlc_rpr_irq()
506 bcs->rcvidx = 0; in hdlc_rpr_irq()
606 bcs->rcvidx = 0; in modehdlc()
Dicc.c120 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in icc_empty_fifo()
123 cs->rcvidx + count); in icc_empty_fifo()
125 cs->rcvidx = 0; in icc_empty_fifo()
128 ptr = cs->rcvbuf + cs->rcvidx; in icc_empty_fifo()
129 cs->rcvidx += count; in icc_empty_fifo()
214 if ((count = cs->rcvidx) > 0) { in icc_interrupt()
215 cs->rcvidx = 0; in icc_interrupt()
224 cs->rcvidx = 0; in icc_interrupt()
Disac.c123 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in isac_empty_fifo()
126 cs->rcvidx + count); in isac_empty_fifo()
128 cs->rcvidx = 0; in isac_empty_fifo()
131 ptr = cs->rcvbuf + cs->rcvidx; in isac_empty_fifo()
132 cs->rcvidx += count; in isac_empty_fifo()
217 count = cs->rcvidx; in isac_interrupt()
219 cs->rcvidx = 0; in isac_interrupt()
229 cs->rcvidx = 0; in isac_interrupt()
Davm_pci.c256 if (bcs->hw.hdlc.rcvidx + count > HSCX_BUFMAX) { in hdlc_empty_fifo()
261 p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; in hdlc_empty_fifo()
263 bcs->hw.hdlc.rcvidx += count; in hdlc_empty_fifo()
371 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq()
379 if (!(skb = dev_alloc_skb(bcs->hw.hdlc.rcvidx))) in HDLC_irq()
384 bcs->hw.hdlc.rcvidx); in HDLC_irq()
387 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq()
394 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq()
585 bcs->hw.hdlc.rcvidx = 0; in open_hdlcstate()
Dhisax_isac.h26 int rcvidx; member
Dhisax_fcpcipnp.h39 int rcvidx; member
Dhisax.h366 int rcvidx; member
375 int rcvidx; member
391 int rcvidx; member
426 int rcvidx; member
957 int rcvidx; member
Ddiva.c410 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in Memhscx_empty_fifo()
414 bcs->hw.hscx.rcvidx = 0; in Memhscx_empty_fifo()
417 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in Memhscx_empty_fifo()
422 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in Memhscx_empty_fifo()
423 bcs->hw.hscx.rcvidx += count; in Memhscx_empty_fifo()
508 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in Memhscx_interrupt()
520 bcs->hw.hscx.rcvidx = 0; in Memhscx_interrupt()
534 bcs->hw.hscx.rcvidx = 0; in Memhscx_interrupt()
Djade.c233 bcs->hw.hscx.rcvidx = 0; in open_jadestate()
Dhscx.c198 bcs->hw.hscx.rcvidx = 0; in open_hscxstate()
Delsa_ser.c606 bcs->hw.hscx.rcvidx = 0; in setstack_elsa()
Dconfig.c1131 cs->rcvidx = 0; in hisax_cs_setup()