Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/spi/
Dspi-mem.h137 struct spi_mem { struct
149 static inline void spi_mem_set_drvdata(struct spi_mem *mem, void *data) in spi_mem_set_drvdata() argument
161 static inline void *spi_mem_get_drvdata(struct spi_mem *mem) in spi_mem_get_drvdata()
186 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
187 bool (*supports_op)(struct spi_mem *mem,
189 int (*exec_op)(struct spi_mem *mem,
191 const char *(*get_name)(struct spi_mem *mem);
212 int (*probe)(struct spi_mem *mem);
213 int (*remove)(struct spi_mem *mem);
214 void (*shutdown)(struct spi_mem *mem);
[all …]
/Linux-v4.19/drivers/spi/
Dspi-mem.c100 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
129 static bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
167 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
190 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
325 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
346 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size()
366 struct spi_mem *mem; in spi_mem_probe()
390 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_remove()
401 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_shutdown()
Dspi-ti-qspi.c534 static int ti_qspi_exec_mem_op(struct spi_mem *mem, in ti_qspi_exec_mem_op()
Dspi-bcm-qspi.c955 static int bcm_qspi_exec_mem_op(struct spi_mem *mem, in bcm_qspi_exec_mem_op()
/Linux-v4.19/drivers/mtd/devices/
Dm25p80.c32 struct spi_mem *spimem;
170 static int m25p_probe(struct spi_mem *spimem) in m25p_probe()
246 static int m25p_remove(struct spi_mem *spimem) in m25p_remove()
256 static void m25p_shutdown(struct spi_mem *spimem) in m25p_shutdown()
/Linux-v4.19/include/linux/mtd/
Dspinand.h331 struct spi_mem *spimem;
/Linux-v4.19/drivers/mtd/nand/spi/
Dcore.c1076 static int spinand_probe(struct spi_mem *mem) in spinand_probe()
1110 static int spinand_remove(struct spi_mem *mem) in spinand_remove()