Lines Matching refs:port_write_buf
124 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()
751 count = kfifo_in(&port->port_write_buf, buf, count); in gs_write()
770 status = kfifo_put(&port->port_write_buf, ch); in gs_put_char()
797 room = kfifo_avail(&port->port_write_buf); in gs_write_room()
813 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
1438 kfifo_free(&port->port_write_buf); in gserial_disconnect()