Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/can/
H A Dctucan_core.c209 s->rx_tail_pos = 0; in ctucan_hardware_reset()
214 s->rx_tail_pos = 0; in ctucan_hardware_reset()
327 s->rx_tail_pos = 0; in ctucan_mem_write()
453 uint32_t rx_head_pos = s->rx_tail_pos + s->rx_cnt; in ctucan_mem_read()
456 s->rx_pointers.s.rx_rpp = s->rx_tail_pos; in ctucan_mem_read()
476 memcpy(&val, s->rx_buff + s->rx_tail_pos, 4); in ctucan_mem_read()
493 s->rx_tail_pos = (s->rx_tail_pos + 4) % CTUCAN_RCV_BUF_LEN; in ctucan_mem_read()
569 s->rx_buff[(s->rx_tail_pos + s->rx_cnt) % CTUCAN_RCV_BUF_LEN] = rcv[i]; in ctucan_receive()
679 VMSTATE_UINT32(rx_tail_pos, CtuCanCoreState),
H A Dctucan_core.h98 uint32_t rx_tail_pos; /* Count by bytes. */ member