Lines Matching refs:recvbuf
144 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()
342 memcpy(&mdev->devinfo.area_code, recvbuf + 20, 1); in maple_attach_driver()
343 memcpy(&mdev->devinfo.connector_direction, recvbuf + 21, 1); in maple_attach_driver()
344 memcpy(&mdev->devinfo.product_name[0], recvbuf + 22, 30); in maple_attach_driver()
345 memcpy(&mdev->devinfo.standby_power, recvbuf + 112, 2); in maple_attach_driver()
346 memcpy(&mdev->devinfo.max_power, recvbuf + 114, 2); in maple_attach_driver()
578 char *recvbuf) in maple_response_devinfo() argument
595 submask = recvbuf[2] & 0x1F; in maple_response_devinfo()
603 static void maple_response_fileerr(struct maple_device *mdev, void *recvbuf) in maple_response_fileerr() argument
606 mdev->fileerr_handler(mdev, recvbuf); in maple_response_fileerr()
611 ((int *)recvbuf)[1]); in maple_response_fileerr()
635 char *recvbuf; in maple_dma_handler() local
644 recvbuf = mq->recvbuf->buf; in maple_dma_handler()
645 __flush_invalidate_region(sh_cacheop_vaddr(recvbuf), in maple_dma_handler()
647 code = recvbuf[0]; in maple_dma_handler()
656 maple_response_devinfo(mdev, recvbuf); in maple_dma_handler()
668 maple_response_fileerr(mdev, recvbuf); in maple_dma_handler()