Searched refs:CDNS_SPI_THLD (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-cadence.c | 37 #define CDNS_SPI_THLD 0x28 /* Transmit FIFO Watermark Register,RW */ macro 375 int threshold = cdns_spi_read(xspi, CDNS_SPI_THLD); in cdns_spi_irq() 385 cdns_spi_write(xspi, CDNS_SPI_THLD, 1); in cdns_spi_irq() 445 cdns_spi_write(xspi, CDNS_SPI_THLD, xspi->tx_fifo_depth >> 1); in cdns_transfer_one() 506 cdns_spi_write(xspi, CDNS_SPI_THLD, 0x1); in cdns_unprepare_transfer_hardware() 521 cdns_spi_write(xspi, CDNS_SPI_THLD, 0xffff); in cdns_spi_detect_fifo_depth() 522 xspi->tx_fifo_depth = cdns_spi_read(xspi, CDNS_SPI_THLD) + 1; in cdns_spi_detect_fifo_depth() 525 cdns_spi_write(xspi, CDNS_SPI_THLD, 0x1); in cdns_spi_detect_fifo_depth()
|