Lines Matching refs:port_write_buf
118 struct kfifo port_write_buf; member
204 len = kfifo_len(&port->port_write_buf); in gs_send_packet()
208 size = kfifo_out(&port->port_write_buf, packet, size); in gs_send_packet()
256 req->zero = kfifo_is_empty(&port->port_write_buf); in gs_start_tx()
638 if (!kfifo_initialized(&port->port_write_buf)) { in gs_open()
641 status = kfifo_alloc(&port->port_write_buf, in gs_open()
691 cond = (p->port_usb == NULL) || !kfifo_len(&p->port_write_buf); in gs_writes_finished()
727 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()
741 kfifo_free(&port->port_write_buf); in gs_close()
743 kfifo_reset(&port->port_write_buf); in gs_close()
767 count = kfifo_in(&port->port_write_buf, buf, count); in gs_write()
786 status = kfifo_put(&port->port_write_buf, ch); in gs_put_char()
813 room = kfifo_avail(&port->port_write_buf); in gs_write_room()
829 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
1381 kfifo_free(&port->port_write_buf); in gserial_disconnect()