Home
last modified time | relevance | path

Searched refs:spi_mem_op (Results 1 – 25 of 31) sorted by relevance

12

/linux/include/linux/spi/
A Dspi-mem.h98 struct spi_mem_op { struct
153 struct spi_mem_op op_tmpl;
270 const struct spi_mem_op *op);
281 const struct spi_mem_op *op,
317 const struct spi_mem_op *op,
321 const struct spi_mem_op *op);
329 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data()
344 const struct spi_mem_op *op) in spi_mem_default_supports_op()
360 const struct spi_mem_op *op);
363 const struct spi_mem_op *op);
[all …]
/linux/include/linux/mtd/
A Dspinand.h282 const struct spi_mem_op *ops;
288 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \
289 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \
290 sizeof(struct spi_mem_op), \
428 const struct spi_mem_op *read_cache;
429 const struct spi_mem_op *write_cache;
430 const struct spi_mem_op *update_cache;
/linux/drivers/spi/
A Dspi-mem.c36 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data()
82 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data()
142 const struct spi_mem_op *op) in spi_mem_check_buswidth()
164 const struct spi_mem_op *op) in spi_mem_dtr_supports_op()
174 const struct spi_mem_op *op) in spi_mem_default_supports_op()
194 static int spi_mem_check_op(const struct spi_mem_op *op) in spi_mem_check_op()
214 const struct spi_mem_op *op) in spi_mem_internal_supports_op()
471 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
491 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
748 const struct spi_mem_op *op, in spi_mem_read_status()
[all …]
A Dspi-mtk-nor.c137 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr()
154 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce()
159 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read()
182 static bool mtk_nor_match_prg(const struct spi_mem_op *op) in mtk_nor_match_prg()
231 static void mtk_nor_adj_prg_size(struct spi_mem_op *op) in mtk_nor_adj_prg_size()
250 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size()
286 const struct spi_mem_op *op) in mtk_nor_supports_op()
401 static int mtk_nor_read_dma(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_dma()
422 static int mtk_nor_read_pio(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_pio()
486 const struct spi_mem_op *op) in mtk_nor_pp_unbuffered()
[all …]
A Dspi-stm32-qspi.c167 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()
338 const struct spi_mem_op *op) in stm32_qspi_wait_poll_status()
363 static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_send()
454 static int stm32_qspi_poll_status(struct spi_mem *mem, const struct spi_mem_op *op, in stm32_qspi_poll_status()
488 static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_exec_op()
535 struct spi_mem_op op; in stm32_qspi_dirmap_read()
[all …]
A Dspi-rockchip-sfc.c283 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()
A Dspi-hisi-sfc-v3xx.c148 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()
A Dspi-fsl-qspi.c369 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()
A Dspi-rpc-if.c20 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()
A Dspi-npcm-fiu.c229 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()
A Dspi-cadence-quadspi.c362 static unsigned int cqspi_calc_dummy(const struct spi_mem_op *op, bool dtr) in cqspi_calc_dummy()
377 const struct spi_mem_op *op) in cqspi_set_protocol()
505 const struct spi_mem_op *op, in cqspi_setup_opcode_ext()
528 const struct spi_mem_op *op, unsigned int shift, in cqspi_enable_dtr()
561 const struct spi_mem_op *op) in cqspi_command_read()
635 const struct spi_mem_op *op) in cqspi_command_write()
704 const struct spi_mem_op *op) in cqspi_read_setup()
964 const struct spi_mem_op *op) in cqspi_write_setup()
1261 const struct spi_mem_op *op) in cqspi_write()
1361 const struct spi_mem_op *op) in cqspi_read()
[all …]
A Datmel-quadspi.c251 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()
409 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
A Dspi-nxp-fspi.c437 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()
A Dspi-cadence-xspi.c346 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()
A Dspi-dw.h112 (sizeof_field(struct spi_mem_op, cmd.opcode) + \
113 sizeof_field(struct spi_mem_op, addr.val) + 256)
A Dspi-bcm-qspi.c238 const struct spi_mem_op *bspi_rf_op;
405 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_flex_mode()
452 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override()
497 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode()
1004 const struct spi_mem_op *op) in bcm_qspi_bspi_exec_mem_op()
1119 const struct spi_mem_op *op) in bcm_qspi_mspi_exec_mem_op()
1159 const struct spi_mem_op *op) in bcm_qspi_exec_mem_op()
A Dspi-dw-core.c470 static int dw_spi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in dw_spi_adjust_mem_op_size()
479 const struct spi_mem_op *op) in dw_spi_supports_mem_op()
488 static int dw_spi_init_mem_buf(struct dw_spi *dws, const struct spi_mem_op *op) in dw_spi_init_mem_buf()
654 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/
A Dspansion.c34 struct spi_mem_op op; in spi_nor_cypress_octal_dtr_enable()
45 op = (struct spi_mem_op) in spi_nor_cypress_octal_dtr_enable()
73 op = (struct spi_mem_op) in spi_nor_cypress_octal_dtr_enable()
89 op = (struct spi_mem_op) in spi_nor_cypress_octal_dtr_enable()
152 struct spi_mem_op op = in s28hs512t_post_bfpt_fixup()
A Dcore.c199 struct spi_mem_op op = in spi_nor_spimem_read_data()
263 struct spi_mem_op op = in spi_nor_spimem_write_data()
321 struct spi_mem_op op = in spi_nor_write_enable()
352 struct spi_mem_op op = in spi_nor_write_disable()
385 struct spi_mem_op op = in spi_nor_read_sr()
429 struct spi_mem_op op = in spi_nor_read_fsr()
473 struct spi_mem_op op = in spi_nor_read_cr()
506 struct spi_mem_op op = in spi_nor_set_4byte_addr_mode()
547 struct spi_mem_op op = in spansion_set_4byte_addr_mode()
581 struct spi_mem_op op = in spi_nor_write_ear()
[all …]
A Dmicron-st.c21 struct spi_mem_op op; in spi_nor_micron_octal_dtr_enable()
32 op = (struct spi_mem_op) in spi_nor_micron_octal_dtr_enable()
56 op = (struct spi_mem_op) in spi_nor_micron_octal_dtr_enable()
71 op = (struct spi_mem_op) in spi_nor_micron_octal_dtr_enable()
/linux/drivers/mtd/nand/spi/
A Dcore.c25 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()
478 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op()
488 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op()
532 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op()
545 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op()
978 static const struct spi_mem_op *
986 struct spi_mem_op op = variants->ops[i]; in spinand_select_op_variant()
[all …]
A Dgigadevice.c172 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq4uexxg_ecc_get_status()
214 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq5xexxg_ecc_get_status()
A Dwinbond.c66 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
A Dtoshiba.c76 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf); in tx58cxgxsxraix_ecc_get_status()
A Dmicron.c134 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(MICRON_DIE_SELECT_REG, in micron_select_target()

Completed in 74 milliseconds

12