Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/sh/maple/
Dmaple.c144 kmem_cache_free(maple_queue_cache, mq->recvbuf); in maple_release_device()
196 mq->recvbuf = kmem_cache_zalloc(maple_queue_cache, GFP_KERNEL); in maple_allocq()
197 if (!mq->recvbuf) in maple_allocq()
199 mq->recvbuf->buf = &((mq->recvbuf->bufx)[0]); in maple_allocq()
239 kmem_cache_free(maple_queue_cache, mdev->mq->recvbuf); in maple_free_dev()
262 *maple_sendptr++ = virt_to_phys(mq->recvbuf->buf); in maple_build_block()
333 char *p, *recvbuf; in maple_attach_driver() local
337 recvbuf = mdev->mq->recvbuf->buf; in maple_attach_driver()
340 memcpy(&mdev->devinfo.function, recvbuf + 4, 4); in maple_attach_driver()
341 memcpy(&mdev->devinfo.function_data[0], recvbuf + 8, 12); in maple_attach_driver()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c939 struct recv_buf *recvbuf; in sd_recv_rxfifo() local
948 recvbuf = rtw_dequeue_recvbuf(&recv_priv->free_recv_buf_queue); in sd_recv_rxfifo()
949 if (!recvbuf) { in sd_recv_rxfifo()
955 if (!recvbuf->pskb) { in sd_recv_rxfifo()
959 recvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in sd_recv_rxfifo()
961 if (recvbuf->pskb) { in sd_recv_rxfifo()
962 recvbuf->pskb->dev = adapter->pnetdev; in sd_recv_rxfifo()
964 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo()
966 skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sd_recv_rxfifo()
969 if (!recvbuf->pskb) { in sd_recv_rxfifo()
[all …]
/Linux-v4.19/include/linux/
Dmaple.h51 struct maple_buffer *recvbuf; member
72 void (*fileerr_handler)(struct maple_device *mdev, void *recvbuf);
/Linux-v4.19/drivers/isdn/hardware/avm/
Db1.c720 p->recvbuf.size = rsize; in avmcard_dma_alloc()
721 buf = pci_alloc_consistent(pdev, rsize, &p->recvbuf.dmaaddr); in avmcard_dma_alloc()
726 p->recvbuf.dmabuf = buf; in avmcard_dma_alloc()
741 pci_free_consistent(p->pcidev, p->recvbuf.size, in avmcard_dma_alloc()
742 p->recvbuf.dmabuf, p->recvbuf.dmaaddr); in avmcard_dma_alloc()
751 pci_free_consistent(p->pcidev, p->recvbuf.size, in avmcard_dma_free()
752 p->recvbuf.dmabuf, p->recvbuf.dmaaddr); in avmcard_dma_free()
Db1dma.c453 void *p = dma->recvbuf.dmabuf + 4; in b1dma_handle_rx()
608 dma->recvlen = *((u32 *)dma->recvbuf.dmabuf); in b1dma_handle_interrupt()
610 b1dma_writel(card, dma->recvbuf.dmaaddr + 4, AMCC_RXPTR); in b1dma_handle_interrupt()
623 b1dma_writel(card, dma->recvbuf.dmaaddr, AMCC_RXPTR); in b1dma_handle_interrupt()
743 b1dma_writel(card, card->dma->recvbuf.dmaaddr, AMCC_RXPTR); in b1dma_load_firmware()
928 rxoff = (dma_addr_t)b1dma_readl(card, AMCC_RXPTR)-card->dma->recvbuf.dmaaddr; in b1dma_proc_show()
Dc4.c509 void *p = dma->recvbuf.dmabuf; in c4_handle_rx()
705 c4outmeml(card->mbase + MBOX_UP_LEN, card->dma->recvbuf.size); in c4_handle_interrupt()
879 c4outmeml(card->mbase + MBOX_UP_ADDR, card->dma->recvbuf.dmaaddr); in c4_load_firmware()
880 c4outmeml(card->mbase + MBOX_UP_LEN, card->dma->recvbuf.size); in c4_load_firmware()
Davmcard.h54 avmcard_dmabuf recvbuf; member
/Linux-v4.19/drivers/mtd/maps/
Dvmu-flash.c103 memcpy(card->blockread, mq->recvbuf->buf + 12, in vmu_blockread()
515 res = (unsigned short *) (mq->recvbuf->buf); in vmu_queryblocks()
732 static void vmu_file_error(struct maple_device *mdev, void *recvbuf) in vmu_file_error() argument
734 enum maple_file_errors error = ((int *)recvbuf)[1]; in vmu_file_error()
/Linux-v4.19/drivers/isdn/mISDN/
Dl1oip_core.c652 unsigned char *recvbuf; in l1oip_socket_thread() local
659 recvbuf = kmalloc(recvbuf_size, GFP_KERNEL); in l1oip_socket_thread()
660 if (!recvbuf) { in l1oip_socket_thread()
666 iov.iov_base = recvbuf; in l1oip_socket_thread()
725 l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen); in l1oip_socket_thread()
750 kfree(recvbuf); in l1oip_socket_thread()
/Linux-v4.19/drivers/input/mouse/
Dmaplemouse.c32 unsigned char *res = mq->recvbuf->buf; in dc_mouse_callback()
/Linux-v4.19/drivers/input/joystick/
Dmaplecontrol.c32 unsigned char *res = mq->recvbuf->buf; in dc_pad_callback()
/Linux-v4.19/drivers/input/keyboard/
Dmaple_keyb.c143 unsigned long *buf = (unsigned long *)(mq->recvbuf->buf); in dc_kbd_callback()