Lines Matching refs:sun4i_spi_write
95 static inline void sun4i_spi_write(struct sun4i_spi *sspi, u32 reg, u32 value) in sun4i_spi_write() function
114 sun4i_spi_write(sspi, SUN4I_INT_CTL_REG, reg); in sun4i_spi_enable_interrupt()
122 sun4i_spi_write(sspi, SUN4I_INT_CTL_REG, reg); in sun4i_spi_disable_interrupt()
196 sun4i_spi_write(sspi, SUN4I_CTL_REG, reg); in sun4i_spi_set_cs()
228 sun4i_spi_write(sspi, SUN4I_INT_STA_REG, ~0); in sun4i_spi_transfer_one()
234 sun4i_spi_write(sspi, SUN4I_CTL_REG, in sun4i_spi_transfer_one()
266 sun4i_spi_write(sspi, SUN4I_CTL_REG, reg); in sun4i_spi_transfer_one()
300 sun4i_spi_write(sspi, SUN4I_CLK_CTL_REG, reg); in sun4i_spi_transfer_one()
307 sun4i_spi_write(sspi, SUN4I_BURST_CNT_REG, SUN4I_BURST_CNT(tfr->len)); in sun4i_spi_transfer_one()
308 sun4i_spi_write(sspi, SUN4I_XMIT_CNT_REG, SUN4I_XMIT_CNT(tx_len)); in sun4i_spi_transfer_one()
326 sun4i_spi_write(sspi, SUN4I_CTL_REG, reg | SUN4I_CTL_XCH); in sun4i_spi_transfer_one()
344 sun4i_spi_write(sspi, SUN4I_INT_CTL_REG, 0); in sun4i_spi_transfer_one()
356 sun4i_spi_write(sspi, SUN4I_INT_STA_REG, SUN4I_INT_CTL_TC); in sun4i_spi_handler()
366 sun4i_spi_write(sspi, SUN4I_INT_STA_REG, SUN4I_INT_CTL_RF_F34); in sun4i_spi_handler()
379 sun4i_spi_write(sspi, SUN4I_INT_STA_REG, SUN4I_INT_CTL_TF_E34); in sun4i_spi_handler()
405 sun4i_spi_write(sspi, SUN4I_CTL_REG, in sun4i_spi_runtime_resume()