Home
last modified time | relevance | path

Searched refs:fifo8_num_free (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dfifo32.h62 return DIV_ROUND_UP(fifo8_num_free(&fifo->fifo), sizeof(uint32_t)); in fifo32_num_free()
185 return fifo8_num_free(&fifo->fifo) < sizeof(uint32_t); in fifo32_is_full()
H A Dfifo8.h204 uint32_t fifo8_num_free(Fifo8 *fifo);
/openbmc/qemu/hw/scsi/
H A Desp.c151 if (fifo8_num_free(&s->fifo) < 2) { in esp_update_drq()
492 len = MIN(len, fifo8_num_free(&s->cmdfifo)); in esp_do_dma()
497 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_dma()
546 len = MIN(len, fifo8_num_free(&s->cmdfifo)); in esp_do_dma()
552 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_dma()
771 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_nodma()
791 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_nodma()
808 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_nodma()
826 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_nodma()
854 len = MIN(fifo8_num_free(&s->cmdfifo), len); in esp_do_nodma()
[all …]
/openbmc/qemu/hw/char/
H A Dgoldfish_tty.c171 int available = fifo8_num_free(&s->rx_fifo); in goldfish_tty_can_receive()
184 g_assert(size <= fifo8_num_free(&s->rx_fifo)); in goldfish_tty_receive()
H A Dsifive_uart.c120 if (size > fifo8_num_free(&s->tx_fifo)) { in sifive_uart_write_tx_fifo()
121 size = fifo8_num_free(&s->tx_fifo); in sifive_uart_write_tx_fifo()
/openbmc/qemu/hw/ssi/
H A Dallwinner-a10-spi.c236 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()
H A Dxlnx-versal-ospi.c842 end_b = next_b + fifo8_num_free(&s->rx_sram); in ospi_do_ind_read()
/openbmc/qemu/hw/net/
H A Dallwinner_emac.c189 return (s->ctl & EMAC_CTL_RX_EN) && (fifo8_num_free(&s->rx_fifo) >= 1532); in aw_emac_can_receive()
203 if (!(s->ctl & EMAC_CTL_RX_EN) || (fifo8_num_free(fifo) < total_size)) { in aw_emac_receive()
377 if (fifo8_num_free(fifo) < 4) { in aw_emac_write()
/openbmc/qemu/semihosting/
H A Dconsole.c47 return (int)fifo8_num_free(&c->fifo); in console_can_read()
/openbmc/qemu/hw/i3c/
H A Dremote-i3c.c127 if (fifo8_num_free(&i3c->tx_fifo) < num_to_send) { in remote_i3c_tx_fifo_push()
130 num_to_push = fifo8_num_free(&i3c->tx_fifo); in remote_i3c_tx_fifo_push()
/openbmc/qemu/util/
H A Dfifo8.c170 uint32_t fifo8_num_free(Fifo8 *fifo) in fifo8_num_free() function
/openbmc/qemu/chardev/
H A Dmsmouse.c117 if (fifo8_num_free(&mouse->outbuf) >= count) { in msmouse_queue_event()
/openbmc/qemu/ui/
H A Dconsole-vc.c341 num_free = fifo8_num_free(&s->out_fifo); in qemu_text_console_handle_keysym()
H A Dgtk.c1922 free = fifo8_num_free(&vc->vte.out_fifo); in gd_vc_in()