Home
last modified time | relevance | path

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

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