Searched refs:op_tmpl (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/drivers/spi/ |
D | spi-rpc-if.c | 87 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()
|
D | spi-mem.c | 484 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()
|
D | spi-npcm-fiu.c | 282 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() 599 desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) { in npcm_fiu_dirmap_create() 630 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) { in npcm_fiu_dirmap_create() 632 npcm_fiu_set_drd(fiu, &desc->info.op_tmpl); in npcm_fiu_dirmap_create()
|
D | spi-mxic.c | 402 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()
|
D | spi-dw-bt1.c | 55 !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()
|
D | spi-stm32-qspi.c | 507 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in stm32_qspi_dirmap_create() 511 if (!qspi->mm_base && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in stm32_qspi_dirmap_create() 537 memcpy(&op, &desc->info.op_tmpl, sizeof(struct spi_mem_op)); in stm32_qspi_dirmap_read()
|
D | spi-intel.c | 787 iop = intel_spi_match_mem_op(ispi, &desc->info.op_tmpl); in intel_spi_dirmap_create() 800 struct spi_mem_op op = desc->info.op_tmpl; in intel_spi_dirmap_read() 817 struct spi_mem_op op = desc->info.op_tmpl; in intel_spi_dirmap_write()
|
D | spi-aspeed-smc.c | 557 struct spi_mem_op *op = &desc->info.op_tmpl; in aspeed_spi_dirmap_create() 629 ret = aspeed_spi_read_user(chip, &desc->info.op_tmpl, offset, len, buf); in aspeed_spi_dirmap_read()
|
/linux-5.19.10/drivers/crypto/marvell/cesa/ |
D | hash.c | 170 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 …]
|
D | cesa.h | 615 struct mv_cesa_op_ctx op_tmpl; member
|
/linux-5.19.10/drivers/mtd/nand/spi/ |
D | core.c | 858 info.op_tmpl = *spinand->op_templates.update_cache; in spinand_create_dirmap() 866 info.op_tmpl = *spinand->op_templates.read_cache; in spinand_create_dirmap() 881 info.op_tmpl = *spinand->op_templates.update_cache; in spinand_create_dirmap() 882 info.op_tmpl.data.ecc = true; in spinand_create_dirmap() 890 info.op_tmpl = *spinand->op_templates.read_cache; in spinand_create_dirmap() 891 info.op_tmpl.data.ecc = true; in spinand_create_dirmap()
|
/linux-5.19.10/include/linux/spi/ |
D | spi-mem.h | 155 struct spi_mem_op op_tmpl; member
|
/linux-5.19.10/drivers/mtd/spi-nor/ |
D | core.c | 3032 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 0), in spi_nor_create_read_dirmap() 3039 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_read_dirmap() 3063 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 0), in spi_nor_create_write_dirmap() 3070 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_write_dirmap()
|