| /linux/drivers/mtd/nand/ |
| H A D | ecc.c | 543 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req() 544 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size); in nand_ecc_tweak_req() 558 memcpy((void *)tweak->databuf.out + orig->dataoffs, in nand_ecc_tweak_req() 559 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req() 579 memcpy(orig->databuf.in, in nand_ecc_restore_req() 580 tweak->databuf.in + orig->dataoffs, in nand_ecc_restore_req()
|
| H 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()
|
| H 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()
|
| H A D | ecc-realtek.c | 238 data = req->databuf.in; in rtl_ecc_prepare_io_req() 273 data = req->databuf.in; in rtl_ecc_finish_io_req()
|
| H A D | ecc-mxic.c | 572 sg_set_buf(&ctx->sg[0], req->databuf.out, req->datalen); in mxic_ecc_prepare_io_req_external() 630 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); in mxic_ecc_finish_io_req_external() 684 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); in mxic_ecc_prepare_io_req_pipelined()
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-gcm-p10-glue.c | 213 u8 databuf[sizeof(struct gcm_ctx) + PPC_ALIGN]; in p10_aes_gcm_crypt() local 214 struct gcm_ctx *gctx = PTR_ALIGN((void *)databuf, PPC_ALIGN); in p10_aes_gcm_crypt() 229 memset(databuf, 0, sizeof(databuf)); in p10_aes_gcm_crypt()
|
| /linux/drivers/firmware/tegra/ |
| H A D | bpmp-debugfs.c | 371 char *databuf = NULL; in bpmp_debug_store() local 380 databuf = memdup_user(buf, count); in bpmp_debug_store() 381 if (IS_ERR(databuf)) in bpmp_debug_store() 382 return PTR_ERR(databuf); in bpmp_debug_store() 384 err = mrq_debug_write(bpmp, filename, databuf, count); in bpmp_debug_store() 385 kfree(databuf); in bpmp_debug_store()
|
| /linux/include/linux/mtd/ |
| H A D | nand.h | 122 } databuf; member 935 iter->req.databuf.in = req->datbuf; in nanddev_io_page_iter_init() 972 iter->req.databuf.in = req->datbuf; in nanddev_io_block_iter_init() 994 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page() 1018 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_block()
|
| H A D | mtd.h | 442 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, 444 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
|
| H A D | spinand.h | 778 u8 *databuf; member
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | core.c | 473 buf = spinand->databuf; in spinand_read_from_cache_op() 527 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op() 551 void *buf = spinand->databuf; in spinand_write_to_cache_op() 565 memset(spinand->databuf, 0xff, nanddev_page_size(nand)); in spinand_write_to_cache_op() 568 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op() 1849 spinand->databuf = kzalloc(nanddev_eraseblock_size(nand), in spinand_init() 1851 if (!spinand->databuf) { in spinand_init() 1856 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init() 1934 kfree(spinand->databuf); in spinand_init() 1946 kfree(spinand->databuf); in spinand_cleanup()
|
| H A D | otp.c | 95 req.databuf.in = buf; in spinand_otp_rw() 110 req.databuf.in += req.datalen; in spinand_otp_rw()
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_queue.c | 238 const struct fun_dataop_rqbuf *databuf; in fun_data_from_rq() local 247 databuf = (struct fun_dataop_rqbuf *)dataop->imm; in fun_data_from_rq() 248 bufoff = be32_to_cpu(databuf->bufoff); in fun_data_from_rq()
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_v3_hw.c | 3544 u32 *databuf; in debugfs_snapshot_port_reg_v3_hw() local 3547 databuf = hisi_hba->debugfs_port_reg[dump_index][phy_cnt].data; in debugfs_snapshot_port_reg_v3_hw() 3548 for (i = 0; i < port->count; i++, databuf++) { in debugfs_snapshot_port_reg_v3_hw() 3550 *databuf = hisi_sas_phy_read32(hisi_hba, phy_cnt, in debugfs_snapshot_port_reg_v3_hw() 3559 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; in debugfs_snapshot_global_reg_v3_hw() local 3562 for (i = 0; i < debugfs_global_reg.count; i++, databuf++) in debugfs_snapshot_global_reg_v3_hw() 3563 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_global_reg_v3_hw() 3570 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; in debugfs_snapshot_axi_reg_v3_hw() local 3574 for (i = 0; i < axi->count; i++, databuf++) in debugfs_snapshot_axi_reg_v3_hw() 3575 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_axi_reg_v3_hw() [all …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | auth_gss.c | 272 char databuf[UPCALL_BUF_LEN]; member 413 memcpy(gss_msg->databuf, &uid, sizeof(uid)); in gss_encode_v0_msg() 414 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v0_msg() 417 BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); in gss_encode_v0_msg() 439 char *p = gss_msg->databuf; in gss_encode_v1_msg() 440 size_t buflen = sizeof(gss_msg->databuf); in gss_encode_v1_msg() 493 trace_rpcgss_upcall_msg(gss_msg->databuf); in gss_encode_v1_msg() 498 gss_msg->msg.data = gss_msg->databuf; in gss_encode_v1_msg()
|
| /linux/drivers/iio/light/ |
| H A D | vl6180.c | 137 static int vl6180_read(struct i2c_client *client, u16 cmd, void *databuf, in vl6180_read() argument 143 { .addr = client->addr, .len = len, .buf = databuf, in vl6180_read()
|
| /linux/drivers/mtd/nand/raw/atmel/ |
| H A D | nand-controller.c | 857 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local 874 databuf = buf; in atmel_nand_pmecc_correct_data() 877 ret = atmel_pmecc_correct_sector(nand->pmecc, i, databuf, in atmel_nand_pmecc_correct_data() 880 ret = nand_check_erased_ecc_chunk(databuf, in atmel_nand_pmecc_correct_data() 894 databuf += chip->ecc.size; in atmel_nand_pmecc_correct_data()
|
| /linux/drivers/mtd/ |
| H A D | mtdcore.c | 2134 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument 2137 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes() 2154 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument 2157 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 153 struct snd_dma_buffer *databuf = snd_pcm_get_dma_buf(substream); in catpt_arrange_page_table() local 162 pfn = PFN_DOWN(snd_sgbuf_get_addr(databuf, i * PAGE_SIZE)); in catpt_arrange_page_table()
|
| /linux/drivers/iio/adc/ |
| H A D | pac1934.c | 442 void *databuf, u8 len) in pac1934_i2c_read() argument 454 .buf = databuf, in pac1934_i2c_read()
|
| /linux/drivers/spi/ |
| H A D | spi-amlogic-spifc-a4.c | 403 static int aml_sfc_dma_buffer_setup(struct aml_sfc *sfc, void *databuf, in aml_sfc_dma_buffer_setup() argument 410 sfc->daddr = dma_map_single(sfc->dev, databuf, datalen, dir); in aml_sfc_dma_buffer_setup()
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 1237 u8 *databuf, size_t *datasize, u32 xflags) in _ep11_wrapkey() argument 1345 memcpy(databuf, rep_pl->data, rep_pl->data_len); in _ep11_wrapkey()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H 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()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | meson_nand.c | 589 static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, in meson_nfc_dma_buffer_setup() argument 597 nfc->daddr = dma_map_single(nfc->dev, databuf, datalen, dir); in meson_nfc_dma_buffer_setup()
|