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

/drivers/usb/gadget/
H A Du_serial.c118 struct gs_buf port_write_buf; member in struct:gs_port
337 len = gs_buf_data_avail(&port->port_write_buf);
341 size = gs_buf_get(&port->port_write_buf, packet, size);
384 req->zero = (gs_buf_data_avail(&port->port_write_buf) == 0);
775 if (port->port_write_buf.buf_buf == NULL) {
778 status = gs_buf_alloc(&port->port_write_buf, WRITE_BUF_SIZE);
827 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf);
863 if (gs_buf_data_avail(&port->port_write_buf) > 0 && gser) {
877 gs_buf_free(&port->port_write_buf);
879 gs_buf_clear(&port->port_write_buf);
[all...]

Completed in 28 milliseconds