Home
last modified time | relevance | path

Searched refs:sifive_spi_read (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-sifive.c104 static u32 sifive_spi_read(struct sifive_spi *spi, int offset) in sifive_spi_read() function
211 u32 ip = sifive_spi_read(spi, SIFIVE_SPI_REG_IP); in sifive_spi_irq()
229 cr = sifive_spi_read(spi, SIFIVE_SPI_REG_IP); in sifive_spi_wait()
240 WARN_ON_ONCE((sifive_spi_read(spi, SIFIVE_SPI_REG_TXDATA) in sifive_spi_tx()
248 u32 data = sifive_spi_read(spi, SIFIVE_SPI_REG_RXDATA); in sifive_spi_rx()
353 spi->cs_inactive = sifive_spi_read(spi, SIFIVE_SPI_REG_CSDEF); in sifive_spi_probe()
355 cs_bits = sifive_spi_read(spi, SIFIVE_SPI_REG_CSDEF); in sifive_spi_probe()
/openbmc/qemu/hw/ssi/
H A Dsifive_spi.c180 static uint64_t sifive_spi_read(void *opaque, hwaddr addr, unsigned int size) in sifive_spi_read() function
300 .read = sifive_spi_read,