Home
last modified time | relevance | path

Searched refs:spi_mem (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.15/include/linux/spi/
Dspi-mem.h176 struct spi_mem *mem;
194 struct spi_mem { struct
206 static inline void spi_mem_set_drvdata(struct spi_mem *mem, void *data) in spi_mem_set_drvdata() argument
218 static inline void *spi_mem_get_drvdata(struct spi_mem *mem) in spi_mem_get_drvdata()
268 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
269 bool (*supports_op)(struct spi_mem *mem,
271 int (*exec_op)(struct spi_mem *mem,
273 const char *(*get_name)(struct spi_mem *mem);
280 int (*poll_status)(struct spi_mem *mem,
306 int (*probe)(struct spi_mem *mem);
[all …]
/Linux-v5.15/drivers/mtd/spi-nor/
Dsysfs.c14 struct spi_mem *spimem = spi_get_drvdata(spi); in manufacturer_show()
25 struct spi_mem *spimem = spi_get_drvdata(spi); in partname_show()
36 struct spi_mem *spimem = spi_get_drvdata(spi); in jedec_id_show()
55 struct spi_mem *spimem = spi_get_drvdata(spi); in sfdp_read()
74 struct spi_mem *spimem = spi_get_drvdata(spi); in spi_nor_sysfs_is_bin_visible()
Dcore.c3293 static int spi_nor_probe(struct spi_mem *spimem) in spi_nor_probe()
3366 static int spi_nor_remove(struct spi_mem *spimem) in spi_nor_remove()
3376 static void spi_nor_shutdown(struct spi_mem *spimem) in spi_nor_shutdown()
/Linux-v5.15/drivers/spi/
Dspi-mem.c103 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
141 static bool spi_mem_check_buswidth(struct spi_mem *mem, in spi_mem_check_buswidth()
163 bool spi_mem_dtr_supports_op(struct spi_mem *mem, in spi_mem_dtr_supports_op()
173 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
213 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op()
239 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
248 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start()
276 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end()
299 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
421 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
[all …]
Dspi-rpc-if.c64 static bool rpcif_spi_mem_supports_op(struct spi_mem *mem, in rpcif_spi_mem_supports_op()
112 static int rpcif_spi_mem_exec_op(struct spi_mem *mem, in rpcif_spi_mem_exec_op()
Dspi-npcm-fiu.c314 static int npcm_fiu_uma_read(struct spi_mem *mem, in npcm_fiu_uma_read()
369 static int npcm_fiu_uma_write(struct spi_mem *mem, in npcm_fiu_uma_write()
419 static int npcm_fiu_manualwrite(struct spi_mem *mem, 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-hisi-sfc-v3xx.c147 static int hisi_sfc_v3xx_adjust_op_size(struct spi_mem *mem, in hisi_sfc_v3xx_adjust_op_size()
171 static bool hisi_sfc_v3xx_supports_op(struct spi_mem *mem, in hisi_sfc_v3xx_supports_op()
359 static int hisi_sfc_v3xx_exec_op(struct spi_mem *mem, in hisi_sfc_v3xx_exec_op()
Dspi-fsl-qspi.c368 static bool fsl_qspi_supports_op(struct spi_mem *mem, in fsl_qspi_supports_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()
810 static const char *fsl_qspi_get_name(struct spi_mem *mem) in fsl_qspi_get_name()
Datmel-quadspi.c277 static bool atmel_qspi_supports_op(struct spi_mem *mem, in atmel_qspi_supports_op()
409 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
461 static const char *atmel_qspi_get_name(struct spi_mem *spimem) in atmel_qspi_get_name()
Dspi-rockchip-sfc.c299 struct spi_mem *mem, in rockchip_sfc_xfer_setup()
488 static int rockchip_sfc_exec_mem_op(struct spi_mem *mem, const 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()
Dspi-nxp-fspi.c436 static bool nxp_fspi_supports_op(struct spi_mem *mem, in nxp_fspi_supports_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()
1046 static const char *nxp_fspi_get_name(struct spi_mem *mem) in nxp_fspi_get_name()
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()
478 static bool dw_spi_supports_mem_op(struct spi_mem *mem, in dw_spi_supports_mem_op()
654 static int dw_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in dw_spi_exec_mem_op()
Dspi-zynq-qspi.c225 static bool zynq_qspi_supports_op(struct spi_mem *mem, in zynq_qspi_supports_op()
525 static int zynq_qspi_exec_mem_op(struct spi_mem *mem, in zynq_qspi_exec_mem_op()
Dspi-stm32-qspi.c363 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()
Dspi-dw-bt1.c112 struct spi_mem *mem = desc->mem; in dw_spi_bt1_dirmap_read()
Dspi-mxic.c335 static bool mxic_spi_mem_supports_op(struct spi_mem *mem, in mxic_spi_mem_supports_op()
360 static int mxic_spi_mem_exec_op(struct spi_mem *mem, in mxic_spi_mem_exec_op()
Dspi-mtk-nor.c250 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size()
285 static bool mtk_nor_supports_op(struct spi_mem *mem, in mtk_nor_supports_op()
575 static int mtk_nor_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in mtk_nor_exec_op()
Dspi-cadence-quadspi.c1202 static int cqspi_mem_process(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_mem_process()
1223 static int cqspi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_exec_mem_op()
1234 static bool cqspi_supports_mem_op(struct spi_mem *mem, in cqspi_supports_mem_op()
1383 static const char *cqspi_get_name(struct spi_mem *mem) in cqspi_get_name()
Dspi-ti-qspi.c578 static int ti_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in ti_qspi_adjust_op_size()
607 static int ti_qspi_exec_mem_op(struct spi_mem *mem, in ti_qspi_exec_mem_op()
Dspi-zynqmp-gqspi.c935 static int zynqmp_qspi_exec_op(struct spi_mem *mem, in zynqmp_qspi_exec_op()
Dspi-bcm-qspi.c1017 static int bcm_qspi_exec_mem_op(struct spi_mem *mem, in bcm_qspi_exec_mem_op()
/Linux-v5.15/include/linux/mtd/
Dspi-nor.h399 struct spi_mem *spimem;
Dspinand.h422 struct spi_mem *spimem;
/Linux-v5.15/drivers/mtd/nand/spi/
Dcore.c1280 static int spinand_probe(struct spi_mem *mem) in spinand_probe()
1314 static int spinand_remove(struct spi_mem *mem) in spinand_remove()