Home
last modified time | relevance | path

Searched refs:xbuf (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dauxg94.c83 u32 xbuf[4] = {}; in g94_i2c_aux_xfer() local
100 memcpy(xbuf, data, *size); in g94_i2c_aux_xfer()
102 AUX_TRACE(&aux->base, "wr %08x", xbuf[i / 4]); in g94_i2c_aux_xfer()
103 nvkm_wr32(device, 0x00e4c0 + base + i, xbuf[i / 4]); in g94_i2c_aux_xfer()
151 xbuf[i / 4] = nvkm_rd32(device, 0x00e4d0 + base + i); in g94_i2c_aux_xfer()
152 AUX_TRACE(&aux->base, "rd %08x", xbuf[i / 4]); in g94_i2c_aux_xfer()
154 memcpy(data, xbuf, *size); in g94_i2c_aux_xfer()
Dauxgm200.c83 u32 xbuf[4] = {}; in gm200_i2c_aux_xfer() local
100 memcpy(xbuf, data, *size); in gm200_i2c_aux_xfer()
102 AUX_TRACE(&aux->base, "wr %08x", xbuf[i / 4]); in gm200_i2c_aux_xfer()
103 nvkm_wr32(device, 0x00d930 + base + i, xbuf[i / 4]); in gm200_i2c_aux_xfer()
151 xbuf[i / 4] = nvkm_rd32(device, 0x00d940 + base + i); in gm200_i2c_aux_xfer()
152 AUX_TRACE(&aux->base, "rd %08x", xbuf[i / 4]); in gm200_i2c_aux_xfer()
154 memcpy(data, xbuf, *size); in gm200_i2c_aux_xfer()
/drivers/misc/genwqe/
Dcard_dev.c511 u8 *xbuf; in do_flash_update() local
540 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
541 if (xbuf == NULL) in do_flash_update()
554 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
559 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
635 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
647 u8 *xbuf; in do_flash_read() local
676 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
677 if (xbuf == NULL) in do_flash_read()
739 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]
/drivers/usb/gadget/function/
Drndis.c684 u8 *xbuf; in rndis_reset_response() local
688 while ((xbuf = rndis_get_next_response(params, &length))) in rndis_reset_response()
689 rndis_free_response(params, xbuf); in rndis_reset_response()
/drivers/net/hyperv/
Dnetvsc_drv.c827 void *xbuf = xdp->data_hard_start; in netvsc_alloc_recv_skb() local
830 if (xbuf) { in netvsc_alloc_recv_skb()
835 skb = build_skb(xbuf, frag_size); in netvsc_alloc_recv_skb()
838 __free_page(virt_to_page(xbuf)); in netvsc_alloc_recv_skb()