Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
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()
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()
/drivers/misc/genwqe/
Dcard_dev.c515 u8 *xbuf; in do_flash_update() local
544 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
545 if (xbuf == NULL) in do_flash_update()
558 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
563 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
639 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
651 u8 *xbuf; in do_flash_read() local
680 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
681 if (xbuf == NULL) in do_flash_read()
743 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]
/drivers/usb/gadget/function/
Drndis.c683 u8 *xbuf; in rndis_reset_response() local
687 while ((xbuf = rndis_get_next_response(params, &length))) in rndis_reset_response()
688 rndis_free_response(params, xbuf); in rndis_reset_response()