Home
last modified time | relevance | path

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

/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c34 struct tegra_se_datbuf datbuf; member
277 msg_left = rctx->datbuf.size * 8; in tegra_sha_prep_cmd()
317 cpuvaddr[i++] = rctx->datbuf.addr; in tegra_sha_prep_cmd()
318 cpuvaddr[i++] = (u32)(SE_ADDR_HI_MSB(upper_32_bits(rctx->datbuf.addr)) | in tegra_sha_prep_cmd()
319 SE_ADDR_HI_SZ(rctx->datbuf.size)); in tegra_sha_prep_cmd()
346 msg_len, msg_left, rctx->datbuf.size, rctx->config); in tegra_sha_prep_cmd()
362 rctx->datbuf.size = 0; in tegra_sha_do_init()
420 rctx->datbuf.size = (req->nbytes + rctx->residue.size) - nresidue; in tegra_sha_do_update()
434 rctx->datbuf.buf = dma_alloc_coherent(se->dev, rctx->datbuf.size, in tegra_sha_do_update()
435 &rctx->datbuf.addr, GFP_KERNEL); in tegra_sha_do_update()
[all …]
H A Dtegra-se-aes.c37 struct tegra_se_datbuf datbuf; member
81 struct tegra_se_datbuf datbuf; member
112 memcpy(req->iv, rctx->datbuf.buf + offset, ctx->ivsize); in tegra_cbc_iv_copyback()
214 dma_addr_t addr = rctx->datbuf.addr; in tegra_aes_prep_cmd()
283 rctx->datbuf.size = rctx->len; in tegra_aes_do_one_req()
284 rctx->datbuf.buf = dma_alloc_coherent(se->dev, rctx->datbuf.size, in tegra_aes_do_one_req()
285 &rctx->datbuf.addr, GFP_KERNEL); in tegra_aes_do_one_req()
286 if (!rctx->datbuf.buf) { in tegra_aes_do_one_req()
291 scatterwalk_map_and_copy(rctx->datbuf.buf, req->src, 0, req->cryptlen, 0); in tegra_aes_do_one_req()
322 scatterwalk_map_and_copy(rctx->datbuf.buf, req->dst, 0, req->cryptlen, 1); in tegra_aes_do_one_req()
[all …]
/linux/drivers/mtd/tests/
H A Doobtest.c71 ops.datbuf = NULL; in write_eraseblock()
181 ops.datbuf = NULL; in verify_eraseblock()
218 ops.datbuf = NULL; in verify_eraseblock()
278 ops.datbuf = NULL; in verify_eraseblock_in_one_go()
502 ops.datbuf = NULL; in mtd_oobtest_init()
521 ops.datbuf = NULL; in mtd_oobtest_init()
547 ops.datbuf = NULL; in mtd_oobtest_init()
566 ops.datbuf = NULL; in mtd_oobtest_init()
592 ops.datbuf = NULL; in mtd_oobtest_init()
611 ops.datbuf = NULL; in mtd_oobtest_init()
[all …]
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/
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
627 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
628 if (!datbuf) in mtdchar_write_ioctl()
636 kvfree(datbuf); in mtdchar_write_ioctl()
646 .datbuf = datbuf, in mtdchar_write_ioctl()
668 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.c1566 .datbuf = buf, in mtd_read()
1585 .datbuf = (u8 *)buf, in mtd_write()
1634 if (!ops->datbuf) in mtd_check_oob_ops()
1670 ops->datbuf); in mtd_read_oob_std()
1686 ops->datbuf); in mtd_write_oob_std()
1744 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.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.c3469 buf = ops->datbuf; in nand_do_read_ops()
3885 if (!ops->datbuf) in nand_read_oob()
4318 uint8_t *buf = ops->datbuf; in nand_do_write_ops()
4458 ops.datbuf = (uint8_t *)buf; in panic_nand_write()
4493 if (!ops->datbuf) in nand_write_oob()
/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/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()