Home
last modified time | relevance | path

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

/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c35 struct tegra_se_datbuf datbuf; member
278 msg_left = rctx->datbuf.size * 8; in tegra_sha_prep_cmd()
318 cpuvaddr[i++] = rctx->datbuf.addr; in tegra_sha_prep_cmd()
319 cpuvaddr[i++] = (u32)(SE_ADDR_HI_MSB(upper_32_bits(rctx->datbuf.addr)) | in tegra_sha_prep_cmd()
320 SE_ADDR_HI_SZ(rctx->datbuf.size)); in tegra_sha_prep_cmd()
347 msg_len, msg_left, rctx->datbuf.size, rctx->config); in tegra_sha_prep_cmd()
363 rctx->datbuf.size = 0; in tegra_sha_do_init()
421 rctx->datbuf.size = (req->nbytes + rctx->residue.size) - nresidue; in tegra_sha_do_update()
435 rctx->datbuf.buf = dma_alloc_coherent(se->dev, rctx->datbuf.size, in tegra_sha_do_update()
436 &rctx->datbuf.addr, GFP_KERNEL); in tegra_sha_do_update()
[all …]
H A Dtegra-se-aes.c38 struct tegra_se_datbuf datbuf; member
82 struct tegra_se_datbuf datbuf; member
113 memcpy(req->iv, rctx->datbuf.buf + offset, ctx->ivsize); in tegra_cbc_iv_copyback()
215 dma_addr_t addr = rctx->datbuf.addr; in tegra_aes_prep_cmd()
284 rctx->datbuf.size = rctx->len; in tegra_aes_do_one_req()
285 rctx->datbuf.buf = dma_alloc_coherent(se->dev, rctx->datbuf.size, in tegra_aes_do_one_req()
286 &rctx->datbuf.addr, GFP_KERNEL); in tegra_aes_do_one_req()
287 if (!rctx->datbuf.buf) { in tegra_aes_do_one_req()
292 scatterwalk_map_and_copy(rctx->datbuf.buf, req->src, 0, req->cryptlen, 0); in tegra_aes_do_one_req()
323 scatterwalk_map_and_copy(rctx->datbuf.buf, req->dst, 0, req->cryptlen, 1); in tegra_aes_do_one_req()
[all …]
/linux/drivers/mtd/
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 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.c261 ops.datbuf = buffer; in sm_read_sector()
340 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.c3470 buf = ops->datbuf; in nand_do_read_ops()
3886 if (!ops->datbuf) in nand_read_oob()
4319 uint8_t *buf = ops->datbuf; in nand_do_write_ops()
4459 ops.datbuf = (uint8_t *)buf; in panic_nand_write()
4494 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()
2967 ops.datbuf = pbuf; in do_otp_write()
3007 ops.datbuf = buf; in do_otp_lock()
3526 .datbuf = NULL, in flexonenand_check_blocks_erased()
/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/include/linux/mtd/
H A Dmtd.h77 uint8_t *datbuf; member