/linux/drivers/char/hw_random/ |
A D | tx4939-rng.c | 31 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/drivers/mtd/nand/ |
A D | ecc.c | 537 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req() 538 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size); in nand_ecc_tweak_req() 552 memcpy((void *)tweak->databuf.out + orig->dataoffs, in nand_ecc_tweak_req() 553 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req() 573 memcpy(orig->databuf.in, in nand_ecc_restore_req() 574 tweak->databuf.in + orig->dataoffs, in nand_ecc_restore_req()
|
A D | ecc-sw-bch.c | 319 for (i = 0, data = req->databuf.out; in nand_ecc_sw_bch_prepare_io_req() 340 u8 *data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req() 368 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
|
A D | ecc-sw-hamming.c | 573 for (i = 0, data = req->databuf.out; in nand_ecc_sw_hamming_prepare_io_req() 594 u8 *data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req() 622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
|
/linux/drivers/mtd/nand/spi/ |
A D | core.c | 371 buf = spinand->databuf; in spinand_read_from_cache_op() 400 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op() 424 void *buf = spinand->databuf; in spinand_write_to_cache_op() 438 memset(spinand->databuf, 0xff, nanddev_page_size(nand)); in spinand_write_to_cache_op() 441 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op() 1193 spinand->databuf = kzalloc(nanddev_page_size(nand) + in spinand_init() 1196 if (!spinand->databuf) { in spinand_init() 1201 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init() 1265 kfree(spinand->databuf); in spinand_init() 1276 kfree(spinand->databuf); in spinand_cleanup()
|
/linux/drivers/firmware/tegra/ |
A D | bpmp-debugfs.c | 371 char *databuf = NULL; in bpmp_debug_store() local 380 databuf = kmalloc(count, GFP_KERNEL); in bpmp_debug_store() 381 if (!databuf) in bpmp_debug_store() 384 if (copy_from_user(databuf, buf, count)) { in bpmp_debug_store() 389 err = mrq_debug_write(bpmp, filename, databuf, count); in bpmp_debug_store() 392 kfree(databuf); in bpmp_debug_store()
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
A D | usb.c | 46 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/include/linux/mtd/ |
A D | nand.h | 120 } databuf; member 888 iter->req.databuf.in = req->datbuf; in nanddev_io_iter_init() 910 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
|
A D | mtd.h | 440 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, 442 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
|
A D | spinand.h | 442 u8 *databuf; member
|
/linux/drivers/scsi/hisi_sas/ |
A D | hisi_sas_v3_hw.c | 3276 u32 *databuf; in debugfs_snapshot_port_reg_v3_hw() local 3280 for (i = 0; i < port->count; i++, databuf++) { in debugfs_snapshot_port_reg_v3_hw() 3282 *databuf = hisi_sas_phy_read32(hisi_hba, phy_cnt, in debugfs_snapshot_port_reg_v3_hw() 3294 for (i = 0; i < debugfs_axi_reg.count; i++, databuf++) in debugfs_snapshot_global_reg_v3_hw() 3295 *databuf = hisi_sas_read32(hisi_hba, 4 * i); in debugfs_snapshot_global_reg_v3_hw() 3305 for (i = 0; i < axi->count; i++, databuf++) in debugfs_snapshot_axi_reg_v3_hw() 3316 for (i = 0; i < ras->count; i++, databuf++) in debugfs_snapshot_ras_reg_v3_hw() 3333 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in debugfs_snapshot_itct_reg_v3_hw() 3334 databuf += sizeof(struct hisi_sas_itct); in debugfs_snapshot_itct_reg_v3_hw() 3352 memcpy(databuf, iost, sizeof(struct hisi_sas_iost)); in debugfs_snapshot_iost_reg_v3_hw() [all …]
|
/linux/drivers/iio/light/ |
A D | vl6180.c | 128 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/net/sunrpc/auth_gss/ |
A D | auth_gss.c | 253 char databuf[UPCALL_BUF_LEN]; member 394 memcpy(gss_msg->databuf, &uid, sizeof(uid)); in gss_encode_v0_msg() 395 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v0_msg() 398 BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); in gss_encode_v0_msg() 420 char *p = gss_msg->databuf; in gss_encode_v1_msg() 421 size_t buflen = sizeof(gss_msg->databuf); in gss_encode_v1_msg() 474 trace_rpcgss_upcall_msg(gss_msg->databuf); in gss_encode_v1_msg() 479 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v1_msg()
|
/linux/drivers/mtd/nand/raw/atmel/ |
A D | nand-controller.c | 856 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() 893 databuf += chip->ecc.size; in atmel_nand_pmecc_correct_data()
|
/linux/drivers/mtd/ |
A D | mtdcore.c | 1930 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument 1933 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes() 1950 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument 1953 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
|
/linux/drivers/hid/ |
A D | hid-sony.c | 660 u8 *databuf; in ghl_init_urb() local 670 databuf = devm_kzalloc(&sc->hdev->dev, poke_size, GFP_ATOMIC); in ghl_init_urb() 671 if (databuf == NULL) in ghl_init_urb() 680 memcpy(databuf, ghl_magic_data, poke_size); in ghl_init_urb() 683 (unsigned char *) cr, databuf, poke_size, in ghl_init_urb()
|
/linux/sound/soc/intel/catpt/ |
A D | pcm.c | 157 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/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 609 u8 databuf[sizeof(struct gcm_context_data) + (AESNI_ALIGN - 8)] __aligned(8); in gcmaes_crypt_by_sg() local 610 struct gcm_context_data *data = PTR_ALIGN((void *)databuf, AESNI_ALIGN); in gcmaes_crypt_by_sg()
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_ep11misc.c | 1071 u8 *databuf, size_t *datasize) in ep11_wrapkey() argument 1191 memcpy(databuf, rep_pl->data, rep_pl->data_len); in ep11_wrapkey()
|
/linux/drivers/mtd/nand/raw/ |
A D | meson_nand.c | 473 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/drivers/net/wireless/ath/wil6210/ |
A D | debugfs.c | 333 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()
|