Lines Matching refs:port_write_buf
119 struct kfifo port_write_buf; member
207 len = kfifo_len(&port->port_write_buf); in gs_send_packet()
211 size = kfifo_out(&port->port_write_buf, packet, size); in gs_send_packet()
259 req->zero = kfifo_is_empty(&port->port_write_buf); in gs_start_tx()
606 if (!kfifo_initialized(&port->port_write_buf)) { in gs_open()
615 status = kfifo_alloc(&port->port_write_buf, in gs_open()
665 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
697 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()
715 kfifo_free(&port->port_write_buf); in gs_close()
717 kfifo_reset(&port->port_write_buf); in gs_close()
741 count = kfifo_in(&port->port_write_buf, buf, count); in gs_write()
760 status = kfifo_put(&port->port_write_buf, ch); in gs_put_char()
787 room = kfifo_avail(&port->port_write_buf); in gs_write_room()
803 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
1404 kfifo_free(&port->port_write_buf); in gserial_disconnect()