Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ssi/
H A Dallwinner-a10-spi.c224 if (fifo8_num_used(&s->rx_fifo) >= (AW_A10_SPI_FIFO_SIZE >> 2)) { in allwinner_a10_spi_update_irq()
230 if (fifo8_num_used(&s->rx_fifo) >= (AW_A10_SPI_FIFO_SIZE >> 1)) { in allwinner_a10_spi_update_irq()
236 if (fifo8_num_free(&s->rx_fifo) <= (AW_A10_SPI_FIFO_SIZE >> 2)) { in allwinner_a10_spi_update_irq()
254 if (fifo8_num_free(&s->tx_fifo) >= (AW_A10_SPI_FIFO_SIZE >> 2)) { in allwinner_a10_spi_update_irq()
260 if (fifo8_num_free(&s->tx_fifo) >= (AW_A10_SPI_FIFO_SIZE >> 1)) { in allwinner_a10_spi_update_irq()
266 if (fifo8_num_used(&s->tx_fifo) <= (AW_A10_SPI_FIFO_SIZE >> 2)) { in allwinner_a10_spi_update_irq()
534 fifo8_create(&s->tx_fifo, AW_A10_SPI_FIFO_SIZE); in allwinner_a10_spi_realize()
535 fifo8_create(&s->rx_fifo, AW_A10_SPI_FIFO_SIZE); in allwinner_a10_spi_realize()
/openbmc/qemu/include/hw/ssi/
H A Dallwinner-a10-spi.h35 #define AW_A10_SPI_FIFO_SIZE (64) macro