Home
last modified time | relevance | path

Searched refs:databuf (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/char/hw_random/
Dtx4939-rng.c31 u64 databuf[3]; member
76 rngdev->databuf[0] = in tx4939_rng_data_present()
78 rngdev->databuf[1] = in tx4939_rng_data_present()
80 rngdev->databuf[2] = in tx4939_rng_data_present()
83 sizeof(rngdev->databuf) / sizeof(u32); in tx4939_rng_data_present()
103 *buffer = *((u32 *)&rngdev->databuf + rngdev->data_avail); in tx4939_rng_data_read()
/Linux-v5.10/drivers/firmware/tegra/
Dbpmp-debugfs.c299 char *databuf = NULL; in bpmp_debug_show() local
306 len = seq_get_buf(m, &databuf); in bpmp_debug_show()
307 if (!databuf) in bpmp_debug_show()
314 err = mrq_debug_read(bpmp, filename, databuf, len, &nbytes); in bpmp_debug_show()
326 char *databuf = NULL; in bpmp_debug_store() local
335 databuf = kmalloc(count, GFP_KERNEL); in bpmp_debug_store()
336 if (!databuf) in bpmp_debug_store()
339 if (copy_from_user(databuf, buf, count)) { in bpmp_debug_store()
344 err = mrq_debug_write(bpmp, filename, databuf, count); in bpmp_debug_store()
347 kfree(databuf); in bpmp_debug_store()
/Linux-v5.10/drivers/mtd/nand/spi/
Dcore.c225 buf = spinand->databuf; in spinand_read_from_cache_op()
254 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op()
278 void *buf = spinand->databuf; in spinand_write_to_cache_op()
289 memset(spinand->databuf, 0xff, nbytes); in spinand_write_to_cache_op()
292 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op()
1016 spinand->databuf = kzalloc(nanddev_page_size(nand) + in spinand_init()
1019 if (!spinand->databuf) { in spinand_init()
1024 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init()
1105 kfree(spinand->databuf); in spinand_init()
1116 kfree(spinand->databuf); in spinand_cleanup()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Dusb.c46 u8 *databuf; in _usbctrl_vendorreq_async_write() local
58 databuf = kzalloc(databuf_maxlen, GFP_ATOMIC); in _usbctrl_vendorreq_async_write()
59 if (!databuf) { in _usbctrl_vendorreq_async_write()
66 kfree(databuf); in _usbctrl_vendorreq_async_write()
77 memcpy(databuf, pdata, len); in _usbctrl_vendorreq_async_write()
79 (unsigned char *)dr, databuf, len, in _usbctrl_vendorreq_async_write()
83 kfree(databuf); in _usbctrl_vendorreq_async_write()
/Linux-v5.10/include/linux/mtd/
Dnand.h120 } databuf; member
814 iter->req.databuf.in = req->datbuf; in nanddev_io_iter_init()
836 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
Dmtd.h436 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
438 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
Dspinand.h411 u8 *databuf; member
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2746 u32 *databuf; in hisi_sas_debugfs_snapshot_port_reg() local
2749 databuf = hisi_hba->debugfs_port_reg[dump_index][phy_cnt].data; in hisi_sas_debugfs_snapshot_port_reg()
2750 for (i = 0; i < port->count; i++, databuf++) { in hisi_sas_debugfs_snapshot_port_reg()
2752 *databuf = port->read_port_reg(hisi_hba, phy_cnt, in hisi_sas_debugfs_snapshot_port_reg()
2761 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; in hisi_sas_debugfs_snapshot_global_reg() local
2767 for (i = 0; i < global->count; i++, databuf++) in hisi_sas_debugfs_snapshot_global_reg()
2768 *databuf = global->read_global_reg(hisi_hba, 4 * i); in hisi_sas_debugfs_snapshot_global_reg()
2774 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; in hisi_sas_debugfs_snapshot_axi_reg() local
2780 for (i = 0; i < axi->count; i++, databuf++) in hisi_sas_debugfs_snapshot_axi_reg()
2781 *databuf = axi->read_global_reg(hisi_hba, in hisi_sas_debugfs_snapshot_axi_reg()
[all …]
/Linux-v5.10/drivers/iio/light/
Dvl6180.c128 static int vl6180_read(struct i2c_client *client, u16 cmd, void *databuf, in vl6180_read() argument
134 { .addr = client->addr, .len = len, .buf = databuf, in vl6180_read()
/Linux-v5.10/net/sunrpc/auth_gss/
Dauth_gss.c281 char databuf[UPCALL_BUF_LEN]; member
422 memcpy(gss_msg->databuf, &uid, sizeof(uid)); in gss_encode_v0_msg()
423 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v0_msg()
426 BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); in gss_encode_v0_msg()
448 char *p = gss_msg->databuf; in gss_encode_v1_msg()
449 size_t buflen = sizeof(gss_msg->databuf); in gss_encode_v1_msg()
502 trace_rpcgss_upcall_msg(gss_msg->databuf); in gss_encode_v1_msg()
507 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v1_msg()
/Linux-v5.10/drivers/mtd/
Dmtdcore.c1767 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument
1770 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes()
1787 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument
1790 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
/Linux-v5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c856 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
873 databuf = buf; in atmel_nand_pmecc_correct_data()
876 ret = atmel_pmecc_correct_sector(nand->pmecc, i, databuf, in atmel_nand_pmecc_correct_data()
879 ret = nand_check_erased_ecc_chunk(databuf, in atmel_nand_pmecc_correct_data()
891 databuf += chip->ecc.size; in atmel_nand_pmecc_correct_data()
/Linux-v5.10/sound/soc/intel/catpt/
Dpcm.c157 struct snd_dma_buffer *databuf = snd_pcm_get_dma_buf(substream); in catpt_arrange_page_table() local
166 pfn = PFN_DOWN(snd_sgbuf_get_addr(databuf, i * PAGE_SIZE)); in catpt_arrange_page_table()
/Linux-v5.10/drivers/s390/crypto/
Dzcrypt_ep11misc.c1071 u8 *databuf, size_t *datasize) in ep11_wrapkey() argument
1191 memcpy(databuf, rep_pl->data, rep_pl->data_len); in ep11_wrapkey()
/Linux-v5.10/drivers/mtd/nand/raw/
Dmeson_nand.c473 static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, in meson_nfc_dma_buffer_setup() argument
481 nfc->daddr = dma_map_single(nfc->dev, databuf, datalen, dir); in meson_nfc_dma_buffer_setup()
/Linux-v5.10/drivers/net/wireless/ath/wil6210/
Ddebugfs.c333 unsigned char databuf[MAX_MBOXITEM_SIZE]; in wil_print_mbox_ring() local
341 wil_memcpy_fromio_32(databuf, src, len); in wil_print_mbox_ring()
342 wil_seq_hexdump(s, databuf, len, " : "); in wil_print_mbox_ring()