/linux-4.19.296/drivers/isdn/hisax/ |
D | jade_irq.c | 51 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()
|
D | hscx_irq.c | 61 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()
|
D | ipacx.c | 245 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 …]
|
D | isar.c | 522 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 …]
|
D | amd7930_fn.c | 283 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()
|
D | w6692.c | 140 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 …]
|
D | hisax_isac.c | 458 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()
|
D | hisax_fcpcipnp.c | 440 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()
|
D | icc.c | 120 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()
|
D | isac.c | 123 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()
|
D | avm_pci.c | 256 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()
|
D | hisax_isac.h | 26 int rcvidx; member
|
D | hisax_fcpcipnp.h | 39 int rcvidx; member
|
D | hisax.h | 366 int rcvidx; member 375 int rcvidx; member 391 int rcvidx; member 426 int rcvidx; member 957 int rcvidx; member
|
D | diva.c | 410 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()
|
D | jade.c | 233 bcs->hw.hscx.rcvidx = 0; in open_jadestate()
|
D | hscx.c | 198 bcs->hw.hscx.rcvidx = 0; in open_hscxstate()
|
D | elsa_ser.c | 606 bcs->hw.hscx.rcvidx = 0; in setstack_elsa()
|
D | config.c | 1131 cs->rcvidx = 0; in hisax_cs_setup()
|