Lines Matching defs:dws

60 static int dw_spi_debugfs_init(struct dw_spi *dws)  in dw_spi_debugfs_init()
77 static void dw_spi_debugfs_remove(struct dw_spi *dws) in dw_spi_debugfs_remove()
83 static inline int dw_spi_debugfs_init(struct dw_spi *dws) in dw_spi_debugfs_init()
88 static inline void dw_spi_debugfs_remove(struct dw_spi *dws) in dw_spi_debugfs_remove()
95 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_set_cs() local
113 static inline u32 dw_spi_tx_max(struct dw_spi *dws) in dw_spi_tx_max()
133 static inline u32 dw_spi_rx_max(struct dw_spi *dws) in dw_spi_rx_max()
138 static void dw_writer(struct dw_spi *dws) in dw_writer()
159 static void dw_reader(struct dw_spi *dws) in dw_reader()
180 int dw_spi_check_status(struct dw_spi *dws, bool raw) in dw_spi_check_status()
216 static irqreturn_t dw_spi_transfer_handler(struct dw_spi *dws) in dw_spi_transfer_handler()
257 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_irq() local
271 static u32 dw_spi_prepare_cr0(struct dw_spi *dws, struct spi_device *spi) in dw_spi_prepare_cr0()
318 void dw_spi_update_config(struct dw_spi *dws, struct spi_device *spi, in dw_spi_update_config()
359 static void dw_spi_irq_setup(struct dw_spi *dws) in dw_spi_irq_setup()
390 static int dw_spi_poll_transfer(struct dw_spi *dws, in dw_spi_poll_transfer()
420 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_transfer_one() local
472 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_handle_err() local
498 static int dw_spi_init_mem_buf(struct dw_spi *dws, const struct spi_mem_op *op) in dw_spi_init_mem_buf()
548 static void dw_spi_free_mem_buf(struct dw_spi *dws) in dw_spi_free_mem_buf()
554 static int dw_spi_write_then_read(struct dw_spi *dws, struct spi_device *spi) in dw_spi_write_then_read()
614 static inline bool dw_spi_ctlr_busy(struct dw_spi *dws) in dw_spi_ctlr_busy()
619 static int dw_spi_wait_mem_op_done(struct dw_spi *dws) in dw_spi_wait_mem_op_done()
649 static void dw_spi_stop_mem_op(struct dw_spi *dws, struct spi_device *spi) in dw_spi_stop_mem_op()
666 struct dw_spi *dws = spi_controller_get_devdata(mem->spi->controller); in dw_spi_exec_mem_op() local
765 static void dw_spi_init_mem_ops(struct dw_spi *dws) in dw_spi_init_mem_ops()
780 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_setup() local
786 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_setup() local
823 static void dw_spi_hw_init(struct device *dev, struct dw_spi *dws) in dw_spi_hw_init()
887 int dw_spi_add_host(struct device *dev, struct dw_spi *dws) in dw_spi_add_host()
977 void dw_spi_remove_host(struct dw_spi *dws) in dw_spi_remove_host()
992 int dw_spi_suspend_host(struct dw_spi *dws) in dw_spi_suspend_host()
1005 int dw_spi_resume_host(struct dw_spi *dws) in dw_spi_resume_host()