/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() 155 bcs->hw.hscx.rcvidx = 0; in jade_interrupt() 168 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() 177 bcs->hw.hscx.rcvidx = 0; in hscx_interrupt() 190 bcs->hw.hscx.rcvidx = 0; in hscx_interrupt()
|
D | ipacx.c | 244 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in dch_empty_fifo() 248 cs->rcvidx = 0; in dch_empty_fifo() 252 ptr = cs->rcvbuf + cs->rcvidx; in dch_empty_fifo() 253 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() 521 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in bch_empty_fifo() 525 bcs->hw.hscx.rcvidx = 0; in bch_empty_fifo() 529 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() 553 memcpy(skb_put(skb, 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() 320 memcpy(skb_put(skb, cs->rcvidx), cs->rcvbuf, cs->rcvidx); in Amd7930_empty_Dfifo() 328 cs->rcvidx = 0; in Amd7930_empty_Dfifo() 333 if (cs->rcvidx >= MAX_DFRAME_LEN_L1) { in Amd7930_empty_Dfifo() 336 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() 212 if (bcs->hw.w6692.rcvidx + count > HSCX_BUFMAX) { in W6692B_empty_fifo() 216 bcs->hw.w6692.rcvidx = 0; in W6692B_empty_fifo() 219 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; in W6692B_empty_fifo() 220 bcs->hw.w6692.rcvidx += count; in W6692B_empty_fifo() 306 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 memcpy(skb_put(skb, bcs->rcvidx), bcs->rcvbuf, in hdlc_rpr_irq() 499 bcs->rcvidx); in hdlc_rpr_irq() 503 bcs->rcvidx = 0; in hdlc_rpr_irq() 507 bcs->rcvidx = 0; in hdlc_rpr_irq() 607 bcs->rcvidx = 0; in modehdlc()
|
D | avm_pci.c | 255 if (bcs->hw.hdlc.rcvidx + count > HSCX_BUFMAX) { in hdlc_empty_fifo() 260 p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; in hdlc_empty_fifo() 262 bcs->hw.hdlc.rcvidx += count; in hdlc_empty_fifo() 370 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq() 378 if (!(skb = dev_alloc_skb(bcs->hw.hdlc.rcvidx))) in HDLC_irq() 381 memcpy(skb_put(skb, bcs->hw.hdlc.rcvidx), in HDLC_irq() 382 bcs->hw.hdlc.rcvbuf, bcs->hw.hdlc.rcvidx); in HDLC_irq() 385 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq() 392 bcs->hw.hdlc.rcvidx = 0; in HDLC_irq() 583 bcs->hw.hdlc.rcvidx = 0; in open_hdlcstate()
|
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() 215 if ((count = cs->rcvidx) > 0) { in icc_interrupt() 216 cs->rcvidx = 0; in icc_interrupt() 225 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() 218 if ((count = cs->rcvidx) > 0) { in isac_interrupt() 219 cs->rcvidx = 0; in isac_interrupt() 228 cs->rcvidx = 0; in isac_interrupt()
|
D | hisax.h | 366 int rcvidx; member 375 int rcvidx; member 391 int rcvidx; member 426 int rcvidx; member 957 int rcvidx; member
|
D | hisax_isac.h | 25 int rcvidx; member
|
D | hisax_fcpcipnp.h | 38 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() 519 bcs->hw.hscx.rcvidx = 0; in Memhscx_interrupt() 532 bcs->hw.hscx.rcvidx = 0; in Memhscx_interrupt()
|
D | hscx.c | 198 bcs->hw.hscx.rcvidx = 0; in open_hscxstate()
|
D | jade.c | 236 bcs->hw.hscx.rcvidx = 0; in open_jadestate()
|
D | elsa_ser.c | 605 bcs->hw.hscx.rcvidx = 0; in setstack_elsa()
|
D | config.c | 1131 cs->rcvidx = 0; in hisax_cs_setup()
|
/drivers/isdn/act2000/ |
D | act2000_isa.c | 238 if (card->idat.isa.rcvidx < 8) { in act2000_isa_receive() 239 card->idat.isa.rcvhdr[card->idat.isa.rcvidx++] = c; in act2000_isa_receive() 240 if (card->idat.isa.rcvidx == 8) { in act2000_isa_receive() 256 card->idat.isa.rcvidx = 0; in act2000_isa_receive() 270 if (++card->idat.isa.rcvidx >= card->idat.isa.rcvlen) { in act2000_isa_receive() 275 card->idat.isa.rcvidx = 0; in act2000_isa_receive() 285 if ((card->idat.isa.rcvidx) && in act2000_isa_receive() 287 (card->idat.isa.rcvidx < card->idat.isa.rcvlen))) in act2000_isa_receive()
|
D | act2000.h | 137 __u16 rcvidx; member
|
/drivers/isdn/icn/ |
D | icn.c | 259 if ((card->rcvidx[channel] + cnt) > 4000) { in icn_pollbchan_receive() 264 card->rcvidx[channel] = 0; in icn_pollbchan_receive() 267 memcpy_fromio(&card->rcvbuf[channel][card->rcvidx[channel]], in icn_pollbchan_receive() 269 card->rcvidx[channel] += cnt; in icn_pollbchan_receive() 275 if ((cnt = card->rcvidx[channel])) { in icn_pollbchan_receive() 281 card->rcvidx[channel] = 0; in icn_pollbchan_receive() 471 card->rcvidx[channel] = 0; in icn_parse_status() 503 card->rcvidx[channel] = 0; in icn_parse_status() 561 card->rcvidx[0] = 0; in icn_parse_status() 574 card->rcvidx[1] = 0; in icn_parse_status()
|
D | icn.h | 152 int rcvidx[ICN_BCH]; /* Index for above buffers */ member
|