Home
last modified time | relevance | path

Searched refs:rcvbuf (Results 1 – 25 of 30) sorted by relevance

12

/drivers/isdn/hisax/
Delsa_ser.c319 cs->hw.elsa.rcvbuf[cs->hw.elsa.rcvcnt++] = ch; in receive_chars()
336 memcpy(skb_put(skb, cs->hw.elsa.rcvcnt), cs->hw.elsa.rcvbuf, in receive_chars()
346 QuickHex(t, cs->hw.elsa.rcvbuf, cs->hw.elsa.rcvcnt); in receive_chars()
431 if (bcs->hw.hscx.rcvbuf) { in close_elsastate()
433 kfree(bcs->hw.hscx.rcvbuf); in close_elsastate()
434 bcs->hw.hscx.rcvbuf = NULL; in close_elsastate()
599 bcs->hw.hscx.rcvbuf = bcs->cs->hw.elsa.rcvbuf; in setstack_elsa()
626 if (!(cs->hw.elsa.rcvbuf = kmalloc(MAX_MODEM_BUF, in init_modem()
636 kfree(cs->hw.elsa.rcvbuf); in init_modem()
637 cs->hw.elsa.rcvbuf = NULL; in init_modem()
[all …]
Dhscx.c160 kfree(bcs->hw.hscx.rcvbuf); in close_hscxstate()
161 bcs->hw.hscx.rcvbuf = NULL; in close_hscxstate()
178 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_hscxstate()
188 kfree(bcs->hw.hscx.rcvbuf); in open_hscxstate()
189 bcs->hw.hscx.rcvbuf = NULL; in open_hscxstate()
Djade.c195 kfree(bcs->hw.hscx.rcvbuf); in close_jadestate()
196 bcs->hw.hscx.rcvbuf = NULL; in close_jadestate()
213 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_jadestate()
223 kfree(bcs->hw.hscx.rcvbuf); in open_jadestate()
224 bcs->hw.hscx.rcvbuf = NULL; in open_jadestate()
Dst5481_usb.c512 memcpy(in->rcvbuf, ptr, len); in usb_in_complete()
517 in->rcvbuf, in->bufsize); in usb_in_complete()
525 DBG_PACKET(0x400, in->rcvbuf, status); in usb_in_complete()
530 memcpy(skb_put(skb, status), in->rcvbuf, status); in usb_in_complete()
555 in->rcvbuf = kmalloc(in->bufsize, GFP_KERNEL); in st5481_setup_in()
557 if (!in->rcvbuf) in st5481_setup_in()
570 kfree(in->rcvbuf); in st5481_setup_in()
Dipacx.c252 ptr = cs->rcvbuf + cs->rcvidx; in dch_empty_fifo()
353 memcpy(skb_put(skb, count), cs->rcvbuf, count); in dch_int()
529 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
534 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
632 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in bch_int()
649 memcpy(skb_put(skb, B_FIFO_SIZE), bcs->hw.hscx.rcvbuf, B_FIFO_SIZE); in bch_int()
765 kfree(bcs->hw.hscx.rcvbuf); in bch_close_state()
766 bcs->hw.hscx.rcvbuf = NULL; in bch_close_state()
785 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in bch_open_state()
795 kfree(bcs->hw.hscx.rcvbuf); in bch_open_state()
[all …]
Damd7930_fn.c283 ptr = cs->rcvbuf + cs->rcvidx; in Amd7930_empty_Dfifo()
292 while ((stat & 2) && ((ptr-cs->rcvbuf) < MAX_DFRAME_LEN_L1)) { in Amd7930_empty_Dfifo()
296 cs->rcvidx = ptr - cs->rcvbuf; 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()
327 ptr = cs->rcvbuf; in Amd7930_empty_Dfifo()
Dhisax.h368 u_char *rcvbuf; /* B-Channel receive Buffer */ member
377 u_char *rcvbuf; /* B-Channel receive Buffer */ member
401 u_char *rcvbuf; /* B-Channel receive Buffer */ member
428 u_char *rcvbuf; /* B-Channel receive Buffer */ member
444 u_char *rcvbuf; member
569 u_char *rcvbuf; member
956 u_char *rcvbuf; member
Dw6692.c148 ptr = cs->rcvbuf + cs->rcvidx; in W6692_empty_fifo()
219 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; in W6692B_empty_fifo()
312 memcpy(skb_put(skb, count), bcs->hw.w6692.rcvbuf, count); in W6692B_interrupt()
335 memcpy(skb_put(skb, W_B_FIFO_THRESH), bcs->hw.w6692.rcvbuf, W_B_FIFO_THRESH); in W6692B_interrupt()
444 memcpy(skb_put(skb, count), cs->rcvbuf, count); in W6692_interrupt()
820 kfree(bcs->hw.w6692.rcvbuf); in close_w6692state()
821 bcs->hw.w6692.rcvbuf = NULL; in close_w6692state()
838 if (!(bcs->hw.w6692.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_w6692state()
848 kfree(bcs->hw.w6692.rcvbuf); in open_w6692state()
849 bcs->hw.w6692.rcvbuf = NULL; in open_w6692state()
Djade_irq.c58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in jade_empty_fifo()
150 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in jade_interrupt()
165 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size); in jade_interrupt()
Dhscx_irq.c68 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in hscx_empty_fifo()
172 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in hscx_interrupt()
187 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size); in hscx_interrupt()
Davm_pci.c260 p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; in hdlc_empty_fifo()
382 bcs->hw.hdlc.rcvbuf, bcs->hw.hdlc.rcvidx); in HDLC_irq()
546 kfree(bcs->hw.hdlc.rcvbuf); in close_hdlcstate()
547 bcs->hw.hdlc.rcvbuf = NULL; in close_hdlcstate()
564 if (!(bcs->hw.hdlc.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_hdlcstate()
573 kfree(bcs->hw.hdlc.rcvbuf); in open_hdlcstate()
574 bcs->hw.hdlc.rcvbuf = NULL; in open_hdlcstate()
Dnetjet.c386 memcpy(skb_put(skb, count), bcs->hw.tiger.rcvbuf, count); in got_frame()
393 printframe(bcs->cs, bcs->hw.tiger.rcvbuf, count, "rec"); in got_frame()
487 bcs->hw.tiger.rcvbuf[0] = r_val; in read_raw()
526 printframe(bcs->cs, bcs->hw.tiger.rcvbuf, in read_raw()
559 bcs->hw.tiger.rcvbuf[(bitcnt >> 3) - 1] = r_val; in read_raw()
858 kfree(bcs->hw.tiger.rcvbuf); in close_tigerstate()
859 bcs->hw.tiger.rcvbuf = NULL; in close_tigerstate()
876 if (!(bcs->hw.tiger.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_tigerstate()
Dhisax_isac.h24 u_char rcvbuf[MAX_DFRAME_LEN_L1]; member
Dhisax_fcpcipnp.h40 u_char rcvbuf[HSCX_BUFMAX]; /* B-Channel receive Buffer */ member
Disar.c542 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
554 bcs->hw.isar.rcvbuf, bcs->hw.isar.rcvidx - 2); in isar_rcv_frame()
571 rcv_mbox(cs, ireg, bcs->hw.isar.rcvbuf); in isar_rcv_frame()
573 dle_count(bcs->hw.isar.rcvbuf, ireg->clsb); in isar_rcv_frame()
579 bcs->hw.isar.rcvbuf, ireg->clsb); in isar_rcv_frame()
622 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
627 dle_count(bcs->hw.isar.rcvbuf, bcs->hw.isar.rcvidx); in isar_rcv_frame()
638 bcs->hw.isar.rcvbuf, in isar_rcv_frame()
1694 kfree(bcs->hw.isar.rcvbuf); in close_isarstate()
1695 bcs->hw.isar.rcvbuf = NULL; in close_isarstate()
[all …]
Dhisax_isac.c464 ptr = isac->rcvbuf + isac->rcvidx; in isac_empty_fifo()
560 memcpy(skb_put(skb, count), isac->rcvbuf, count); in isac_rme_interrupt()
690 memcpy(skb_put(skb, count), isac->rcvbuf, count); in isacsx_rme_interrupt()
Ddiva.c417 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()
514 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in Memhscx_interrupt()
529 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size); in Memhscx_interrupt()
Dst5481.h361 unsigned char *rcvbuf; member
/drivers/staging/unisys/visornic/
Dvisornic_main.c122 struct sk_buff **rcvbuf; member
552 if (devdata->rcvbuf[i]) { in visornic_disable_with_timeout()
553 kfree_skb(devdata->rcvbuf[i]); in visornic_disable_with_timeout()
554 devdata->rcvbuf[i] = NULL; in visornic_disable_with_timeout()
578 devdata->rcvbuf[i] = alloc_rcv_buf(netdev); in init_rcv_bufs()
579 if (!devdata->rcvbuf[i]) in init_rcv_bufs()
592 kfree_skb(devdata->rcvbuf[i]); in init_rcv_bufs()
593 devdata->rcvbuf[i] = NULL; in init_rcv_bufs()
603 post_skb(devdata->cmdrsp_rcv, devdata, devdata->rcvbuf[i]); in init_rcv_bufs()
1113 if (devdata->rcvbuf[i] != copy.rcvbuf[cc]) in repost_return()
[all …]
/drivers/isdn/gigaset/
Dusb-gigaset.c142 unsigned char *rcvbuf; member
359 src = cs->hw.usb->rcvbuf; in gigaset_read_int_callback()
752 ucs->rcvbuf = kmalloc(buffer_size, GFP_KERNEL); in gigaset_probe()
753 if (!ucs->rcvbuf) { in gigaset_probe()
761 ucs->rcvbuf, buffer_size, in gigaset_probe()
786 kfree(ucs->rcvbuf); in gigaset_probe()
790 ucs->rcvbuf = ucs->bulk_out_buffer = NULL; in gigaset_probe()
819 kfree(ucs->rcvbuf); in gigaset_disconnect()
822 ucs->rcvbuf = ucs->bulk_out_buffer = NULL; in gigaset_disconnect()
Dbas-gigaset.c108 unsigned char *rcvbuf; /* AT reply receive buffer */ member
451 kfree(ucs->rcvbuf); in cmd_in_timeout()
452 ucs->rcvbuf = NULL; in cmd_in_timeout()
462 kfree(ucs->rcvbuf); in cmd_in_timeout()
463 ucs->rcvbuf = NULL; in cmd_in_timeout()
502 if (gigaset_fill_inbuf(inbuf, ucs->rcvbuf, numbytes)) { in read_ctrl_callback()
536 kfree(ucs->rcvbuf); in read_ctrl_callback()
537 ucs->rcvbuf = NULL; in read_ctrl_callback()
584 ucs->rcvbuf, ucs->rcvbuf_size, in atread_submit()
796 kfree(ucs->rcvbuf); in read_int_callback()
[all …]
/drivers/media/usb/dvb-usb/
Ddigitv.c32 u8 sndbuf[7],rcvbuf[7]; in digitv_ctrl_msg() local
33 memset(sndbuf,0,7); memset(rcvbuf,0,7); in digitv_ctrl_msg()
43 dvb_usb_generic_rw(d,sndbuf,7,rcvbuf,7,10); in digitv_ctrl_msg()
44 memcpy(rbuf,&rcvbuf[3],rlen); in digitv_ctrl_msg()
/drivers/staging/slicoss/
Dslicoss.c1529 struct slic_rcvbuf *rcvbuf; in slic_rcvqueue_fill() local
1545 rcvbuf = (struct slic_rcvbuf *)skb->head; in slic_rcvqueue_fill()
1546 rcvbuf->status = 0; in slic_rcvqueue_fill()
1657 struct slic_rcvbuf *rcvbuf; in slic_rcvqueue_getnext() local
1662 rcvbuf = (struct slic_rcvbuf *)skb->head; in slic_rcvqueue_getnext()
1664 if (rcvbuf->status & IRHDDR_SVALID) { in slic_rcvqueue_getnext()
1692 struct slic_rcvbuf *rcvbuf = (struct slic_rcvbuf *)skb->head; in slic_rcvqueue_reinsert() local
1698 rcvbuf->status = 0; in slic_rcvqueue_reinsert()
1924 struct slic_rcvbuf *rcvbuf) in slic_rcv_handle_error() argument
1926 struct slic_hddr_wds *hdr = (struct slic_hddr_wds *)rcvbuf->data; in slic_rcv_handle_error()
[all …]
/drivers/isdn/icn/
Dicn.h151 u_char rcvbuf[ICN_BCH][4096]; /* B-Channel-Receive-Buffers */ member
/drivers/staging/unisys/include/
Diochannel.h402 void *rcvbuf[MAX_NET_RCV_CHAIN]; /* the list of receive buffers member

12