Home
last modified time | relevance | path

Searched refs:xbuf (Results 1 – 4 of 4) 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()
Dauxgm204.c83 u32 xbuf[4] = {}; in gm204_i2c_aux_xfer() local
100 memcpy(xbuf, data, size); in gm204_i2c_aux_xfer()
102 AUX_TRACE(&aux->base, "wr %08x", xbuf[i / 4]); in gm204_i2c_aux_xfer()
103 nvkm_wr32(device, 0x00d930 + base + i, xbuf[i / 4]); in gm204_i2c_aux_xfer()
151 xbuf[i / 4] = nvkm_rd32(device, 0x00d940 + base + i); in gm204_i2c_aux_xfer()
152 AUX_TRACE(&aux->base, "rd %08x", xbuf[i / 4]); in gm204_i2c_aux_xfer()
154 memcpy(data, xbuf, size); in gm204_i2c_aux_xfer()
/drivers/misc/genwqe/
Dcard_dev.c516 u8 *xbuf; in do_flash_update() local
545 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
546 if (xbuf == NULL) in do_flash_update()
559 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
564 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
640 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
652 u8 *xbuf; in do_flash_read() local
681 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
682 if (xbuf == NULL) in do_flash_read()
744 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]
/drivers/usb/gadget/function/
Drndis.c693 u8 *xbuf; in rndis_reset_response() local
697 while ((xbuf = rndis_get_next_response(params, &length))) in rndis_reset_response()
698 rndis_free_response(params, xbuf); in rndis_reset_response()