/linux-6.1.9/include/linux/spi/ |
D | spi-mem.h | 178 struct spi_mem *mem; 196 struct spi_mem { struct 208 static inline void spi_mem_set_drvdata(struct spi_mem *mem, void *data) in spi_mem_set_drvdata() argument 220 static inline void *spi_mem_get_drvdata(struct spi_mem *mem) in spi_mem_get_drvdata() 270 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); 271 bool (*supports_op)(struct spi_mem *mem, 273 int (*exec_op)(struct spi_mem *mem, 275 const char *(*get_name)(struct spi_mem *mem); 282 int (*poll_status)(struct spi_mem *mem, 321 int (*probe)(struct spi_mem *mem); [all …]
|
/linux-6.1.9/drivers/mtd/spi-nor/ |
D | sysfs.c | 14 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_visible() 87 struct spi_mem *spimem = spi_get_drvdata(spi); in spi_nor_sysfs_is_bin_visible()
|
/linux-6.1.9/drivers/spi/ |
D | spi-mem.c | 104 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req() 142 static bool spi_mem_check_buswidth(struct spi_mem *mem, in spi_mem_check_buswidth() 164 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op() 227 static bool spi_mem_internal_supports_op(struct spi_mem *mem, 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() 262 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start() 289 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end() 312 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 434 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name() 455 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() [all …]
|
D | spi-intel.c | 179 const struct spi_mem *mem, 464 const struct spi_mem *mem) in intel_spi_chip_addr() 472 static int intel_spi_read_reg(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_read_reg() 494 static int intel_spi_write_reg(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_write_reg() 554 static int intel_spi_read(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_read() 615 static int intel_spi_write(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_write() 678 static int intel_spi_erase(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_erase() 754 static bool intel_spi_supports_mem_op(struct spi_mem *mem, in intel_spi_supports_mem_op() 786 static int intel_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in intel_spi_exec_mem_op() 798 static const char *intel_spi_get_name(struct spi_mem *mem) in intel_spi_get_name()
|
D | spi-microchip-core-qspi.c | 368 static int mchp_qspi_wait_for_ready(struct spi_mem *mem) in mchp_qspi_wait_for_ready() 387 static int mchp_coreqspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in mchp_coreqspi_exec_op() 457 static bool mchp_coreqspi_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in mchp_coreqspi_supports_op() 484 static int mchp_coreqspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mchp_coreqspi_adjust_op_size()
|
D | spi-rpc-if.c | 64 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()
|
D | spi-hisi-sfc-v3xx.c | 147 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()
|
D | spi-npcm-fiu.c | 333 static int npcm_fiu_uma_read(struct spi_mem *mem, in npcm_fiu_uma_read() 388 static int npcm_fiu_uma_write(struct spi_mem *mem, in npcm_fiu_uma_write() 438 static int npcm_fiu_manualwrite(struct spi_mem *mem, in npcm_fiu_manualwrite() 487 static int npcm_fiu_read(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_read() 544 static int npcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_exec_op()
|
D | spi-gxp.c | 201 static int do_gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in do_gxp_exec_mem_op() 222 static int gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in gxp_exec_mem_op()
|
D | spi-cadence-xspi.c | 407 struct spi_mem *mem, in cdns_xspi_mem_op() 419 static int cdns_xspi_mem_op_execute(struct spi_mem *mem, in cdns_xspi_mem_op_execute() 431 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-fsl-qspi.c | 368 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()
|
D | spi-rockchip-sfc.c | 299 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()
|
D | atmel-quadspi.c | 278 static bool atmel_qspi_supports_op(struct spi_mem *mem, in atmel_qspi_supports_op() 407 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op() 466 static const char *atmel_qspi_get_name(struct spi_mem *spimem) in atmel_qspi_get_name()
|
D | spi-nxp-fspi.c | 436 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()
|
D | spi-dw-core.c | 480 static int dw_spi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in dw_spi_adjust_mem_op_size() 488 static bool dw_spi_supports_mem_op(struct spi_mem *mem, in dw_spi_supports_mem_op() 664 static int dw_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in dw_spi_exec_mem_op()
|
D | spi-aspeed-smc.c | 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() 375 static const char *aspeed_spi_get_name(struct spi_mem *mem) in aspeed_spi_get_name()
|
D | spi-zynq-qspi.c | 225 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()
|
D | spi-ath79.c | 137 static int ath79_exec_mem_op(struct spi_mem *mem, in ath79_exec_mem_op()
|
D | spi-mt65xx.c | 847 static int mtk_spi_mem_adjust_op_size(struct spi_mem *mem, in mtk_spi_mem_adjust_op_size() 864 static bool mtk_spi_mem_supports_op(struct spi_mem *mem, in mtk_spi_mem_supports_op() 911 static int mtk_spi_transfer_wait(struct spi_mem *mem, in mtk_spi_transfer_wait() 941 static int mtk_spi_mem_exec_op(struct spi_mem *mem, in mtk_spi_mem_exec_op()
|
D | spi-dw-bt1.c | 112 struct spi_mem *mem = desc->mem; in dw_spi_bt1_dirmap_read()
|
D | spi-mtk-nor.c | 263 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size() 298 static bool mtk_nor_supports_op(struct spi_mem *mem, in mtk_nor_supports_op() 593 static int mtk_nor_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in mtk_nor_exec_op()
|
D | spi-cadence-quadspi.c | 1319 static int cqspi_mem_process(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_mem_process() 1340 static int cqspi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_exec_mem_op() 1351 static bool cqspi_supports_mem_op(struct spi_mem *mem, in cqspi_supports_mem_op() 1519 static const char *cqspi_get_name(struct spi_mem *mem) in cqspi_get_name()
|
D | spi-ti-qspi.c | 578 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()
|
/linux-6.1.9/include/linux/mtd/ |
D | spi-nor.h | 378 struct spi_mem *spimem;
|
D | spinand.h | 426 struct spi_mem *spimem;
|