Lines Matching defs:rs
199 static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) in spi_enable_chip()
204 static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool slave_mode) in wait_for_tx_idle()
222 static u32 get_fifo_len(struct rockchip_spi *rs) in get_fifo_len()
240 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_set_cs() local
271 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_handle_err() local
288 static void rockchip_spi_pio_writer(struct rockchip_spi *rs) in rockchip_spi_pio_writer()
307 static void rockchip_spi_pio_reader(struct rockchip_spi *rs) in rockchip_spi_pio_reader()
344 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_isr() local
359 static int rockchip_spi_prepare_irq(struct rockchip_spi *rs, in rockchip_spi_prepare_irq()
380 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_dma_rxcb() local
393 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_dma_txcb() local
419 static int rockchip_spi_prepare_dma(struct rockchip_spi *rs, in rockchip_spi_prepare_dma()
493 static int rockchip_spi_config(struct rockchip_spi *rs, in rockchip_spi_config()
586 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_slave_abort() local
599 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_transfer_one() local
640 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_can_dma() local
653 struct rockchip_spi *rs; in rockchip_spi_probe() local
845 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_remove() local
889 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_resume() local
911 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_runtime_suspend() local
923 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_runtime_resume() local