Searched refs:datbuf (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 35 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 D | tegra-se-aes.c | 38 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 D | mtdconcat.c | 286 if (devops.datbuf) { in concat_read_oob() 290 devops.datbuf += devops.retlen; in concat_read_oob() 334 if (devops.datbuf) { in concat_write_oob() 338 devops.datbuf += devops.retlen; in concat_write_oob()
|
| H A D | nftlcore.c | 134 ops.datbuf = NULL; in nftl_read_oob() 155 ops.datbuf = NULL; in nftl_write_oob() 178 ops.datbuf = buf; in nftl_write()
|
| H A D | inftlcore.c | 146 ops.datbuf = NULL; in inftl_read_oob() 166 ops.datbuf = NULL; in inftl_write_oob() 186 ops.datbuf = buf; in inftl_write()
|
| H A D | mtdcore.c | 1599 .datbuf = buf, in mtd_read() 1618 .datbuf = (u8 *)buf, in mtd_write() 1663 * Some users are setting ->datbuf or ->oobbuf to NULL, but are leaving in mtd_check_oob_ops() 1667 if (!ops->datbuf) in mtd_check_oob_ops() 1703 ops->datbuf); in mtd_read_oob_std() 1719 ops->datbuf); in mtd_write_oob_std() 1777 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc() 1816 * In cases where ops->datbuf != NULL, mtd->_read_oob() has semantics in mtd_read_oob()
|
| H A D | ssfdc.c | 172 ops.datbuf = NULL; in read_raw_oob()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | sm_common.c | 115 ops.datbuf = NULL; in sm_block_markbad()
|
| H A D | nand_bbt.c | 324 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()
|
| /linux/drivers/mtd/tests/ |
| H A D | readtest.c | 58 ops.datbuf = NULL; in read_eraseblock_by_page()
|
| H A D | nandbiterrs.c | 113 ops.datbuf = wbuffer; in rewrite_page()
|
| /linux/drivers/mtd/nand/onenand/ |
| H A D | onenand_base.c | 1121 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 D | mtd.h | 77 uint8_t *datbuf; member
|