Lines Matching refs:mss_spi_config

101 struct mss_spi_config {  struct
117 static inline uint32_t mss_spi_read(const struct mss_spi_config *cfg, mm_reg_t offset) in mss_spi_read() argument
122 static inline void mss_spi_write(const struct mss_spi_config *cfg, mm_reg_t offset, uint32_t val) in mss_spi_write()
127 static inline void mss_spi_hw_tfsz_set(const struct mss_spi_config *cfg, int len) in mss_spi_hw_tfsz_set()
138 static inline void mss_spi_enable_controller(const struct mss_spi_config *cfg) in mss_spi_enable_controller()
147 static inline void mss_spi_disable_controller(const struct mss_spi_config *cfg) in mss_spi_disable_controller()
156 static void mss_spi_enable_ints(const struct mss_spi_config *cfg) in mss_spi_enable_ints()
167 static void mss_spi_disable_ints(const struct mss_spi_config *cfg) in mss_spi_disable_ints()
181 const struct mss_spi_config *cfg = dev->config; in mss_spi_readwr_fifo()
224 static inline int mss_spi_select_slave(const struct mss_spi_config *cfg, int cs) in mss_spi_select_slave()
238 static inline void mss_spi_activate_cs(struct mss_spi_config *cfg) in mss_spi_activate_cs()
246 static inline void mss_spi_deactivate_cs(const struct mss_spi_config *cfg) in mss_spi_deactivate_cs()
254 static inline int mss_spi_clk_gen_set(const struct mss_spi_config *cfg, in mss_spi_clk_gen_set()
276 static inline int mss_spi_hw_mode_set(const struct mss_spi_config *cfg, unsigned int mode) in mss_spi_hw_mode_set()
300 const struct mss_spi_config *cfg = dev->config; in mss_spi_interrupt()
315 const struct mss_spi_config *cfg = dev->config; in mss_spi_release()
329 const struct mss_spi_config *cfg = dev->config; in mss_spi_configure()
377 const struct mss_spi_config *config = dev->config; in mss_spi_transceive()
423 const struct mss_spi_config *cfg = dev->config; in mss_spi_init()
470 static const struct mss_spi_config mss_spi_config_##n = { \