Home
last modified time | relevance | path

Searched refs:op_tmpl (Results 1 – 9 of 9) sorted by relevance

/drivers/crypto/marvell/cesa/
Dhash.c170 mv_cesa_adjust_op(engine, &creq->op_tmpl); in mv_cesa_ahash_std_step()
172 memcpy(engine->sram_pool, &creq->op_tmpl, in mv_cesa_ahash_std_step()
173 sizeof(creq->op_tmpl)); in mv_cesa_ahash_std_step()
175 memcpy_toio(engine->sram, &creq->op_tmpl, in mv_cesa_ahash_std_step()
176 sizeof(creq->op_tmpl)); in mv_cesa_ahash_std_step()
208 op = &creq->op_tmpl; in mv_cesa_ahash_std_step()
453 creq->op_tmpl = *tmpl; in mv_cesa_ahash_init()
560 op = mv_cesa_dma_add_frag(chain, &creq->op_tmpl, frag_len, in mv_cesa_ahash_dma_last_req()
602 op = mv_cesa_dma_add_frag(chain, &creq->op_tmpl, frag_len + len, in mv_cesa_ahash_dma_last_req()
623 return mv_cesa_dma_add_frag(chain, &creq->op_tmpl, trailerlen - padoff, in mv_cesa_ahash_dma_last_req()
[all …]
Dcesa.h615 struct mv_cesa_op_ctx op_tmpl; member
/drivers/spi/
Dspi-rpc-if.c87 rpcif_spi_mem_prepare(desc->mem->spi, &desc->info.op_tmpl, &offs, &len); in rpcif_spi_mem_dirmap_read()
100 if (!rpcif_spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in rpcif_spi_mem_dirmap_create()
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
106 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in rpcif_spi_mem_dirmap_create()
Dspi-mem.c471 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
491 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
530 if (!info->op_tmpl.addr.nbytes || info->op_tmpl.addr.nbytes > 8) in spi_mem_dirmap_create()
534 if (info->op_tmpl.data.dir == SPI_MEM_NO_DATA) in spi_mem_dirmap_create()
548 if (!spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in spi_mem_dirmap_create()
672 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in spi_mem_dirmap_read()
718 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_OUT) in spi_mem_dirmap_write()
Dspi-npcm-fiu.c282 if (desc->info.op_tmpl.addr.buswidth != fiu->drd_op.addr.buswidth || in npcm_fiu_direct_read()
283 desc->info.op_tmpl.dummy.nbytes != fiu->drd_op.dummy.nbytes || in npcm_fiu_direct_read()
284 desc->info.op_tmpl.cmd.opcode != fiu->drd_op.cmd.opcode || in npcm_fiu_direct_read()
285 desc->info.op_tmpl.addr.nbytes != fiu->drd_op.addr.nbytes) in npcm_fiu_direct_read()
286 npcm_fiu_set_drd(fiu, &desc->info.op_tmpl); in npcm_fiu_direct_read()
600 desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) { in npcm_fiu_dirmap_create()
631 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) { in npcm_fiu_dirmap_create()
633 npcm_fiu_set_drd(fiu, &desc->info.op_tmpl); in npcm_fiu_dirmap_create()
Dspi-dw-bt1.c55 !dwsbt1->dws.mem_ops.supports_op(desc->mem, &desc->info.op_tmpl)) in dw_spi_bt1_dirmap_create()
63 desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in dw_spi_bt1_dirmap_create()
Dspi-stm32-qspi.c519 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in stm32_qspi_dirmap_create()
523 if (!qspi->mm_base && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in stm32_qspi_dirmap_create()
551 memcpy(&op, &desc->info.op_tmpl, sizeof(struct spi_mem_op)); in stm32_qspi_dirmap_read()
/drivers/mtd/spi-nor/
Dcore.c3259 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 0), in spi_nor_create_read_dirmap()
3266 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_read_dirmap()
3290 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 0), in spi_nor_create_write_dirmap()
3297 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_write_dirmap()
/drivers/mtd/nand/spi/
Dcore.c852 info.op_tmpl = *spinand->op_templates.update_cache; in spinand_create_dirmap()
860 info.op_tmpl = *spinand->op_templates.read_cache; in spinand_create_dirmap()