/linux-6.12.1/drivers/spi/ |
D | spi-mem.c | 47 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data() 56 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_map_mem_op_data() 93 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_unmap_mem_op_data() 99 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_unmap_mem_op_data() 216 if (WARN_ON_ONCE(op->data.dir == SPI_MEM_DATA_IN && in spi_mem_check_op() 327 if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) in spi_mem_add_op_stats() 441 if (op->data.dir == SPI_MEM_DATA_IN) { in spi_mem_exec_op() 732 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in spi_mem_dirmap_read() 855 op->data.dir != SPI_MEM_DATA_IN) in spi_mem_poll_status()
|
D | spi-wpcm-fiu.c | 163 if (op->data.dir == SPI_MEM_DATA_IN) in wpcm_fiu_normal_exec() 174 op->data.dir == SPI_MEM_DATA_IN; in wpcm_fiu_fast_read_match() 214 if (op->data.dir == SPI_MEM_DATA_IN) in wpcm_fiu_4ba_exec() 237 op->data.dir == SPI_MEM_DATA_IN; in wpcm_fiu_rdid_match() 380 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in wpcm_fiu_dirmap_create()
|
D | spi-mtk-nor.c | 232 } else if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_nor_match_prg() 267 } else if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_nor_adj_prg_size() 284 if ((op->data.dir == SPI_MEM_DATA_IN) && in mtk_nor_adjust_op_size() 322 case SPI_MEM_DATA_IN: in mtk_nor_supports_op() 531 else if (op->data.dir == SPI_MEM_DATA_IN) in mtk_nor_spi_mem_prg() 589 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_nor_spi_mem_prg() 616 if ((op->data.dir == SPI_MEM_DATA_IN) && mtk_nor_match_read(op)) { in mtk_nor_exec_op()
|
D | spi-rpc-if.c | 45 case SPI_MEM_DATA_IN: in rpcif_spi_mem_prepare() 106 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
|
D | spi-stm32-qspi.c | 174 if (op->data.dir == SPI_MEM_DATA_IN) { in stm32_qspi_tx_poll() 224 if (op->data.dir == SPI_MEM_DATA_IN) { in stm32_qspi_tx_dma() 284 else if (((op->data.dir == SPI_MEM_DATA_IN && qspi->dma_chrx) || in stm32_qspi_tx() 487 if (op->data.dir == SPI_MEM_DATA_IN && op->data.nbytes) in stm32_qspi_exec_op() 509 if (!qspi->mm_base && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in stm32_qspi_dirmap_create() 611 op.data.dir = SPI_MEM_DATA_IN; in stm32_qspi_transfer_one_message()
|
D | spi-mt65xx.c | 910 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_spi_mem_setup_dma_xfer() 1009 if (op->data.dir == SPI_MEM_DATA_IN) in mtk_spi_mem_exec_op() 1054 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_spi_mem_exec_op() 1078 if (op->data.dir == SPI_MEM_DATA_IN) in mtk_spi_mem_exec_op() 1094 if (op->data.dir == SPI_MEM_DATA_IN) in mtk_spi_mem_exec_op() 1099 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_spi_mem_exec_op() 1106 if (op->data.dir == SPI_MEM_DATA_IN && in mtk_spi_mem_exec_op()
|
D | spi-fsl-qspi.c | 402 if (op->data.dir == SPI_MEM_DATA_IN && in fsl_qspi_supports_op() 449 op->data.dir == SPI_MEM_DATA_IN ? in fsl_qspi_prepare_lut() 623 if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) in fsl_qspi_do_op() 683 op->data.dir == SPI_MEM_DATA_IN) { in fsl_qspi_exec_op()
|
D | spi-sn-f-ospi.c | 311 case SPI_MEM_DATA_IN: in f_ospi_config_indir_protocol() 357 case SPI_MEM_DATA_IN: in f_ospi_indir_prepare_op() 508 case SPI_MEM_DATA_IN: in f_ospi_exec_op()
|
D | spi-nxp-fspi.c | 495 if (op->data.dir == SPI_MEM_DATA_IN && in nxp_fspi_supports_op() 582 op->data.dir == SPI_MEM_DATA_IN ? in nxp_fspi_prepare_lut() 916 if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) in nxp_fspi_do_op() 944 op->data.dir == SPI_MEM_DATA_IN && in nxp_fspi_exec_op() 977 if (op->data.dir == SPI_MEM_DATA_IN && in nxp_fspi_adjust_op_size()
|
D | spi-hisi-sfc-v3xx.c | 302 if (op->data.dir == SPI_MEM_DATA_IN) in hisi_sfc_v3xx_start_bus() 353 if (op->data.dir == SPI_MEM_DATA_IN) in hisi_sfc_v3xx_generic_exec_op()
|
D | spi-dw-core.c | 478 if (op->data.dir == SPI_MEM_DATA_IN) in dw_spi_adjust_mem_op_size() 533 if (op->data.dir == SPI_MEM_DATA_IN) { in dw_spi_init_mem_buf() 681 if (op->data.dir == SPI_MEM_DATA_IN) { in dw_spi_exec_mem_op()
|
D | spi-aspeed-smc.c | 306 chip->cs, op->data.dir == SPI_MEM_DATA_IN ? "read" : "write", in do_aspeed_spi_exec_op() 345 if (op->data.dir == SPI_MEM_DATA_IN) { in do_aspeed_spi_exec_op() 564 chip->cs, op->data.dir == SPI_MEM_DATA_IN ? "read" : "write", in aspeed_spi_dirmap_create() 573 if (op->data.dir != SPI_MEM_DATA_IN) in aspeed_spi_dirmap_create()
|
D | spi-microchip-core-qspi.c | 348 if (!(op->data.dir == SPI_MEM_DATA_IN)) in mchp_coreqspi_config_op() 487 if (op->data.dir == SPI_MEM_DATA_OUT || op->data.dir == SPI_MEM_DATA_IN) { in mchp_coreqspi_adjust_op_size()
|
D | spi-dw-bt1.c | 58 if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN) in dw_spi_bt1_dirmap_create()
|
D | spi-ath79.c | 147 if (op->cmd.opcode != 0x0b || op->data.dir != SPI_MEM_DATA_IN || in ath79_exec_mem_op()
|
D | atmel-quadspi.c | 391 if (op->data.dir == SPI_MEM_DATA_IN) in atmel_qspi_set_cfg() 435 if (op->data.dir == SPI_MEM_DATA_IN) in atmel_qspi_exec_op()
|
D | spi-gxp.c | 206 if (op->data.dir == SPI_MEM_DATA_IN) { in do_gxp_exec_mem_op()
|
D | spi-npcm-fiu.c | 570 if (op->data.dir == SPI_MEM_DATA_IN) { in npcm_fiu_exec_op() 654 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) { in npcm_fiu_dirmap_create()
|
D | spi-mxic.c | 332 if (op->data.dir == SPI_MEM_DATA_IN) { in mxic_spi_mem_prep_op_cfg() 553 op->data.dir == SPI_MEM_DATA_IN ? in mxic_spi_mem_exec_op()
|
D | spi-ti-qspi.c | 582 if (op->data.dir == SPI_MEM_DATA_IN) { in ti_qspi_adjust_op_size() 614 if (!op->data.nbytes || op->data.dir != SPI_MEM_DATA_IN || in ti_qspi_exec_mem_op()
|
D | spi-airoha-snfi.c | 552 case SPI_MEM_DATA_IN: in airoha_snand_is_page_ops() 932 if (op->data.dir == SPI_MEM_DATA_IN) { in airoha_snand_exec_op()
|
D | spi-mtk-snfi.c | 470 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_snand_mac_io() 1210 if (op->data.dir == SPI_MEM_DATA_IN) { in mtk_snand_is_page_ops() 1291 if (op->data.dir == SPI_MEM_DATA_IN) in mtk_snand_exec_op()
|
D | spi-amlogic-spifc-a1.c | 281 if (op->data.dir == SPI_MEM_DATA_IN) in amlogic_spifc_a1_exec_op()
|
D | spi-amd.c | 451 case SPI_MEM_DATA_IN: in amd_spi_exec_mem_op()
|
/linux-6.12.1/include/linux/spi/ |
D | spi-mem.h | 42 .dir = SPI_MEM_DATA_IN, \ 67 SPI_MEM_DATA_IN, enumerator
|