Lines Matching refs:mem
176 struct spi_mem *mem; member
206 static inline void spi_mem_set_drvdata(struct spi_mem *mem, void *data) in spi_mem_set_drvdata() argument
208 mem->drvpriv = data; in spi_mem_set_drvdata()
218 static inline void *spi_mem_get_drvdata(struct spi_mem *mem) in spi_mem_get_drvdata() argument
220 return mem->drvpriv; in spi_mem_get_drvdata()
268 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
269 bool (*supports_op)(struct spi_mem *mem,
271 int (*exec_op)(struct spi_mem *mem,
273 const char *(*get_name)(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);
320 bool spi_mem_default_supports_op(struct spi_mem *mem,
323 bool spi_mem_dtr_supports_op(struct spi_mem *mem,
343 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op() argument
350 bool spi_mem_dtr_supports_op(struct spi_mem *mem, in spi_mem_dtr_supports_op() argument
357 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op);
359 bool spi_mem_supports_op(struct spi_mem *mem,
362 int spi_mem_exec_op(struct spi_mem *mem,
365 const char *spi_mem_get_name(struct spi_mem *mem);
368 spi_mem_dirmap_create(struct spi_mem *mem,
376 devm_spi_mem_dirmap_create(struct device *dev, struct spi_mem *mem,
381 int spi_mem_poll_status(struct spi_mem *mem,