Home
last modified time | relevance | path

Searched refs:fifo8_is_empty (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/hw/char/
H A Dgoldfish_tty.c80 if (!fifo8_is_empty(&s->rx_fifo)) { in goldfish_tty_cmd()
88 if (!fifo8_is_empty(&s->rx_fifo)) { in goldfish_tty_cmd()
111 while (len && !fifo8_is_empty(&s->rx_fifo)) { in goldfish_tty_cmd()
119 if (s->int_enabled && fifo8_is_empty(&s->rx_fifo)) { in goldfish_tty_cmd()
188 if (s->int_enabled && !fifo8_is_empty(&s->rx_fifo)) { in goldfish_tty_receive()
H A Dsifive_uart.c83 if (fifo8_is_empty(&s->tx_fifo)) { in sifive_uart_xmit()
97 if (!fifo8_is_empty(&s->tx_fifo)) { in sifive_uart_xmit()
H A Dserial.c240 assert(!fifo8_is_empty(&s->xmit_fifo)); in serial_xmit()
482 ret = fifo8_is_empty(&s->recv_fifo) ? in serial_ioport_read()
738 return !fifo8_is_empty(&s->recv_fifo); in serial_recv_fifo_needed()
756 return !fifo8_is_empty(&s->xmit_fifo); in serial_xmit_fifo_needed()
/openbmc/qemu/semihosting/
H A Dconsole.c74 return !fifo8_is_empty(&c->fifo); in qemu_semihosting_console_ready()
84 if (fifo8_is_empty(&c->fifo)) { in qemu_semihosting_console_block_until_ready()
104 } while (ret < len && !fifo8_is_empty(&c->fifo)); in qemu_semihosting_console_read()
/openbmc/qemu/hw/ssi/
H A Dxilinx_spi.c132 (!fifo8_is_empty(&s->rx_fifo) ? IRQ_DRR_NOT_EMPTY : 0) | in xlx_spi_update_irq()
179 while (!fifo8_is_empty(&s->tx_fifo)) { in spi_flush_txfifo()
213 if (fifo8_is_empty(&s->rx_fifo)) { in spi_read()
220 if (fifo8_is_empty(&s->rx_fifo)) { in spi_read()
H A Dbcm2835_spi.c50 if (!fifo8_is_empty(&s->rx_fifo)) { in bcm2835_spi_update_rx_flags()
81 if (fifo8_is_empty(&s->tx_fifo) && s->cs & BCM2835_SPI_CS_TA) { in bcm2835_spi_update_tx_flags()
92 while (!fifo8_is_empty(&s->tx_fifo) && !fifo8_is_full(&s->rx_fifo)) { in bcm2835_spi_flush_tx_fifo()
H A Dallwinner-a10-spi.c218 if (fifo8_is_empty(&s->rx_fifo)) { in allwinner_a10_spi_update_irq()
248 if (fifo8_is_empty(&s->tx_fifo)) { in allwinner_a10_spi_update_irq()
295 while (!fifo8_is_empty(&s->tx_fifo)) { in allwinner_a10_spi_flush_txfifo()
335 if (fifo8_is_empty(&s->tx_fifo)) { in allwinner_a10_spi_flush_txfifo()
363 if (fifo8_is_empty(&s->rx_fifo)) { in allwinner_a10_spi_read()
H A Dxilinx_spips.c308 fifo8_is_empty(&s->tx_fifo)) { in xilinx_spips_update_cs_lines()
323 (fifo8_is_empty(&s->tx_fifo) ? IXR_TX_FIFO_EMPTY : 0) | in xilinx_spips_update_ixr()
345 (fifo8_is_empty(&s->rx_fifo_g) ? IXR_RX_FIFO_EMPTY : 0) | in xlnx_zynqmp_qspips_update_ixr()
349 (fifo8_is_empty(&s->tx_fifo_g) ? IXR_TX_FIFO_EMPTY : 0) | in xlnx_zynqmp_qspips_update_ixr()
509 if (!fifo8_is_empty(&s->tx_fifo_g)) { in xlnx_zynqmp_qspips_flush_fifo_g()
617 if (fifo8_is_empty(&s->tx_fifo)) { in xilinx_spips_flush_txfifo()
623 if (!fifo8_is_empty(&s->tx_fifo)) { in xilinx_spips_flush_txfifo()
783 (!fifo8_is_empty(&s->tx_fifo) && in xilinx_spips_check_flush()
817 for (i = 0; i < max && !fifo8_is_empty(fifo); ++i) { in rx_data_bytes()
946 if (fifo8_is_empty(&s->rx_fifo_g)) { in xlnx_zynqmp_qspips_read()
[all …]
H A Dsifive_spi.c135 while (!fifo8_is_empty(&s->tx_fifo)) { in sifive_spi_flush_txfifo()
201 if (fifo8_is_empty(&s->rx_fifo)) { in sifive_spi_read()
H A Dibex_spi_host.c246 if (fifo8_is_empty(&s->tx_fifo)) { in ibex_spi_host_transfer()
321 if (fifo8_is_empty(&s->rx_fifo)) { in ibex_spi_host_read()
H A Dxlnx-versal-ospi.c633 while (!fifo8_is_empty(&s->tx_fifo)) { in ospi_flush_txfifo()
/openbmc/qemu/include/qemu/
H A Dfifo32.h171 return fifo8_is_empty(&fifo->fifo); in fifo32_is_empty()
H A Dfifo8.h184 bool fifo8_is_empty(Fifo8 *fifo);
/openbmc/qemu/util/
H A Dfifo8.c160 bool fifo8_is_empty(Fifo8 *fifo) in fifo8_is_empty() function
/openbmc/qemu/hw/ppc/
H A Dpnv_i2c.c149 if (fifo8_is_empty(&i2c->fifo)) { in pnv_i2c_fifo_flush()
277 if (fifo8_is_empty(&i2c->fifo)) { in pnv_i2c_fifo_out()
/openbmc/qemu/hw/scsi/
H A Desp.c190 if (fifo8_is_empty(&s->fifo)) { in esp_fifo_pop()
343 uint8_t message = fifo8_is_empty(&s->cmdfifo) ? 0 : in do_message_phase()
888 if (fifo8_is_empty(&s->fifo)) { in esp_do_nodma()
/openbmc/qemu/hw/i3c/
H A Dremote-i3c.c89 return !fifo8_is_empty(&i3c->tx_fifo); in remote_i3c_tx_in_progress()
H A Daspeed_i3c.c846 if (fifo8_is_empty(&s->ibi_data.ibi_intermediate_queue)) { in aspeed_i3c_device_ibi_queue_push()
/openbmc/qemu/hw/display/
H A Dxlnx_dp.c446 if (fifo8_is_empty(&s->rx_fifo)) { in xlnx_dp_aux_pop_rx_fifo()
477 if (fifo8_is_empty(&s->tx_fifo)) { in xlnx_dp_aux_pop_tx_fifo()