Searched refs:sun4i_spi_write (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-sun4i.c | 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() [all …]
|