Searched refs:fifo8_num_free (Results 1 – 14 of 14) sorted by relevance
/openbmc/qemu/include/qemu/ |
H A D | fifo32.h | 62 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 D | fifo8.h | 204 uint32_t fifo8_num_free(Fifo8 *fifo);
|
/openbmc/qemu/hw/scsi/ |
H A D | esp.c | 151 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 D | goldfish_tty.c | 171 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 D | sifive_uart.c | 120 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 D | allwinner-a10-spi.c | 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()
|
H A D | xlnx-versal-ospi.c | 842 end_b = next_b + fifo8_num_free(&s->rx_sram); in ospi_do_ind_read()
|
/openbmc/qemu/hw/net/ |
H A D | allwinner_emac.c | 189 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 D | console.c | 47 return (int)fifo8_num_free(&c->fifo); in console_can_read()
|
/openbmc/qemu/hw/i3c/ |
H A D | remote-i3c.c | 127 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 D | fifo8.c | 170 uint32_t fifo8_num_free(Fifo8 *fifo) in fifo8_num_free() function
|
/openbmc/qemu/chardev/ |
H A D | msmouse.c | 117 if (fifo8_num_free(&mouse->outbuf) >= count) { in msmouse_queue_event()
|
/openbmc/qemu/ui/ |
H A D | console-vc.c | 341 num_free = fifo8_num_free(&s->out_fifo); in qemu_text_console_handle_keysym()
|
H A D | gtk.c | 1922 free = fifo8_num_free(&vc->vte.out_fifo); in gd_vc_in()
|