/linux/drivers/spi/ |
H A D | spi-wpcm-fiu.c | 136 bool (*match)(const struct spi_mem_op *op); 137 int (*exec)(struct spi_mem *mem, const struct spi_mem_op *op); 140 static bool wpcm_fiu_normal_match(const struct spi_mem_op *op) in wpcm_fiu_normal_match() 150 static int wpcm_fiu_normal_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_normal_exec() 169 static bool wpcm_fiu_fast_read_match(const struct spi_mem_op *op) in wpcm_fiu_fast_read_match() 177 static int wpcm_fiu_fast_read_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_fast_read_exec() 190 static bool wpcm_fiu_4ba_match(const struct spi_mem_op *op) in wpcm_fiu_4ba_match() 195 static int wpcm_fiu_4ba_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_4ba_exec() 233 static bool wpcm_fiu_rdid_match(const struct spi_mem_op *op) in wpcm_fiu_rdid_match() 240 static int wpcm_fiu_rdid_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_rdid_exec() [all …]
|
H A D | spi-gxp.c | 67 static int gxp_spi_read_reg(struct gxp_spi_chip *chip, const struct spi_mem_op *op) in gxp_spi_read_reg() 105 static int gxp_spi_write_reg(struct gxp_spi_chip *chip, const struct spi_mem_op *op) in gxp_spi_write_reg() 142 static ssize_t gxp_spi_read(struct gxp_spi_chip *chip, const struct spi_mem_op *op) in gxp_spi_read() 155 static ssize_t gxp_spi_write(struct gxp_spi_chip *chip, const struct spi_mem_op *op) in gxp_spi_write() 200 static int do_gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in do_gxp_exec_mem_op() 221 static int gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in gxp_exec_mem_op()
|
H A D | spi-sn-f-ospi.c | 117 static u32 f_ospi_get_dummy_cycle(const struct spi_mem_op *op) in f_ospi_get_dummy_cycle() 265 const struct spi_mem_op *op) in f_ospi_config_indir_protocol() 339 const struct spi_mem_op *op) in f_ospi_indir_prepare_op() 404 const struct spi_mem_op *op) in f_ospi_indir_read() 458 const struct spi_mem_op *op) in f_ospi_indir_write() 504 static int f_ospi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in f_ospi_exec_op() 529 const struct spi_mem_op *op) in f_ospi_supports_op_width() 555 const struct spi_mem_op *op) in f_ospi_supports_op() 569 static int f_ospi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in f_ospi_adjust_op_size()
|
H A D | spi-intel.c | 181 struct spi_mem_op mem_op; 186 const struct spi_mem_op *op); 463 const struct spi_mem_op *op) in intel_spi_read_reg() 486 const struct spi_mem_op *op) in intel_spi_write_reg() 547 const struct spi_mem_op *op) in intel_spi_read() 608 const struct spi_mem_op *op) in intel_spi_write() 671 const struct spi_mem_op *op) in intel_spi_erase() 707 static int intel_spi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in intel_spi_adjust_op_size() 714 const struct spi_mem_op *op) in intel_spi_cmp_mem_op() 738 intel_spi_match_mem_op(struct intel_spi *ispi, const struct spi_mem_op *op) in intel_spi_match_mem_op() [all …]
|
H A D | atmel-quadspi.c | 292 int (*set_cfg)(struct atmel_qspi *aq, const struct spi_mem_op *op, 294 int (*transfer)(struct spi_mem *mem, const struct spi_mem_op *op, 439 static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, in atmel_qspi_is_compatible() 454 static int atmel_qspi_find_mode(const struct spi_mem_op *op) in atmel_qspi_find_mode() 465 static int atmel_qspi_sama7g5_find_mode(const struct spi_mem_op *op) in atmel_qspi_sama7g5_find_mode() 477 const struct spi_mem_op *op) in atmel_qspi_supports_op() 521 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg() 651 const struct spi_mem_op *op, u32 offset) in atmel_qspi_transfer() 685 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_sama7g5_set_cfg() 808 const struct spi_mem_op *op, in atmel_qspi_dma_rx_xfer() [all …]
|
H A 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()
|
H A D | spi-rockchip-sfc.c | 302 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work() 319 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup() 459 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll() 470 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma() 524 static int rockchip_sfc_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in rockchip_sfc_exec_mem_op() 547 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_mem_op() 574 static int rockchip_sfc_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in rockchip_sfc_adjust_op_size()
|
H A D | spi-cadence-quadspi.c | 389 static unsigned int cqspi_calc_rdreg(const struct spi_mem_op *op) in cqspi_calc_rdreg() 400 static unsigned int cqspi_calc_dummy(const struct spi_mem_op *op) in cqspi_calc_dummy() 472 const struct spi_mem_op *op, in cqspi_setup_opcode_ext() 495 const struct spi_mem_op *op, unsigned int shift) in cqspi_enable_dtr() 530 const struct spi_mem_op *op) in cqspi_command_read() 613 const struct spi_mem_op *op) in cqspi_command_write() 682 const struct spi_mem_op *op) in cqspi_read_setup() 1008 const struct spi_mem_op *op) in cqspi_write_setup() 1310 const struct spi_mem_op *op) in cqspi_write() 1406 const struct spi_mem_op *op) in cqspi_read() [all …]
|
H A 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() 258 const struct spi_mem_op *op) in aspeed_spi_write_user() 273 static bool aspeed_spi_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in aspeed_spi_supports_op() 298 static int do_aspeed_spi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in do_aspeed_spi_exec_op() 367 static int aspeed_spi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in aspeed_spi_exec_op() 560 struct spi_mem_op *op = &desc->info.op_tmpl; in aspeed_spi_dirmap_create()
|
H A D | spi-airoha-snfi.c | 535 static bool airoha_snand_is_page_ops(const struct spi_mem_op *op) in airoha_snand_is_page_ops() 568 struct spi_mem_op *op) in airoha_snand_adjust_op_size() 595 const struct spi_mem_op *op) in airoha_snand_supports_op() 630 struct spi_mem_op *op = &desc->info.op_tmpl; in airoha_snand_dirmap_read() 769 struct spi_mem_op *op = &desc->info.op_tmpl; in airoha_snand_dirmap_write() 899 const struct spi_mem_op *op) in airoha_snand_exec_op()
|
H A D | spi-dw.h | 127 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 128 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
H A D | spi-cadence-xspi.c | 675 const struct spi_mem_op *op, in cdns_xspi_send_stig_command() 740 const struct spi_mem_op *op) in cdns_xspi_mem_op() 752 const struct spi_mem_op *op) in cdns_xspi_mem_op_execute() 764 const struct spi_mem_op *op) in marvell_xspi_mem_op_execute() 779 const struct spi_mem_op *op) in cdns_xspi_supports_op() 838 static int cdns_xspi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in cdns_xspi_adjust_mem_op_size()
|
H A 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()
|
H A D | spi-mtk-snfi.c | 460 static int mtk_snand_mac_io(struct mtk_snand *snf, const struct spi_mem_op *op) in mtk_snand_mac_io() 862 const struct spi_mem_op *op) in mtk_snand_read_page_cache() 1055 const struct spi_mem_op *op) in mtk_snand_write_page_cache() 1200 static bool mtk_snand_is_page_ops(const struct spi_mem_op *op) in mtk_snand_is_page_ops() 1243 const struct spi_mem_op *op) in mtk_snand_supports_op() 1256 static int mtk_snand_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_snand_adjust_op_size() 1283 static int mtk_snand_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in mtk_snand_exec_op()
|
H A D | spi-dw-core.c | 476 static int dw_spi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in dw_spi_adjust_mem_op_size() 485 const struct spi_mem_op *op) in dw_spi_supports_mem_op() 494 static int dw_spi_init_mem_buf(struct dw_spi *dws, const struct spi_mem_op *op) in dw_spi_init_mem_buf() 660 static int dw_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in dw_spi_exec_mem_op()
|
/linux/drivers/mtd/spi-nor/ |
H A D | micron-st.c | 53 struct spi_mem_op op; in micron_st_nor_octal_dtr_en() 60 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_en() 68 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_en() 90 struct spi_mem_op op; in micron_st_nor_octal_dtr_dis() 104 op = (struct spi_mem_op) in micron_st_nor_octal_dtr_dis() 516 struct spi_mem_op op = MICRON_ST_RDFSR_OP(fsr); in micron_st_nor_read_fsr() 551 struct spi_mem_op op = MICRON_ST_CLFSR_OP; in micron_st_nor_clear_fsr()
|
H A D | core.c | 59 const struct spi_mem_op *op) in spi_nor_get_cmd_ext() 82 struct spi_mem_op *op, in spi_nor_spimem_setup_op() 132 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce() 153 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op() 203 struct spi_mem_op op = in spi_nor_spimem_read_data() 267 struct spi_mem_op op = in spi_nor_spimem_write_data() 323 int spi_nor_read_any_reg(struct spi_nor *nor, struct spi_mem_op *op, in spi_nor_read_any_reg() 345 int spi_nor_write_any_volatile_reg(struct spi_nor *nor, struct spi_mem_op *op, in spi_nor_write_any_volatile_reg() 371 struct spi_mem_op op = SPI_NOR_WREN_OP; in spi_nor_write_enable() 398 struct spi_mem_op op = SPI_NOR_WRDI_OP; in spi_nor_write_disable() [all …]
|
H A D | winbond.c | 275 struct spi_mem_op op = WINBOND_NOR_WREAR_OP(nor->bouncebuf); in winbond_nor_write_ear()
|