Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/security/keys/
Dproc.c158 char xbuf[16]; in proc_keys_show() local
200 memcpy(xbuf, "perm", 5); in proc_keys_show()
202 memcpy(xbuf, "expd", 5); in proc_keys_show()
207 sprintf(xbuf, "%llus", timo); in proc_keys_show()
209 sprintf(xbuf, "%llum", div_u64(timo, 60)); in proc_keys_show()
211 sprintf(xbuf, "%lluh", div_u64(timo, 60 * 60)); in proc_keys_show()
213 sprintf(xbuf, "%llud", div_u64(timo, 60 * 60 * 24)); in proc_keys_show()
215 sprintf(xbuf, "%lluw", div_u64(timo, 60 * 60 * 24 * 7)); in proc_keys_show()
234 xbuf, in proc_keys_show()
/Linux-v5.4/crypto/
Dtcrypt.c112 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
133 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
136 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
151 char *xbuf[XBUFSIZE]; member
294 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
296 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
381 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
444 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
533 char *xbuf[XBUFSIZE]; in test_aead_speed() local
554 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
[all …]
Dtestmgr.c2357 char *xbuf[XBUFSIZE]; in test_cipher() local
2360 if (testmgr_alloc_buf(xbuf)) in test_cipher()
2382 data = xbuf[0]; in test_cipher()
2429 testmgr_free_buf(xbuf); in test_cipher()
3648 char *xbuf[XBUFSIZE]; in test_akcipher_one() local
3661 if (testmgr_alloc_buf(xbuf)) in test_akcipher_one()
3716 memcpy(xbuf[0], m, m_size); in test_akcipher_one()
3719 sg_set_buf(&src_tab[0], xbuf[0], 8); in test_akcipher_one()
3720 sg_set_buf(&src_tab[1], xbuf[0] + 8, m_size - 8); in test_akcipher_one()
3724 memcpy(xbuf[1], c, c_size); in test_akcipher_one()
[all …]
/Linux-v5.4/drivers/misc/genwqe/
Dcard_dev.c506 u8 *xbuf; in do_flash_update() local
535 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
536 if (xbuf == NULL) in do_flash_update()
549 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
554 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
630 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
642 u8 *xbuf; in do_flash_read() local
671 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
672 if (xbuf == NULL) in do_flash_read()
734 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]
/Linux-v5.4/sound/core/seq/
Dseq_midi_event.c321 unsigned char xbuf[4]; in snd_midi_event_decode() local
328 xbuf[0] = cmd; in snd_midi_event_decode()
330 status_event[type].decode(ev, xbuf + 1); in snd_midi_event_decode()
335 status_event[type].decode(ev, xbuf + 0); in snd_midi_event_decode()
340 memcpy(buf, xbuf, qlen); in snd_midi_event_decode()
/Linux-v5.4/drivers/usb/gadget/function/
Drndis.c678 u8 *xbuf; in rndis_reset_response() local
682 while ((xbuf = rndis_get_next_response(params, &length))) in rndis_reset_response()
683 rndis_free_response(params, xbuf); in rndis_reset_response()