Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
H A Decc.c550 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req()
551 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size); in nand_ecc_tweak_req()
565 memcpy((void *)tweak->databuf.out + orig->dataoffs, in nand_ecc_tweak_req()
566 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req()
586 memcpy(orig->databuf.in, in nand_ecc_restore_req()
587 tweak->databuf.in + orig->dataoffs, in nand_ecc_restore_req()
H A Decc-sw-bch.c318 for (i = 0, data = req->databuf.out; in nand_ecc_sw_bch_prepare_io_req()
339 u8 *data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
367 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
H A Decc-sw-hamming.c573 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/include/linux/mtd/
H A Dnand.h122 } databuf; member
937 iter->req.databuf.in = req->datbuf; in nanddev_io_page_iter_init()
974 iter->req.databuf.in = req->datbuf; in nanddev_io_block_iter_init()
996 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
1020 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_block()
H A Dmtd.h442 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
444 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
/linux/drivers/mtd/nand/spi/
H A Dcore.c505 buf = spinand->databuf; in spinand_read_from_cache_op()
566 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op()
590 void *buf = spinand->databuf; in spinand_write_to_cache_op()
604 memset(spinand->databuf, 0xff, nanddev_page_size(nand)); in spinand_write_to_cache_op()
607 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op()
1945 spinand->databuf = kzalloc(nanddev_eraseblock_size(nand), in spinand_init()
1947 if (!spinand->databuf) { in spinand_init()
1952 spinand->oobbuf = spinand->databuf in spinand_init()
[all...]
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_queue.c238 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 Dhisi_sas_v3_hw.c3573 u32 *databuf; in debugfs_snapshot_global_reg_v3_hw()
3576 databuf = hisi_hba->debugfs_port_reg[dump_index][phy_cnt].data;
3577 for (i = 0; i < port->count; i++, databuf++) { in debugfs_snapshot_axi_reg_v3_hw()
3579 *databuf = hisi_sas_phy_read32(hisi_hba, phy_cnt, in debugfs_snapshot_axi_reg_v3_hw()
3588 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; in debugfs_snapshot_axi_reg_v3_hw()
3591 for (i = 0; i < debugfs_global_reg.count; i++, databuf++) in debugfs_snapshot_ras_reg_v3_hw()
3592 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_ras_reg_v3_hw()
3599 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; in debugfs_snapshot_ras_reg_v3_hw()
3603 for (i = 0; i < axi->count; i++, databuf++) in debugfs_snapshot_itct_reg_v3_hw()
3604 *databuf in debugfs_snapshot_itct_reg_v3_hw()
3554 u32 *databuf; debugfs_snapshot_port_reg_v3_hw() local
3569 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; debugfs_snapshot_global_reg_v3_hw() local
3580 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; debugfs_snapshot_axi_reg_v3_hw() local
3593 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_RAS].data; debugfs_snapshot_ras_reg_v3_hw() local
3607 void *databuf = hisi_hba->debugfs_itct[dump_index].itct; debugfs_snapshot_itct_reg_v3_hw() local
3626 void *databuf = hisi_hba->debugfs_iost[dump_index].iost; debugfs_snapshot_iost_reg_v3_hw() local
[all...]
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c272 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 Dvl6180.c136 static int vl6180_read(struct i2c_client *client, u16 cmd, void *databuf, in vl6180_read() argument
142 { .addr = client->addr, .len = len, .buf = databuf, in vl6180_read()
/linux/drivers/mtd/
H A Dmtdcore.c2158 * @databuf: destination buffer to store ECC bytes
2167 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument
2170 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes()
2178 * @databuf: source buffer to get data bytes from
2187 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument
2190 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
/linux/sound/soc/intel/catpt/
H A Dpcm.c163 struct snd_dma_buffer *databuf = snd_pcm_get_dma_buf(substream); in catpt_arrange_page_table()
172 pfn = PFN_DOWN(snd_sgbuf_get_addr(databuf, i * PAGE_SIZE)); in catpt_arrange_page_table()
153 struct snd_dma_buffer *databuf = snd_pcm_get_dma_buf(substream); catpt_arrange_page_table() local
/linux/drivers/spi/
H A Dspi-amlogic-spifc-a4.c403 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/iio/adc/
H A Dpac1934.c443 void *databuf, u8 len) in pac1934_i2c_read()
455 .buf = databuf, in pac1934_i2c_read()
442 pac1934_i2c_read(struct i2c_client * client,u8 reg_addr,void * databuf,u8 len) pac1934_i2c_read() argument
/linux/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c1243 u8 *databuf, size_t *datasize, u32 xflags) in _ep11_wrapkey() argument
1351 memcpy(databuf, rep_pl->data, rep_pl->data_len); in _ep11_wrapkey()
/linux/drivers/net/wireless/ath/wil6210/
H A 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()
/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c589 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()