Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/spi/
Dspi-mem.h91 struct spi_mem_op { struct
141 struct spi_mem_op op_tmpl;
253 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
255 const struct spi_mem_op *op);
257 const struct spi_mem_op *op);
292 const struct spi_mem_op *op,
296 const struct spi_mem_op *op,
300 const struct spi_mem_op *op);
305 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data()
313 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data()
[all …]
/Linux-v5.4/include/linux/mtd/
Dspinand.h246 const struct spi_mem_op *ops;
252 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \
253 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \
254 sizeof(struct spi_mem_op), \
375 const struct spi_mem_op *read_cache;
376 const struct spi_mem_op *write_cache;
377 const struct spi_mem_op *update_cache;
/Linux-v5.4/drivers/spi/
Dspi-mem.c35 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()
139 const struct spi_mem_op *op) in spi_mem_default_supports_op()
169 static int spi_mem_check_op(const struct spi_mem_op *op) in spi_mem_check_op()
189 const struct spi_mem_op *op) in spi_mem_internal_supports_op()
214 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
273 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
416 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size()
445 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
465 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
Dspi-stm32-qspi.c153 const struct spi_mem_op *op) in stm32_qspi_tx_poll()
185 const struct spi_mem_op *op) in stm32_qspi_tx_mm()
200 const struct spi_mem_op *op) in stm32_qspi_tx_dma()
263 static int stm32_qspi_tx(struct stm32_qspi *qspi, const struct spi_mem_op *op) in stm32_qspi_tx()
288 const struct spi_mem_op *op) in stm32_qspi_wait_cmd()
327 static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_send()
429 static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_exec_op()
Dspi-fsl-qspi.c339 const struct spi_mem_op *op) in fsl_qspi_supports_op()
387 const struct spi_mem_op *op) in fsl_qspi_prepare_lut()
522 static void fsl_qspi_read_ahb(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_read_ahb()
530 const struct spi_mem_op *op) in fsl_qspi_fill_txfifo()
555 const struct spi_mem_op *op) in fsl_qspi_read_rxfifo()
575 static int fsl_qspi_do_op(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_do_op()
612 static int fsl_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in fsl_qspi_exec_op()
669 static int fsl_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in fsl_qspi_adjust_op_size()
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()
Dspi-nxp-fspi.c393 const struct spi_mem_op *op) in nxp_fspi_supports_op()
483 const struct spi_mem_op *op) in nxp_fspi_prepare_lut()
644 static void nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_read_ahb()
653 const struct spi_mem_op *op) in nxp_fspi_fill_txfifo()
697 const struct spi_mem_op *op) in nxp_fspi_read_rxfifo()
747 static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_do_op()
787 static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in nxp_fspi_exec_op()
825 static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in nxp_fspi_adjust_op_size()
Datmel-quadspi.c175 static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, in atmel_qspi_is_compatible()
190 static int atmel_qspi_find_mode(const struct spi_mem_op *op) in atmel_qspi_find_mode()
202 const struct spi_mem_op *op) in atmel_qspi_supports_op()
216 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg()
326 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
Dspi-bcm-qspi.c208 const struct spi_mem_op *bspi_rf_op;
342 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_flex_mode()
388 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override()
433 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode()
793 const struct spi_mem_op *op) in bcm_qspi_bspi_exec_mem_op()
906 const struct spi_mem_op *op) in bcm_qspi_mspi_exec_mem_op()
946 const struct spi_mem_op *op) in bcm_qspi_exec_mem_op()
Dspi-zynq-qspi.c221 const struct spi_mem_op *op) in zynq_qspi_supports_op()
514 const struct spi_mem_op *op) in zynq_qspi_exec_mem_op()
Dspi-mxic.c336 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()
Dspi-ti-qspi.c528 const struct spi_mem_op *op) in ti_qspi_exec_mem_op()
/Linux-v5.4/drivers/mtd/nand/spi/
Dcore.c24 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, in spinand_read_reg_op()
38 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, in spinand_write_reg_op()
197 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op()
207 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op()
328 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op()
338 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op()
375 struct spi_mem_op op = SPINAND_READID_OP(0, spinand->scratchbuf, in spinand_read_id_op()
388 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op()
798 static const struct spi_mem_op *
806 struct spi_mem_op op = variants->ops[i]; in spinand_select_op_variant()
[all …]
Dmacronix.c54 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
Dwinbond.c66 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
Dtoshiba.c63 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf); in tc58cxgxsx_ecc_get_status()
Dgigadevice.c139 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQ4UEXXG_REG_STATUS2, in gd5fxgq4uexxg_ecc_get_status()
/Linux-v5.4/drivers/mtd/spi-nor/
Dspi-nor.c252 struct spi_mem_op *op) in spi_nor_spimem_xfer_data()
308 struct spi_mem_op op = in spi_nor_spimem_read_data()
357 struct spi_mem_op op = in spi_nor_spimem_write_data()
401 struct spi_mem_op op = in read_sr()
430 struct spi_mem_op op = in read_fsr()
459 struct spi_mem_op op = in read_cr()
486 struct spi_mem_op op = in write_sr()
505 struct spi_mem_op op = in write_enable()
523 struct spi_mem_op op = in write_disable()
622 struct spi_mem_op op = in macronix_set_4byte()
[all …]