Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Ddev-serial.c98 uint16_t recv_used; member
216 s->recv_used = 0; in usb_serial_reset()
286 s->recv_used = 0; in usb_serial_handle_control()
448 if (!s->recv_used) { in usb_serial_token_in()
453 while (s->recv_used && packet_len > 2) { in usb_serial_token_in()
458 if (len > s->recv_used) { in usb_serial_token_in()
459 len = s->recv_used; in usb_serial_token_in()
471 s->recv_used -= len; in usb_serial_token_in()
525 return RECV_BUF - s->recv_used; in usb_serial_can_read()
534 if (size > (RECV_BUF - s->recv_used)) { in usb_serial_read()
[all …]