Home
last modified time | relevance | path

Searched refs:datbuf (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c34 struct tegra_se_datbuf datbuf; member
221 msg_left = rctx->datbuf.size * 8; in tegra_sha_prep_cmd()
255 cpuvaddr[i++] = rctx->datbuf.addr; in tegra_sha_prep_cmd()
256 cpuvaddr[i++] = (u32)(SE_ADDR_HI_MSB(upper_32_bits(rctx->datbuf.addr)) | in tegra_sha_prep_cmd()
257 SE_ADDR_HI_SZ(rctx->datbuf.size)); in tegra_sha_prep_cmd()
319 rctx->datbuf.size = (req->nbytes + rctx->residue.size) - nresidue; in tegra_sha_do_update()
320 rctx->total_len += rctx->datbuf.size; in tegra_sha_do_update()
336 memcpy(rctx->datbuf.buf, rctx->residue.buf, rctx->residue.size); in tegra_sha_do_update()
338 scatterwalk_map_and_copy(rctx->datbuf.buf + rctx->residue.size, in tegra_sha_do_update()
382 memcpy(rctx->datbuf.buf, rctx->residue.buf, rctx->residue.size); in tegra_sha_do_final()
[all …]
/linux/drivers/mtd/
H A Dmtdchar.c172 ops.datbuf = kbuf; in mtdchar_read()
266 ops.datbuf = kbuf; in mtdchar_write()
358 ops.datbuf = NULL; in mtdchar_writeoob()
395 ops.datbuf = NULL; in mtdchar_readoob()
599 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_write_ioctl() local
626 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
627 if (!datbuf) in mtdchar_write_ioctl()
635 kvfree(datbuf); in mtdchar_write_ioctl()
645 .datbuf = datbuf, in mtdchar_write_ioctl()
667 if (copy_from_user(datbuf, usr_data, ops.len) || in mtdchar_write_ioctl()
[all …]
H A Dmtdconcat.c298 if (devops.datbuf) { in concat_read_oob()
302 devops.datbuf += devops.retlen; in concat_read_oob()
346 if (devops.datbuf) { in concat_write_oob()
350 devops.datbuf += devops.retlen; in concat_write_oob()
H A Dnftlcore.c134 ops.datbuf = NULL; in nftl_read_oob()
155 ops.datbuf = NULL; in nftl_write_oob()
178 ops.datbuf = buf; in nftl_write()
H A Dinftlcore.c146 ops.datbuf = NULL; in inftl_read_oob()
166 ops.datbuf = NULL; in inftl_write_oob()
186 ops.datbuf = buf; in inftl_write()
H A Dmtdcore.c1510 .datbuf = buf, in mtd_read()
1529 .datbuf = (u8 *)buf, in mtd_write()
1578 if (!ops->datbuf) in mtd_check_oob_ops()
1614 ops->datbuf); in mtd_read_oob_std()
1630 ops->datbuf); in mtd_write_oob_std()
1688 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()
H A Dssfdc.c172 ops.datbuf = NULL; in read_raw_oob()
H A Dmtdswap.c337 ops.datbuf = NULL; in mtdswap_read_markers()
378 ops.datbuf = NULL; in mtdswap_write_marker()
888 ops.datbuf = d->page_buf; in mtdswap_eblk_passes()
H A Dsm_ftl.c263 ops.datbuf = buffer; in sm_read_sector()
342 ops.datbuf = buffer; in sm_write_sector()
/linux/drivers/mtd/nand/raw/
H A Dsm_common.c115 ops.datbuf = NULL; in sm_block_markbad()
H A Dnand_bbt.c324 ops.datbuf = buf; in scan_read_oob()
362 ops.datbuf = buf; in scan_write_bbt()
425 ops.datbuf = NULL; in scan_block_fast()
762 ops.datbuf = NULL; in write_bbt()
H A Dnand_base.c3600 buf = ops->datbuf; in nand_do_read_ops()
4016 if (!ops->datbuf) in nand_read_oob()
4449 uint8_t *buf = ops->datbuf; in nand_do_write_ops()
4589 ops.datbuf = (uint8_t *)buf; in panic_nand_write()
4624 if (!ops->datbuf) in nand_write_oob()
/linux/drivers/mtd/tests/
H A Dreadtest.c58 ops.datbuf = NULL; in read_eraseblock_by_page()
H A Dnandbiterrs.c113 ops.datbuf = wbuffer; in rewrite_page()
/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1121 u_char *buf = ops->datbuf; in onenand_mlc_read_ops_nolock()
1222 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1460 if (ops->datbuf) in onenand_read_oob()
1806 const u_char *buf = ops->datbuf; in onenand_write_ops_nolock()
2102 if (ops->datbuf) in onenand_write_oob()
2914 .datbuf = buf, in do_otp_read()
2966 ops.datbuf = pbuf; in do_otp_write()
3006 ops.datbuf = buf; in do_otp_lock()
3525 .datbuf = NULL, in flexonenand_check_blocks_erased()
/linux/include/linux/mtd/
H A Dnand.h935 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()
H A Dmtd.h77 uint8_t *datbuf; member
/linux/fs/jffs2/
H A Dwbuf.c1044 ops.datbuf = NULL; in jffs2_check_oob_empty()
1086 ops.datbuf = NULL; in jffs2_check_nand_cleanmarker()
1111 ops.datbuf = NULL; in jffs2_write_nand_cleanmarker()
/linux/drivers/mtd/devices/
H A Ddocg3.c871 u8 *buf = ops->datbuf; in doc_read_oob()
1388 u8 *buf = ops->datbuf; in doc_write_oob()