Searched refs:CDNS_SPI_THLD (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-cadence.c | 38 #define CDNS_SPI_THLD 0x28 /* Transmit FIFO Watermark Register,RW */ macro 378 int threshold = cdns_spi_read(xspi, CDNS_SPI_THLD); in cdns_spi_irq() 388 cdns_spi_write(xspi, CDNS_SPI_THLD, 1); in cdns_spi_irq() 448 cdns_spi_write(xspi, CDNS_SPI_THLD, xspi->tx_fifo_depth >> 1); in cdns_transfer_one() 509 cdns_spi_write(xspi, CDNS_SPI_THLD, 0x1); in cdns_unprepare_transfer_hardware() 524 cdns_spi_write(xspi, CDNS_SPI_THLD, 0xffff); in cdns_spi_detect_fifo_depth() 525 xspi->tx_fifo_depth = cdns_spi_read(xspi, CDNS_SPI_THLD) + 1; in cdns_spi_detect_fifo_depth() 528 cdns_spi_write(xspi, CDNS_SPI_THLD, 0x1); in cdns_spi_detect_fifo_depth()
|