Searched refs:rx_cnt (Results 1 – 5 of 5) sorted by relevance
62 uint8_t rx_cnt; member88 s->rx_cnt = 0; in OBJECT_DEFINE_TYPE()267 if (s->rx_cnt > 0) { in sh_serial_read()269 s->rx_cnt--; in sh_serial_read()273 if (s->rx_cnt < s->rtrg) { in sh_serial_read()282 ret = s->rx_cnt; in sh_serial_read()356 if (s->rx_cnt < SH_RX_FIFO_LENGTH) { in sh_serial_receive1()361 s->rx_cnt++; in sh_serial_receive1()362 if (s->rx_cnt >= s->rtrg) { in sh_serial_receive1()
210 s->rx_cnt = 0; in ctucan_hardware_reset()215 s->rx_cnt = 0; in ctucan_hardware_reset()328 s->rx_cnt = 0; in ctucan_mem_write()448 s->rx_cnt) >> 2; in ctucan_mem_read()453 uint32_t rx_head_pos = s->rx_tail_pos + s->rx_cnt; in ctucan_mem_read()467 if (((s->rx_cnt + 3) & ~3) == CTUCAN_RCV_BUF_LEN) { in ctucan_mem_read()475 if (s->rx_cnt) { in ctucan_mem_read()483 s->rx_cnt -= 4; in ctucan_mem_read()562 if (((s->rx_cnt + 3) & ~3) == CTUCAN_RCV_BUF_LEN) { in ctucan_receive()570 s->rx_cnt++; in ctucan_receive()[all …]
61 s->rx_cnt = 0x00; in can_sja_software_reset()73 s->rx_cnt = 0x00; in can_sja_hardware_reset()472 s->rx_cnt = 0; in can_sja_mem_write()525 s->rx_cnt -= count; in can_sja_mem_write()573 s->rx_cnt = 0; in can_sja_mem_write()622 s->rx_cnt -= count; in can_sja_mem_write()821 if (s->rx_cnt + ret > SJA_RCV_BUF_LEN) { /* Data overrun. */ in can_sja_receive()831 s->rx_cnt += ret; in can_sja_receive()861 if (s->rx_cnt + ret > SJA_RCV_BUF_LEN) { /* Data overrun. */ in can_sja_receive()871 s->rx_cnt += ret; in can_sja_receive()[all …]
57 uint32_t rx_cnt; /* Count by bytes. */ member
99 uint32_t rx_cnt; /* Count by bytes. */ member