Searched defs:sspi (Results 1 – 3 of 3) sorted by relevance
90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read()95 static inline void sun4i_spi_write(struct sun4i_spi *sspi, u32 reg, u32 value) in sun4i_spi_write()100 static inline u32 sun4i_spi_get_tx_fifo_count(struct sun4i_spi *sspi) in sun4i_spi_get_tx_fifo_count()125 static inline void sun4i_spi_drain_fifo(struct sun4i_spi *sspi, int len) in sun4i_spi_drain_fifo()145 static inline void sun4i_spi_fill_fifo(struct sun4i_spi *sspi, int len) in sun4i_spi_fill_fifo()164 struct sun4i_spi *sspi = spi_master_get_devdata(spi->master); in sun4i_spi_set_cs() local208 struct sun4i_spi *sspi = spi_master_get_devdata(master); in sun4i_spi_transfer_one() local351 struct sun4i_spi *sspi = dev_id; in sun4i_spi_handler() local390 struct sun4i_spi *sspi = spi_master_get_devdata(master); in sun4i_spi_runtime_resume() local419 struct sun4i_spi *sspi = spi_master_get_devdata(master); in sun4i_spi_runtime_suspend() local[all …]
149 static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi) in sun6i_spi_drain_fifo()164 static inline void sun6i_spi_fill_fifo(struct sun6i_spi *sspi) in sun6i_spi_fill_fifo()184 struct sun6i_spi *sspi = spi_master_get_devdata(spi->master); in sun6i_spi_set_cs() local206 struct sun6i_spi *sspi = param; in sun6i_spi_dma_rx_cb() local211 static int sun6i_spi_prepare_dma(struct sun6i_spi *sspi, in sun6i_spi_prepare_dma()279 struct sun6i_spi *sspi = spi_master_get_devdata(master); in sun6i_spi_transfer_one() local530 struct sun6i_spi *sspi = dev_id; in sun6i_spi_handler() local568 struct sun6i_spi *sspi = spi_master_get_devdata(master); in sun6i_spi_runtime_resume() local605 struct sun6i_spi *sspi = spi_master_get_devdata(master); in sun6i_spi_runtime_suspend() local618 struct sun6i_spi *sspi = spi_master_get_devdata(master); in sun6i_spi_can_dma() local[all …]
141 static int read_fifo(struct synquacer_spi *sspi) in read_fifo()184 static int write_fifo(struct synquacer_spi *sspi) in write_fifo()232 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_config() local357 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_transfer_one() local524 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_enable() local565 struct synquacer_spi *sspi = priv; in sq_spi_rx_handler() local585 struct synquacer_spi *sspi = priv; in sq_spi_tx_handler() local605 struct synquacer_spi *sspi; in synquacer_spi_probe() local741 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_remove() local751 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_suspend() local[all …]