Home
last modified time | relevance | path

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

/linux/include/linux/spi/
H A Dspi-mem.h185 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 Dspi-mem.c104 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 Dspi-wpcm-fiu.c137 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 Dspi-intel.c184 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 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()
H A Dspi-gxp.c200 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 Dspi-rockchip-sfc.c300 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 Dspi-cadence-xspi.c739 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 Datmel-quadspi.c278 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 Dspi-amlogic-spifc-a1.c254 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 Dspi-nxp-fspi.c455 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 Dspi-dw-core.c476 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 Dspi-airoha-snfi.c567 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 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()
H A Dspi-mt65xx.c857 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 Dspi-dw-bt1.c114 struct spi_mem *mem = desc->mem; in dw_spi_bt1_dirmap_read()
H A Dspi-mxic.c485 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 Dspi-mtk-snfi.c1242 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 Dspi-zynqmp-gqspi.c1059 static int zynqmp_qspi_exec_op(struct spi_mem *mem, in zynqmp_qspi_exec_op()
H A Dspi-bcm-qspi.c1190 static int bcm_qspi_exec_mem_op(struct spi_mem *mem, in bcm_qspi_exec_mem_op()
/linux/include/linux/mtd/
H A Dspi-nor.h393 struct spi_mem *spimem;
H A Dspinand.h443 struct spi_mem *spimem;
/linux/drivers/mtd/nand/spi/
H A Dcore.c1505 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 Dcore.c3576 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()