Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/gadget/function/
Du_serial.c118 struct kfifo port_write_buf; member
204 len = kfifo_len(&port->port_write_buf); in gs_send_packet()
208 size = kfifo_out(&port->port_write_buf, packet, size); in gs_send_packet()
256 req->zero = kfifo_is_empty(&port->port_write_buf); in gs_start_tx()
638 if (!kfifo_initialized(&port->port_write_buf)) { in gs_open()
641 status = kfifo_alloc(&port->port_write_buf, in gs_open()
691 cond = (p->port_usb == NULL) || !kfifo_len(&p->port_write_buf); in gs_writes_finished()
727 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()
741 kfifo_free(&port->port_write_buf); in gs_close()
743 kfifo_reset(&port->port_write_buf); in gs_close()
[all …]