Searched refs:BCM2835_SPI_CS (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-bcm2835.c | 35 #define BCM2835_SPI_CS 0x00 macro 213 (bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_RXD)) { in bcm2835_rd_fifo() 226 (bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_TXD)) { in bcm2835_wr_fifo() 299 while (!(bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_DONE)) in bcm2835_wait_tx_fifo_empty() 342 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_reset_hw() 360 bcm2835_wr(bs, BCM2835_SPI_CS, cs); in bcm2835_spi_reset_hw() 368 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_interrupt() 411 bcm2835_wr(bs, BCM2835_SPI_CS, cs | BCM2835_SPI_CS_TA); in bcm2835_spi_transfer_one_irq() 420 bcm2835_wr(bs, BCM2835_SPI_CS, cs); in bcm2835_spi_transfer_one_irq() 508 bcm2835_wr(bs, BCM2835_SPI_CS, c in bcm2835_spi_transfer_prologue() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-bcm2835.c | 35 #define BCM2835_SPI_CS 0x00 macro 218 (bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_RXD)) { in bcm2835_rd_fifo() 231 (bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_TXD)) { in bcm2835_wr_fifo() 304 while (!(bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_DONE)) in bcm2835_wait_tx_fifo_empty() 347 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_reset_hw() 365 bcm2835_wr(bs, BCM2835_SPI_CS, cs); in bcm2835_spi_reset_hw() 373 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_interrupt() 420 bcm2835_wr(bs, BCM2835_SPI_CS, cs | BCM2835_SPI_CS_TA); in bcm2835_spi_transfer_one_irq() 429 bcm2835_wr(bs, BCM2835_SPI_CS, cs); in bcm2835_spi_transfer_one_irq() 517 bcm2835_wr(bs, BCM2835_SPI_CS, c in bcm2835_spi_transfer_prologue() [all...] |
Completed in 5 milliseconds