Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dgm204.c77 u32 xbuf[4] = {}; in gm204_aux() local
95 memcpy(xbuf, data, size); in gm204_aux()
97 AUX_DBG("wr 0x%08x\n", xbuf[i / 4]); in gm204_aux()
98 nv_wr32(aux, 0x00d930 + (ch * 0x50) + i, xbuf[i / 4]); in gm204_aux()
146 xbuf[i / 4] = nv_rd32(aux, 0x00d940 + (ch * 0x50) + i); in gm204_aux()
147 AUX_DBG("rd 0x%08x\n", xbuf[i / 4]); in gm204_aux()
149 memcpy(data, xbuf, size); in gm204_aux()
Dg94.c107 u32 xbuf[4] = {}; in g94_aux() local
125 memcpy(xbuf, data, size); in g94_aux()
127 AUX_DBG("wr 0x%08x\n", xbuf[i / 4]); in g94_aux()
128 nv_wr32(aux, 0x00e4c0 + (ch * 0x50) + i, xbuf[i / 4]); in g94_aux()
176 xbuf[i / 4] = nv_rd32(aux, 0x00e4d0 + (ch * 0x50) + i); in g94_aux()
177 AUX_DBG("rd 0x%08x\n", xbuf[i / 4]); in g94_aux()
179 memcpy(data, xbuf, size); in g94_aux()
/linux-4.1.27/security/keys/
Dproc.c184 char xbuf[12]; in proc_keys_show() local
225 memcpy(xbuf, "perm", 5); in proc_keys_show()
227 memcpy(xbuf, "expd", 5); in proc_keys_show()
232 sprintf(xbuf, "%lus", timo); in proc_keys_show()
234 sprintf(xbuf, "%lum", timo / 60); in proc_keys_show()
236 sprintf(xbuf, "%luh", timo / (60*60)); in proc_keys_show()
238 sprintf(xbuf, "%lud", timo / (60*60*24)); in proc_keys_show()
240 sprintf(xbuf, "%luw", timo / (60*60*24*7)); in proc_keys_show()
256 xbuf, in proc_keys_show()
/linux-4.1.27/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 …]
/linux-4.1.27/sound/core/seq/
Dseq_midi_event.c388 unsigned char xbuf[4]; in snd_midi_event_decode() local
395 xbuf[0] = cmd; in snd_midi_event_decode()
397 status_event[type].decode(ev, xbuf + 1); in snd_midi_event_decode()
402 status_event[type].decode(ev, xbuf + 0); in snd_midi_event_decode()
407 memcpy(buf, xbuf, qlen); in snd_midi_event_decode()
/linux-4.1.27/crypto/
Dtestmgr.c203 char *xbuf[XBUFSIZE]; in __test_hash() local
212 if (testmgr_alloc_buf(xbuf)) in __test_hash()
238 hash_buff = xbuf[0]; in __test_hash()
321 memcpy(xbuf[IDX[k] >> PAGE_SHIFT] + in __test_hash()
383 testmgr_free_buf(xbuf); in __test_hash()
437 char *xbuf[XBUFSIZE]; in __test_aead() local
447 if (testmgr_alloc_buf(xbuf)) in __test_aead()
492 input = xbuf[0]; in __test_aead()
642 q = xbuf[IDX[k] >> PAGE_SHIFT] + offset_in_page(IDX[k]); in __test_aead()
743 q = xbuf[IDX[k] >> PAGE_SHIFT] + in __test_aead()
[all …]
Dtcrypt.c247 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
263 sg_set_buf(&sg[k], xbuf[k], PAGE_SIZE); in sg_init_aead()
265 sg_set_buf(&sg[k], xbuf[k], rem); in sg_init_aead()
284 char *xbuf[XBUFSIZE]; in test_aead_speed() local
304 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
377 sg_init_aead(&sg[0], xbuf, in test_aead_speed()
413 testmgr_free_buf(xbuf); in test_aead_speed()