Lines Matching refs:vtermno
113 static int __hvc_flush(const struct hv_ops *ops, uint32_t vtermno, bool wait) in __hvc_flush() argument
119 return ops->flush(vtermno, wait); in __hvc_flush()
123 static int hvc_console_flush(const struct hv_ops *ops, uint32_t vtermno) in hvc_console_flush() argument
125 return __hvc_flush(ops, vtermno, false); in hvc_console_flush()
133 return __hvc_flush(hp->ops, hp->vtermno, true); in hvc_flush()
285 int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) in hvc_instantiate() argument
302 vtermnos[index] = vtermno; in hvc_instantiate()
427 hp->vtermno, hp->port.count); in hvc_close()
480 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
685 n = hp->ops->get_chars(hp->vtermno, buf, count); in __hvc_poll()
868 n = hp->ops->get_chars(hp->vtermno, &ch, 1); in hvc_poll_get_char()
883 n = hp->ops->put_chars(hp->vtermno, &ch, 1); in hvc_poll_put_char()
911 struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, in hvc_alloc() argument
930 hp->vtermno = vtermno; in hvc_alloc()
948 if (vtermnos[i] == hp->vtermno && in hvc_alloc()
966 vtermnos[i] = vtermno; in hvc_alloc()