/linux/include/linux/spi/ |
A D | spi-mem.h | 176 struct spi_mem *mem; 194 struct spi_mem { struct 269 bool (*supports_op)(struct spi_mem *mem, 271 int (*exec_op)(struct spi_mem *mem, 280 int (*poll_status)(struct spi_mem *mem, 306 int (*probe)(struct spi_mem *mem); 307 int (*remove)(struct spi_mem *mem); 308 void (*shutdown)(struct spi_mem *mem); 362 int spi_mem_exec_op(struct spi_mem *mem, 368 spi_mem_dirmap_create(struct spi_mem *mem, [all …]
|
/linux/drivers/spi/ |
A D | spi-mem.c | 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() 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() 421 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name() 522 spi_mem_dirmap_create(struct spi_mem *mem, in spi_mem_dirmap_create() 747 static int spi_mem_read_status(struct spi_mem *mem, in spi_mem_read_status() 782 int spi_mem_poll_status(struct spi_mem *mem, in spi_mem_poll_status() 836 struct spi_mem *mem; in spi_mem_probe() 860 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_remove() [all …]
|
A D | spi-npcm-fiu.c | 314 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()
|
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()
|
A 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()
|
A D | spi-cadence-xspi.c | 404 struct spi_mem *mem, in cdns_xspi_mem_op() 416 static int cdns_xspi_mem_op_execute(struct spi_mem *mem, in cdns_xspi_mem_op_execute() 428 static int cdns_xspi_adjust_mem_op_size(struct spi_mem *mem, struct spi_mem_op *op) in cdns_xspi_adjust_mem_op_size()
|
A D | atmel-quadspi.c | 277 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | spi-dw-core.c | 470 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()
|
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()
|
A D | spi-stm32-qspi.c | 363 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()
|
A D | spi-mtk-nor.c | 250 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()
|
A D | spi-mxic.c | 335 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()
|
A D | spi-dw-bt1.c | 112 struct spi_mem *mem = desc->mem; in dw_spi_bt1_dirmap_read()
|
A D | spi-cadence-quadspi.c | 1391 static int cqspi_mem_process(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_mem_process() 1412 static int cqspi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_exec_mem_op() 1423 static bool cqspi_supports_mem_op(struct spi_mem *mem, in cqspi_supports_mem_op() 1584 static const char *cqspi_get_name(struct spi_mem *mem) in cqspi_get_name()
|
A 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()
|
A D | spi-zynqmp-gqspi.c | 935 static int zynqmp_qspi_exec_op(struct spi_mem *mem, in zynqmp_qspi_exec_op()
|
A D | spi-bcm-qspi.c | 1158 static int bcm_qspi_exec_mem_op(struct spi_mem *mem, in bcm_qspi_exec_mem_op()
|
/linux/drivers/mtd/spi-nor/ |
A 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_bin_visible()
|
A D | core.c | 3293 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/include/linux/mtd/ |
A D | spi-nor.h | 399 struct spi_mem *spimem;
|
A D | spinand.h | 422 struct spi_mem *spimem;
|
/linux/drivers/mtd/nand/spi/ |
A D | core.c | 1280 static int spinand_probe(struct spi_mem *mem) in spinand_probe() 1314 static int spinand_remove(struct spi_mem *mem) in spinand_remove()
|