Home
last modified time | relevance | path

Searched refs:rx_level (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/char/
H A Dibex_uart.c130 s->rx_level += 1; in ibex_uart_receive()
247 s->rx_level = 0; in ibex_uart_reset()
292 if ((s->uart_ctrl & R_CTRL_RX_ENABLE_MASK) && (s->rx_level > 0)) { in ibex_uart_read()
295 s->rx_level -= 1; in ibex_uart_read()
297 if (s->rx_level == 0) { in ibex_uart_read()
314 retvalue |= (s->rx_level & 0x1F) << R_FIFO_STATUS_RXLVL_SHIFT; in ibex_uart_read()
418 s->rx_level = 0; in ibex_uart_write()
/openbmc/linux/drivers/spi/
H A Dspi-rockchip-sfc.c401 int rx_level; in rockchip_sfc_read_fifo() local
407 rx_level = rockchip_sfc_wait_rxfifo_ready(sfc, 1000); in rockchip_sfc_read_fifo()
408 if (rx_level < 0) in rockchip_sfc_read_fifo()
409 return rx_level; in rockchip_sfc_read_fifo()
410 read_words = min_t(u32, rx_level, dwords); in rockchip_sfc_read_fifo()
418 rx_level = rockchip_sfc_wait_rxfifo_ready(sfc, 1000); in rockchip_sfc_read_fifo()
419 if (rx_level < 0) in rockchip_sfc_read_fifo()
420 return rx_level; in rockchip_sfc_read_fifo()
/openbmc/qemu/hw/arm/
H A Dstrongarm.c1375 uint8_t rx_level; member
1416 if (s->rx_level >= 4) { in strongarm_ssp_fifo_update()
1421 if (s->rx_level) { in strongarm_ssp_fifo_update()
1452 if (s->rx_level < 1) { in strongarm_ssp_read()
1456 s->rx_level--; in strongarm_ssp_read()
1484 s->rx_level = 0; in strongarm_ssp_write()
1522 if (s->rx_level < 0x08) { in strongarm_ssp_write()
1523 s->rx_fifo[(s->rx_start + s->rx_level++) & 0x7] = readval; in strongarm_ssp_write()
1575 s->rx_level = 0; in strongarm_ssp_reset()
1588 VMSTATE_UINT8(rx_level, StrongARMSSPState),
/openbmc/qemu/include/hw/char/
H A Dibex_uart.h49 uint32_t rx_level; member
/openbmc/linux/drivers/i2c/busses/
H A Di2c-jz4780.c137 int rx_level; member
587 jz4780_i2c_writew(i2c, JZ4780_I2C_RXTL, i2c->cdata->rx_level); in jz4780_i2c_xfer_read()
742 .rx_level = JZ4780_I2C_FIFO_LEN / 2 - 1,
750 .rx_level = X1000_I2C_FIFO_LEN / 2 - 1,