/linux/include/linux/spi/ |
H A D | spi-mem.h | 185 struct spi_mem *mem; 203 struct spi_mem { struct 215 static inline void spi_mem_set_drvdata(struct spi_mem *mem, void *data) in spi_mem_set_drvdata() argument 227 static inline void *spi_mem_get_drvdata(struct spi_mem *mem) in spi_mem_get_drvdata() 279 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); 280 bool (*supports_op)(struct spi_mem *mem, 282 int (*exec_op)(struct spi_mem *mem, 284 const char *(*get_name)(struct spi_mem *mem); 291 int (*poll_status)(struct spi_mem *mem, 333 int (*probe)(struct spi_mem *mem); [all …]
|
/linux/drivers/spi/ |
H A 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() 230 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op() 256 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op() 265 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start() 292 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end() 358 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 484 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name() 505 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() [all …]
|
H A D | spi-wpcm-fiu.c | 137 int (*exec)(struct spi_mem *mem, const struct spi_mem_op *op); 150 static int wpcm_fiu_normal_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_normal_exec() 177 static int wpcm_fiu_fast_read_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_fast_read_exec() 195 static int wpcm_fiu_4ba_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_4ba_exec() 240 static int wpcm_fiu_rdid_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_rdid_exec() 277 static int wpcm_fiu_dummy_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_dummy_exec() 322 static bool wpcm_fiu_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_supports_op() 352 static int wpcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_exec_op() 367 static int wpcm_fiu_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in wpcm_fiu_adjust_op_size()
|
H A D | spi-intel.c | 184 const struct spi_mem *mem, 453 const struct spi_mem *mem) in intel_spi_chip_addr() 461 static int intel_spi_read_reg(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_read_reg() 484 static int intel_spi_write_reg(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_write_reg() 545 static int intel_spi_read(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_read() 606 static int intel_spi_write(struct intel_spi *ispi, const struct spi_mem *mem, in intel_spi_write() 669 static int intel_spi_erase(struct intel_spi *ispi, const struct spi_mem *mem, 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() 751 static bool intel_spi_supports_mem_op(struct spi_mem *mem, in intel_spi_supports_mem_op() 783 static int intel_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in intel_spi_exec_mem_op() [all …]
|
H A 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()
|
H A D | spi-gxp.c | 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-rockchip-sfc.c | 300 struct spi_mem *mem, in rockchip_sfc_xfer_setup() 489 static int rockchip_sfc_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in rockchip_sfc_exec_mem_op() 525 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-xspi.c | 739 struct spi_mem *mem, in cdns_xspi_mem_op() 751 static int cdns_xspi_mem_op_execute(struct spi_mem *mem, in cdns_xspi_mem_op_execute() 763 static int marvell_xspi_mem_op_execute(struct spi_mem *mem, in marvell_xspi_mem_op_execute() 778 static bool cdns_xspi_supports_op(struct spi_mem *mem, 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 | 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()
|
H A D | spi-amlogic-spifc-a1.c | 254 static int amlogic_spifc_a1_exec_op(struct spi_mem *mem, in amlogic_spifc_a1_exec_op() 294 static int amlogic_spifc_a1_adjust_op_size(struct spi_mem *mem, in amlogic_spifc_a1_adjust_op_size()
|
H A D | spi-nxp-fspi.c | 455 static bool nxp_fspi_supports_op(struct spi_mem *mem, in nxp_fspi_supports_op() 922 static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in nxp_fspi_exec_op() 962 static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in nxp_fspi_adjust_op_size() 1123 static const char *nxp_fspi_get_name(struct spi_mem *mem) in nxp_fspi_get_name()
|
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() 484 static bool dw_spi_supports_mem_op(struct spi_mem *mem, in dw_spi_supports_mem_op() 660 static int dw_spi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in dw_spi_exec_mem_op()
|
H A D | spi-airoha-snfi.c | 567 static int airoha_snand_adjust_op_size(struct spi_mem *mem, in airoha_snand_adjust_op_size() 594 static bool airoha_snand_supports_op(struct spi_mem *mem, in airoha_snand_supports_op() 898 static int airoha_snand_exec_op(struct spi_mem *mem, in airoha_snand_exec_op()
|
H A 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()
|
H A D | spi-mt65xx.c | 857 static int mtk_spi_mem_adjust_op_size(struct spi_mem *mem, in mtk_spi_mem_adjust_op_size() 874 static bool mtk_spi_mem_supports_op(struct spi_mem *mem, in mtk_spi_mem_supports_op() 921 static int mtk_spi_transfer_wait(struct spi_mem *mem, in mtk_spi_transfer_wait() 951 static int mtk_spi_mem_exec_op(struct spi_mem *mem, in mtk_spi_mem_exec_op()
|
H A D | spi-dw-bt1.c | 114 struct spi_mem *mem = desc->mem; in dw_spi_bt1_dirmap_read()
|
H A D | spi-mxic.c | 485 static bool mxic_spi_mem_supports_op(struct spi_mem *mem, in mxic_spi_mem_supports_op() 518 static int mxic_spi_mem_exec_op(struct spi_mem *mem, in mxic_spi_mem_exec_op()
|
H A D | spi-mtk-snfi.c | 1242 static bool mtk_snand_supports_op(struct spi_mem *mem, 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-zynqmp-gqspi.c | 1059 static int zynqmp_qspi_exec_op(struct spi_mem *mem, in zynqmp_qspi_exec_op()
|
H A D | spi-bcm-qspi.c | 1190 static int bcm_qspi_exec_mem_op(struct spi_mem *mem, in bcm_qspi_exec_mem_op()
|
/linux/include/linux/mtd/ |
H A D | spi-nor.h | 393 struct spi_mem *spimem;
|
H A D | spinand.h | 443 struct spi_mem *spimem;
|
/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 1505 static int spinand_probe(struct spi_mem *mem) in spinand_probe() 1539 static int spinand_remove(struct spi_mem *mem) in spinand_remove()
|
/linux/drivers/mtd/spi-nor/ |
H A D | core.c | 3576 static int spi_nor_probe(struct spi_mem *spimem) in spi_nor_probe() 3651 static int spi_nor_remove(struct spi_mem *spimem) in spi_nor_remove() 3661 static void spi_nor_shutdown(struct spi_mem *spimem) in spi_nor_shutdown()
|