Home
last modified time | relevance | path

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

/linux/drivers/crypto/tegra/
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/
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 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/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
/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()