Searched refs:spi_sr (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/ssi/ |
H A D | stm32f2xx_spi.c | 49 s->spi_sr = 0x0000000A; in stm32f2xx_spi_reset() 63 s->spi_sr |= STM_SPI_SR_RXNE; in stm32f2xx_spi_transfer() 83 return s->spi_sr; in stm32f2xx_spi_read() 86 s->spi_sr &= ~STM_SPI_SR_RXNE; in stm32f2xx_spi_read() 180 VMSTATE_UINT32(spi_sr, STM32F2XXSPIState),
|
/openbmc/qemu/include/hw/ssi/ |
H A D | stm32f2xx_spi.h | 59 uint32_t spi_sr; member
|
/openbmc/linux/drivers/spi/ |
H A D | spi-fsl-dspi.c | 870 u32 spi_sr; in dspi_poll() local 873 regmap_read(dspi->regmap, SPI_SR, &spi_sr); in dspi_poll() 874 regmap_write(dspi->regmap, SPI_SR, spi_sr); in dspi_poll() 876 if (spi_sr & SPI_SR_CMDTCF) in dspi_poll() 889 u32 spi_sr; in dspi_interrupt() local 891 regmap_read(dspi->regmap, SPI_SR, &spi_sr); in dspi_interrupt() 892 regmap_write(dspi->regmap, SPI_SR, spi_sr); in dspi_interrupt() 894 if (!(spi_sr & SPI_SR_CMDTCF)) in dspi_interrupt()
|