Searched refs:cdns_spi_write (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi-cadence.c | 139 static inline void cdns_spi_write(struct cdns_spi *xspi, u32 offset, u32 val) in cdns_spi_write() function 166 cdns_spi_write(xspi, CDNS_SPI_ER, CDNS_SPI_ER_DISABLE); in cdns_spi_init_hw() 167 cdns_spi_write(xspi, CDNS_SPI_IDR, CDNS_SPI_IXR_ALL); in cdns_spi_init_hw() 173 cdns_spi_write(xspi, CDNS_SPI_ISR, CDNS_SPI_IXR_ALL); in cdns_spi_init_hw() 174 cdns_spi_write(xspi, CDNS_SPI_CR, ctrl_reg); in cdns_spi_init_hw() 175 cdns_spi_write(xspi, CDNS_SPI_ER, CDNS_SPI_ER_ENABLE); in cdns_spi_init_hw() 205 cdns_spi_write(xspi, CDNS_SPI_CR, ctrl_reg); in cdns_spi_chipselect() 236 cdns_spi_write(xspi, CDNS_SPI_ER, CDNS_SPI_ER_DISABLE); in cdns_spi_config_clock_mode() 237 cdns_spi_write(xspi, CDNS_SPI_CR, new_ctrl_reg); in cdns_spi_config_clock_mode() 238 cdns_spi_write(xspi, CDNS_SPI_ER, CDNS_SPI_ER_ENABLE); in cdns_spi_config_clock_mode() [all …]
|