| /Linux-v5.10/include/linux/spi/ |
| D | spi-mem.h | 98 struct spi_mem_op { struct 153 struct spi_mem_op op_tmpl; 265 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); 267 const struct spi_mem_op *op); 269 const struct spi_mem_op *op); 304 const struct spi_mem_op *op, 308 const struct spi_mem_op *op, 312 const struct spi_mem_op *op); 317 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 325 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() [all …]
|
| /Linux-v5.10/include/linux/mtd/ |
| D | spinand.h | 260 const struct spi_mem_op *ops; 266 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \ 267 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \ 268 sizeof(struct spi_mem_op), \ 397 const struct spi_mem_op *read_cache; 398 const struct spi_mem_op *write_cache; 399 const struct spi_mem_op *update_cache;
|
| /Linux-v5.10/drivers/spi/ |
| D | spi-mem.c | 35 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 81 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() 141 const struct spi_mem_op *op) in spi_mem_default_supports_op() 177 static int spi_mem_check_op(const struct spi_mem_op *op) in spi_mem_check_op() 197 const struct spi_mem_op *op) in spi_mem_internal_supports_op() 222 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op() 281 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 423 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() 452 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read() 472 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
|
| D | spi-mtk-nor.c | 136 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() 153 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce() 158 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read() 181 static bool mtk_nor_match_prg(const struct spi_mem_op *op) in mtk_nor_match_prg() 230 static void mtk_nor_adj_prg_size(struct spi_mem_op *op) in mtk_nor_adj_prg_size() 249 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size() 285 const struct spi_mem_op *op) in mtk_nor_supports_op() 313 static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_setup_bus() 382 static int mtk_nor_read_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_bounce() 400 static int mtk_nor_read_dma(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_dma() [all …]
|
| D | spi-hisi-sfc-v3xx.c | 145 struct spi_mem_op *op) in hisi_sfc_v3xx_adjust_op_size() 169 const struct spi_mem_op *op) in hisi_sfc_v3xx_supports_op() 263 const struct spi_mem_op *op, in hisi_sfc_v3xx_start_bus() 307 const struct spi_mem_op *op, in hisi_sfc_v3xx_generic_exec_op() 348 const struct spi_mem_op *op) in hisi_sfc_v3xx_exec_op()
|
| D | spi-rpc-if.c | 20 const struct spi_mem_op *spi_op, in rpcif_spi_mem_prepare() 65 const struct spi_mem_op *op) in rpcif_spi_mem_supports_op() 113 const struct spi_mem_op *op) in rpcif_spi_mem_exec_op()
|
| D | spi-fsl-qspi.c | 369 const struct spi_mem_op *op) in fsl_qspi_supports_op() 417 const struct spi_mem_op *op) in fsl_qspi_prepare_lut() 552 static void fsl_qspi_read_ahb(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_read_ahb() 560 const struct spi_mem_op *op) in fsl_qspi_fill_txfifo() 585 const struct spi_mem_op *op) in fsl_qspi_read_rxfifo() 605 static int fsl_qspi_do_op(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_do_op() 642 static int fsl_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in fsl_qspi_exec_op() 704 static int fsl_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in fsl_qspi_adjust_op_size()
|
| D | spi-npcm-fiu.c | 229 struct spi_mem_op drd_op; 246 const struct spi_mem_op *op) in npcm_fiu_set_drd() 315 const struct spi_mem_op *op, u32 addr, in npcm_fiu_uma_read() 370 const struct spi_mem_op *op, u8 cmd, in npcm_fiu_uma_write() 420 const struct spi_mem_op *op) in npcm_fiu_manualwrite() 468 static int npcm_fiu_read(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_read() 525 static int npcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_exec_op()
|
| D | spi-stm32-qspi.c | 155 const struct spi_mem_op *op) in stm32_qspi_tx_poll() 187 const struct spi_mem_op *op) in stm32_qspi_tx_mm() 202 const struct spi_mem_op *op) in stm32_qspi_tx_dma() 265 static int stm32_qspi_tx(struct stm32_qspi *qspi, const struct spi_mem_op *op) in stm32_qspi_tx() 290 const struct spi_mem_op *op) in stm32_qspi_wait_cmd() 329 static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_send() 431 static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_exec_op()
|
| D | spi-nxp-fspi.c | 414 const struct spi_mem_op *op) in nxp_fspi_supports_op() 504 const struct spi_mem_op *op) in nxp_fspi_prepare_lut() 673 static int nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_read_ahb() 705 const struct spi_mem_op *op) in nxp_fspi_fill_txfifo() 749 const struct spi_mem_op *op) in nxp_fspi_read_rxfifo() 799 static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_do_op() 839 static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in nxp_fspi_exec_op() 877 static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in nxp_fspi_adjust_op_size()
|
| D | atmel-quadspi.c | 251 static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, in atmel_qspi_is_compatible() 266 static int atmel_qspi_find_mode(const struct spi_mem_op *op) in atmel_qspi_find_mode() 278 const struct spi_mem_op *op) in atmel_qspi_supports_op() 298 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg() 408 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
|
| D | spi-cadence-quadspi.c | 349 const struct spi_mem_op *op) in cqspi_command_read() 400 const struct spi_mem_op *op) in cqspi_command_write() 451 const struct spi_mem_op *op) in cqspi_read_setup() 573 const struct spi_mem_op *op) in cqspi_write_setup() 839 const struct spi_mem_op *op) in cqspi_set_protocol() 868 const struct spi_mem_op *op) in cqspi_write() 959 const struct spi_mem_op *op) in cqspi_read() 981 static int cqspi_mem_process(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_mem_process() 1002 static int cqspi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_exec_mem_op()
|
| D | spi-dw.h | 109 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 110 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
| D | spi-bcm-qspi.c | 217 const struct spi_mem_op *bspi_rf_op; 384 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_flex_mode() 430 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override() 475 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode() 863 const struct spi_mem_op *op) in bcm_qspi_bspi_exec_mem_op() 978 const struct spi_mem_op *op) in bcm_qspi_mspi_exec_mem_op() 1018 const struct spi_mem_op *op) in bcm_qspi_exec_mem_op()
|
| D | spi-dw-core.c | 466 static int dw_spi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in dw_spi_adjust_mem_op_size() 475 const struct spi_mem_op *op) in dw_spi_supports_mem_op() 484 static int dw_spi_init_mem_buf(struct dw_spi *dws, const struct spi_mem_op *op) in dw_spi_init_mem_buf() 650 static int dw_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in dw_spi_exec_mem_op()
|
| D | spi-zynq-qspi.c | 226 const struct spi_mem_op *op) in zynq_qspi_supports_op() 526 const struct spi_mem_op *op) in zynq_qspi_exec_mem_op()
|
| D | spi-mxic.c | 336 const struct spi_mem_op *op) in mxic_spi_mem_supports_op() 353 const struct spi_mem_op *op) in mxic_spi_mem_exec_op()
|
| D | spi-ti-qspi.c | 577 static int ti_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in ti_qspi_adjust_op_size() 607 const struct spi_mem_op *op) in ti_qspi_exec_mem_op()
|
| /Linux-v5.10/drivers/mtd/spi-nor/ |
| D | core.c | 53 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce() 74 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op() 98 struct spi_mem_op op = in spi_nor_spimem_read_data() 164 struct spi_mem_op op = in spi_nor_spimem_write_data() 224 struct spi_mem_op op = in spi_nor_write_enable() 253 struct spi_mem_op op = in spi_nor_write_disable() 284 struct spi_mem_op op = in spi_nor_read_sr() 315 struct spi_mem_op op = in spi_nor_read_fsr() 347 struct spi_mem_op op = in spi_nor_read_cr() 377 struct spi_mem_op op = in spi_nor_set_4byte_addr_mode() [all …]
|
| /Linux-v5.10/drivers/mtd/nand/spi/ |
| D | core.c | 25 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, in spinand_read_reg_op() 39 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, in spinand_write_reg_op() 198 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op() 208 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op() 329 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op() 339 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op() 377 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op() 390 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op() 836 static const struct spi_mem_op * 844 struct spi_mem_op op = variants->ops[i]; in spinand_select_op_variant() [all …]
|
| D | winbond.c | 66 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
|
| D | macronix.c | 54 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
|
| D | micron.c | 80 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(MICRON_DIE_SELECT_REG, in micron_select_target()
|
| D | gigadevice.c | 168 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQ4UEXXG_REG_STATUS2, in gd5fxgq4uexxg_ecc_get_status()
|
| D | toshiba.c | 76 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf); in tx58cxgxsxraix_ecc_get_status()
|