Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Du_serial.c124 struct kfifo port_write_buf; member
213 len = kfifo_len(&port->port_write_buf); in gs_send_packet()
217 size = kfifo_out(&port->port_write_buf, packet, size); in gs_send_packet()
266 req->zero = kfifo_is_empty(&port->port_write_buf); in gs_start_tx()
616 if (!kfifo_initialized(&port->port_write_buf)) { in gs_open()
625 status = kfifo_alloc(&port->port_write_buf, in gs_open()
675 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
707 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()
725 kfifo_free(&port->port_write_buf); in gs_close()
727 kfifo_reset(&port->port_write_buf); in gs_close()
[all …]