/linux-5.19.10/include/linux/spi/ |
D | spi-mem.h | 99 struct spi_mem_op { struct 155 struct spi_mem_op op_tmpl; 270 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); 272 const struct spi_mem_op *op); 274 const struct spi_mem_op *op); 283 const struct spi_mem_op *op, 328 const struct spi_mem_op *op, 332 const struct spi_mem_op *op, 336 const struct spi_mem_op *op); 340 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() [all …]
|
/linux-5.19.10/drivers/mtd/spi-nor/ |
D | spansion.c | 47 struct spi_mem_op op; in cypress_nor_octal_dtr_en() 53 op = (struct spi_mem_op) in cypress_nor_octal_dtr_en() 64 op = (struct spi_mem_op) in cypress_nor_octal_dtr_en() 86 struct spi_mem_op op; in cypress_nor_octal_dtr_dis() 97 op = (struct spi_mem_op) in cypress_nor_octal_dtr_dis() 175 struct spi_mem_op op = in s28hs512t_post_bfpt_fixup() 331 struct spi_mem_op op = SPANSION_CLSR_OP; in spansion_nor_clear_sr()
|
D | micron-st.c | 52 struct spi_mem_op op; in micron_st_nor_octal_dtr_en() 58 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_en() 65 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_en() 86 struct spi_mem_op op; in micron_st_nor_octal_dtr_dis() 100 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_dis() 336 struct spi_mem_op op = MICRON_ST_RDFSR_OP(fsr); in micron_st_nor_read_fsr() 371 struct spi_mem_op op = MICRON_ST_CLFSR_OP; in micron_st_nor_clear_fsr()
|
D | core.c | 58 const struct spi_mem_op *op) in spi_nor_get_cmd_ext() 81 struct spi_mem_op *op, in spi_nor_spimem_setup_op() 128 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce() 149 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op() 199 struct spi_mem_op op = in spi_nor_spimem_read_data() 263 struct spi_mem_op op = in spi_nor_spimem_write_data() 319 int spi_nor_read_any_reg(struct spi_nor *nor, struct spi_mem_op *op, in spi_nor_read_any_reg() 341 int spi_nor_write_any_volatile_reg(struct spi_nor *nor, struct spi_mem_op *op, in spi_nor_write_any_volatile_reg() 367 struct spi_mem_op op = SPI_NOR_WREN_OP; in spi_nor_write_enable() 394 struct spi_mem_op op = SPI_NOR_WRDI_OP; in spi_nor_write_disable() [all …]
|
D | core.h | 629 struct spi_mem_op *op, 654 int spi_nor_read_any_reg(struct spi_nor *nor, struct spi_mem_op *op, 656 int spi_nor_write_any_volatile_reg(struct spi_nor *nor, struct spi_mem_op *op,
|
/linux-5.19.10/include/linux/mtd/ |
D | spinand.h | 283 const struct spi_mem_op *ops; 289 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \ 290 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \ 291 sizeof(struct spi_mem_op), \ 431 const struct spi_mem_op *read_cache; 432 const struct spi_mem_op *write_cache; 433 const struct spi_mem_op *update_cache;
|
/linux-5.19.10/drivers/spi/ |
D | spi-mem.c | 37 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 83 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() 143 const struct spi_mem_op *op) in spi_mem_check_buswidth() 165 const struct spi_mem_op *op) in spi_mem_default_supports_op() 199 static int spi_mem_check_op(const struct spi_mem_op *op) in spi_mem_check_op() 228 const struct spi_mem_op *op) in spi_mem_internal_supports_op() 253 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op() 312 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 455 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() 484 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read() [all …]
|
D | spi-mtk-nor.c | 150 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() 167 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce() 172 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read() 195 static bool mtk_nor_match_prg(const struct spi_mem_op *op) in mtk_nor_match_prg() 244 static void mtk_nor_adj_prg_size(struct spi_mem_op *op) in mtk_nor_adj_prg_size() 263 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size() 299 const struct spi_mem_op *op) in mtk_nor_supports_op() 327 static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_setup_bus() 396 static int mtk_nor_read_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_bounce() 414 static int mtk_nor_read_dma(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_dma() [all …]
|
D | spi-stm32-qspi.c | 167 const struct spi_mem_op *op) in stm32_qspi_tx_poll() 199 const struct spi_mem_op *op) in stm32_qspi_tx_mm() 214 const struct spi_mem_op *op) in stm32_qspi_tx_dma() 277 static int stm32_qspi_tx(struct stm32_qspi *qspi, const struct spi_mem_op *op) in stm32_qspi_tx() 303 const struct spi_mem_op *op) in stm32_qspi_wait_cmd() 335 const struct spi_mem_op *op) in stm32_qspi_wait_poll_status() 360 static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_send() 447 static int stm32_qspi_poll_status(struct spi_mem *mem, const struct spi_mem_op *op, in stm32_qspi_poll_status() 479 static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_exec_op() 524 struct spi_mem_op op; in stm32_qspi_dirmap_read() [all …]
|
D | spi-intel.c | 158 struct spi_mem_op mem_op; 162 const struct spi_mem_op *op); 446 const struct spi_mem_op *op) in intel_spi_read_reg() 469 const struct spi_mem_op *op) in intel_spi_write_reg() 529 const struct spi_mem_op *op) in intel_spi_read() 590 const struct spi_mem_op *op) in intel_spi_write() 653 const struct spi_mem_op *op) in intel_spi_erase() 690 const struct spi_mem_op *op) in intel_spi_cmp_mem_op() 715 intel_spi_match_mem_op(struct intel_spi *ispi, const struct spi_mem_op *op) in intel_spi_match_mem_op() 728 const struct spi_mem_op *op) in intel_spi_supports_mem_op() [all …]
|
D | spi-rockchip-sfc.c | 283 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work() 300 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup() 438 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll() 449 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma() 488 static int rockchip_sfc_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in rockchip_sfc_exec_mem_op() 503 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_mem_op() 524 static int rockchip_sfc_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in rockchip_sfc_adjust_op_size()
|
D | spi-hisi-sfc-v3xx.c | 148 struct spi_mem_op *op) in hisi_sfc_v3xx_adjust_op_size() 172 const struct spi_mem_op *op) in hisi_sfc_v3xx_supports_op() 274 const struct spi_mem_op *op, in hisi_sfc_v3xx_start_bus() 318 const struct spi_mem_op *op, in hisi_sfc_v3xx_generic_exec_op() 360 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-cadence-quadspi.c | 344 static unsigned int cqspi_calc_rdreg(const struct spi_mem_op *op) in cqspi_calc_rdreg() 355 static unsigned int cqspi_calc_dummy(const struct spi_mem_op *op) in cqspi_calc_dummy() 427 const struct spi_mem_op *op, in cqspi_setup_opcode_ext() 450 const struct spi_mem_op *op, unsigned int shift) in cqspi_enable_dtr() 482 const struct spi_mem_op *op) in cqspi_command_read() 551 const struct spi_mem_op *op) in cqspi_command_write() 615 const struct spi_mem_op *op) in cqspi_read_setup() 874 const struct spi_mem_op *op) in cqspi_write_setup() 1170 const struct spi_mem_op *op) in cqspi_write() 1266 const struct spi_mem_op *op) in cqspi_read() [all …]
|
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 | 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() 295 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg() 406 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
|
D | spi-nxp-fspi.c | 437 const struct spi_mem_op *op) in nxp_fspi_supports_op() 527 const struct spi_mem_op *op) in nxp_fspi_prepare_lut() 696 static int nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_read_ahb() 728 const struct spi_mem_op *op) in nxp_fspi_fill_txfifo() 772 const struct spi_mem_op *op) in nxp_fspi_read_rxfifo() 822 static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_do_op() 862 static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in nxp_fspi_exec_op() 902 static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in nxp_fspi_adjust_op_size()
|
D | spi-aspeed-smc.c | 106 static u32 aspeed_spi_get_io_mode(const struct spi_mem_op *op) in aspeed_spi_get_io_mode() 208 const struct spi_mem_op *op) in aspeed_spi_read_reg() 219 const struct spi_mem_op *op) in aspeed_spi_write_reg() 230 const struct spi_mem_op *op, in aspeed_spi_read_user() 257 const struct spi_mem_op *op) in aspeed_spi_write_user() 271 static bool aspeed_spi_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in aspeed_spi_supports_op() 296 static int do_aspeed_spi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in do_aspeed_spi_exec_op() 365 static int aspeed_spi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in aspeed_spi_exec_op() 557 struct spi_mem_op *op = &desc->info.op_tmpl; in aspeed_spi_dirmap_create()
|
D | spi-cadence-xspi.c | 346 const struct spi_mem_op *op, in cdns_xspi_send_stig_command() 405 const struct spi_mem_op *op) in cdns_xspi_mem_op() 417 const struct spi_mem_op *op) in cdns_xspi_mem_op_execute() 428 static int cdns_xspi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in cdns_xspi_adjust_mem_op_size()
|
D | spi-dw.h | 134 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 135 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
D | spi-bcm-qspi.c | 238 const struct spi_mem_op *bspi_rf_op; 417 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_flex_mode() 464 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override() 509 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode() 1036 const struct spi_mem_op *op) in bcm_qspi_bspi_exec_mem_op() 1151 const struct spi_mem_op *op) in bcm_qspi_mspi_exec_mem_op() 1191 const struct spi_mem_op *op) in bcm_qspi_exec_mem_op()
|
/linux-5.19.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() 344 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op() 354 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op() 484 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op() 494 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op() 504 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(REG_STATUS, in spinand_wait() 538 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op() 551 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op() 1010 static const struct spi_mem_op * [all …]
|
D | winbond.c | 66 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
|
D | gigadevice.c | 188 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq4uexxg_ecc_get_status() 230 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq5xexxg_ecc_get_status()
|