Home
last modified time | relevance | path

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

/linux-6.6.21/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.c484 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
504 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
543 if (!info->op_tmpl.addr.nbytes || info->op_tmpl.addr.nbytes > 8) in spi_mem_dirmap_create()
547 if (info->op_tmpl.data.dir == SPI_MEM_NO_DATA) in spi_mem_dirmap_create()
561 if (!spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in spi_mem_dirmap_create()
685 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in spi_mem_dirmap_read()
731 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_OUT) in spi_mem_dirmap_write()
Dspi-npcm-fiu.c301 if (desc->info.op_tmpl.addr.buswidth != fiu->drd_op.addr.buswidth || in npcm_fiu_direct_read()
302 desc->info.op_tmpl.dummy.nbytes != fiu->drd_op.dummy.nbytes || in npcm_fiu_direct_read()
303 desc->info.op_tmpl.cmd.opcode != fiu->drd_op.cmd.opcode || in npcm_fiu_direct_read()
304 desc->info.op_tmpl.addr.nbytes != fiu->drd_op.addr.nbytes) in npcm_fiu_direct_read()
305 npcm_fiu_set_drd(fiu, &desc->info.op_tmpl); in npcm_fiu_direct_read()
619 desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) { in npcm_fiu_dirmap_create()
654 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) { in npcm_fiu_dirmap_create()
656 npcm_fiu_set_drd(fiu, &desc->info.op_tmpl); in npcm_fiu_dirmap_create()
Dspi-mxic.c402 writel(mxic_spi_mem_prep_op_cfg(&desc->info.op_tmpl, len), in mxic_spi_mem_dirmap_read()
407 writel(LMODE_CMD0(desc->info.op_tmpl.cmd.opcode) | in mxic_spi_mem_dirmap_read()
412 if (mxic->ecc.use_pipelined_conf && desc->info.op_tmpl.data.ecc) { in mxic_spi_mem_dirmap_read()
446 writel(mxic_spi_mem_prep_op_cfg(&desc->info.op_tmpl, len), in mxic_spi_mem_dirmap_write()
451 writel(LMODE_CMD0(desc->info.op_tmpl.cmd.opcode) | in mxic_spi_mem_dirmap_write()
456 if (mxic->ecc.use_pipelined_conf && desc->info.op_tmpl.data.ecc) { in mxic_spi_mem_dirmap_write()
504 if (!mxic_spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in mxic_spi_mem_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.c505 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in stm32_qspi_dirmap_create()
509 if (!qspi->mm_base && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in stm32_qspi_dirmap_create()
535 memcpy(&op, &desc->info.op_tmpl, sizeof(struct spi_mem_op)); in stm32_qspi_dirmap_read()
Dspi-intel.c807 iop = intel_spi_match_mem_op(ispi, &desc->info.op_tmpl); in intel_spi_dirmap_create()
820 struct spi_mem_op op = desc->info.op_tmpl; in intel_spi_dirmap_read()
837 struct spi_mem_op op = desc->info.op_tmpl; in intel_spi_dirmap_write()
Dspi-wpcm-fiu.c380 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in wpcm_fiu_dirmap_create()
Dspi-aspeed-smc.c558 struct spi_mem_op *op = &desc->info.op_tmpl; in aspeed_spi_dirmap_create()
630 ret = aspeed_spi_read_user(chip, &desc->info.op_tmpl, offset, len, buf); in aspeed_spi_dirmap_read()
/linux-6.6.21/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
/linux-6.6.21/drivers/mtd/nand/spi/
Dcore.c868 info.op_tmpl = *spinand->op_templates.update_cache; in spinand_create_dirmap()
876 info.op_tmpl = *spinand->op_templates.read_cache; in spinand_create_dirmap()
891 info.op_tmpl = *spinand->op_templates.update_cache; in spinand_create_dirmap()
892 info.op_tmpl.data.ecc = true; in spinand_create_dirmap()
900 info.op_tmpl = *spinand->op_templates.read_cache; in spinand_create_dirmap()
901 info.op_tmpl.data.ecc = true; in spinand_create_dirmap()
/linux-6.6.21/include/linux/spi/
Dspi-mem.h159 struct spi_mem_op op_tmpl; member
/linux-6.6.21/drivers/mtd/spi-nor/
Dcore.c3562 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 0), in spi_nor_create_read_dirmap()
3569 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_read_dirmap()
3593 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 0), in spi_nor_create_write_dirmap()
3600 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_write_dirmap()