vtermno 24 arch/mips/paravirt/serial.c static int paravirt_put_chars(u32 vtermno, const char *buf, int count) vtermno 26 arch/mips/paravirt/serial.c kvm_hypercall3(KVM_HC_MIPS_CONSOLE_OUTPUT, vtermno, vtermno 24 arch/powerpc/include/asm/hvconsole.h extern int hvc_get_chars(uint32_t vtermno, char *buf, int count); vtermno 25 arch/powerpc/include/asm/hvconsole.h extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count); vtermno 315 arch/powerpc/include/asm/opal.h extern int opal_get_chars(uint32_t vtermno, char *buf, int count); vtermno 316 arch/powerpc/include/asm/opal.h extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len); vtermno 317 arch/powerpc/include/asm/opal.h extern int opal_put_chars_atomic(uint32_t vtermno, const char *buf, int total_len); vtermno 318 arch/powerpc/include/asm/opal.h extern int opal_flush_chars(uint32_t vtermno, bool wait); vtermno 319 arch/powerpc/include/asm/opal.h extern int opal_flush_console(uint32_t vtermno); vtermno 345 arch/powerpc/platforms/powernv/opal.c int opal_get_chars(uint32_t vtermno, char *buf, int count) vtermno 356 arch/powerpc/platforms/powernv/opal.c rc = opal_console_read(vtermno, &len, buf); vtermno 362 arch/powerpc/platforms/powernv/opal.c static int __opal_put_chars(uint32_t vtermno, const char *data, int total_len, bool atomic) vtermno 374 arch/powerpc/platforms/powernv/opal.c rc = opal_console_write_buffer_space(vtermno, &olen); vtermno 386 arch/powerpc/platforms/powernv/opal.c rc = opal_console_write(vtermno, &olen, data); vtermno 418 arch/powerpc/platforms/powernv/opal.c int opal_put_chars(uint32_t vtermno, const char *data, int total_len) vtermno 420 arch/powerpc/platforms/powernv/opal.c return __opal_put_chars(vtermno, data, total_len, false); vtermno 429 arch/powerpc/platforms/powernv/opal.c int opal_put_chars_atomic(uint32_t vtermno, const char *data, int total_len) vtermno 431 arch/powerpc/platforms/powernv/opal.c return __opal_put_chars(vtermno, data, total_len, true); vtermno 434 arch/powerpc/platforms/powernv/opal.c static s64 __opal_flush_console(uint32_t vtermno) vtermno 454 arch/powerpc/platforms/powernv/opal.c rc = opal_console_flush(vtermno); vtermno 467 arch/powerpc/platforms/powernv/opal.c int opal_flush_console(uint32_t vtermno) vtermno 470 arch/powerpc/platforms/powernv/opal.c s64 rc = __opal_flush_console(vtermno); vtermno 486 arch/powerpc/platforms/powernv/opal.c int opal_flush_chars(uint32_t vtermno, bool wait) vtermno 489 arch/powerpc/platforms/powernv/opal.c s64 rc = __opal_flush_console(vtermno); vtermno 28 arch/powerpc/platforms/pseries/hvconsole.c int hvc_get_chars(uint32_t vtermno, char *buf, int count) vtermno 34 arch/powerpc/platforms/pseries/hvconsole.c ret = plpar_hcall(H_GET_TERM_CHAR, retbuf, vtermno); vtermno 55 arch/powerpc/platforms/pseries/hvconsole.c int hvc_put_chars(uint32_t vtermno, const char *buf, int count) vtermno 65 arch/powerpc/platforms/pseries/hvconsole.c ret = plpar_hcall_norets(H_PUT_TERM_CHAR, vtermno, count, vtermno 88 drivers/char/virtio_console.c u32 vtermno; vtermno 242 drivers/char/virtio_console.c static struct port *find_port_by_vtermno(u32 vtermno) vtermno 250 drivers/char/virtio_console.c if (cons->vtermno == vtermno) { vtermno 1118 drivers/char/virtio_console.c static int put_chars(u32 vtermno, const char *buf, int count) vtermno 1126 drivers/char/virtio_console.c return early_put_chars(vtermno, buf, count); vtermno 1128 drivers/char/virtio_console.c port = find_port_by_vtermno(vtermno); vtermno 1149 drivers/char/virtio_console.c static int get_chars(u32 vtermno, char *buf, int count) vtermno 1157 drivers/char/virtio_console.c port = find_port_by_vtermno(vtermno); vtermno 1188 drivers/char/virtio_console.c port = find_port_by_vtermno(hp->vtermno); vtermno 1248 drivers/char/virtio_console.c port->cons.vtermno = pdrvdata.next_vtermno; vtermno 1250 drivers/char/virtio_console.c port->cons.hvc = hvc_alloc(port->cons.vtermno, 0, &hv_ops, PAGE_SIZE); vtermno 1312 drivers/char/virtio_console.c seq_printf(s, "console_vtermno: %u\n", port->cons.vtermno); vtermno 1383 drivers/char/virtio_console.c port->cons.vtermno = 0; vtermno 113 drivers/tty/hvc/hvc_console.c static int __hvc_flush(const struct hv_ops *ops, uint32_t vtermno, bool wait) vtermno 119 drivers/tty/hvc/hvc_console.c return ops->flush(vtermno, wait); vtermno 123 drivers/tty/hvc/hvc_console.c static int hvc_console_flush(const struct hv_ops *ops, uint32_t vtermno) vtermno 125 drivers/tty/hvc/hvc_console.c return __hvc_flush(ops, vtermno, false); vtermno 133 drivers/tty/hvc/hvc_console.c return __hvc_flush(hp->ops, hp->vtermno, true); vtermno 285 drivers/tty/hvc/hvc_console.c int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) vtermno 302 drivers/tty/hvc/hvc_console.c vtermnos[index] = vtermno; vtermno 427 drivers/tty/hvc/hvc_console.c hp->vtermno, hp->port.count); vtermno 480 drivers/tty/hvc/hvc_console.c n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); vtermno 685 drivers/tty/hvc/hvc_console.c n = hp->ops->get_chars(hp->vtermno, buf, count); vtermno 868 drivers/tty/hvc/hvc_console.c n = hp->ops->get_chars(hp->vtermno, &ch, 1); vtermno 883 drivers/tty/hvc/hvc_console.c n = hp->ops->put_chars(hp->vtermno, &ch, 1); vtermno 911 drivers/tty/hvc/hvc_console.c struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, vtermno 930 drivers/tty/hvc/hvc_console.c hp->vtermno = vtermno; vtermno 948 drivers/tty/hvc/hvc_console.c if (vtermnos[i] == hp->vtermno && vtermno 966 drivers/tty/hvc/hvc_console.c vtermnos[i] = vtermno; vtermno 43 drivers/tty/hvc/hvc_console.h uint32_t vtermno; vtermno 55 drivers/tty/hvc/hvc_console.h int (*get_chars)(uint32_t vtermno, char *buf, int count); vtermno 56 drivers/tty/hvc/hvc_console.h int (*put_chars)(uint32_t vtermno, const char *buf, int count); vtermno 57 drivers/tty/hvc/hvc_console.h int (*flush)(uint32_t vtermno, bool wait); vtermno 73 drivers/tty/hvc/hvc_console.h extern int hvc_instantiate(uint32_t vtermno, int index, vtermno 77 drivers/tty/hvc/hvc_console.h extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data, vtermno 316 drivers/tty/hvc/hvc_iucv.c static int hvc_iucv_get_chars(uint32_t vtermno, char *buf, int count) vtermno 318 drivers/tty/hvc/hvc_iucv.c struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); vtermno 461 drivers/tty/hvc/hvc_iucv.c static int hvc_iucv_put_chars(uint32_t vtermno, const char *buf, int count) vtermno 463 drivers/tty/hvc/hvc_iucv.c struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); vtermno 681 drivers/tty/hvc/hvc_iucv.c priv = hvc_iucv_get_private(hp->vtermno); vtermno 61 drivers/tty/hvc/hvc_opal.c static int hvc_opal_hvsi_get_chars(uint32_t vtermno, char *buf, int count) vtermno 63 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; vtermno 71 drivers/tty/hvc/hvc_opal.c static int hvc_opal_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) vtermno 73 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; vtermno 83 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; vtermno 86 drivers/tty/hvc/hvc_opal.c pr_devel("HVSI@%x: do open !\n", hp->vtermno); vtermno 97 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; vtermno 99 drivers/tty/hvc/hvc_opal.c pr_devel("HVSI@%x: do close !\n", hp->vtermno); vtermno 108 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; vtermno 110 drivers/tty/hvc/hvc_opal.c pr_devel("HVSI@%x: do hangup !\n", hp->vtermno); vtermno 119 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; vtermno 129 drivers/tty/hvc/hvc_opal.c struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; vtermno 132 drivers/tty/hvc/hvc_opal.c hp->vtermno, set, clear); vtermno 240 drivers/tty/hvc/hvc_opal.c termno = hp->vtermno; vtermno 18 drivers/tty/hvc/hvc_riscv_sbi.c static int hvc_sbi_tty_put(uint32_t vtermno, const char *buf, int count) vtermno 28 drivers/tty/hvc/hvc_riscv_sbi.c static int hvc_sbi_tty_get(uint32_t vtermno, char *buf, int count) vtermno 34 drivers/tty/hvc/hvc_rtas.c static inline int hvc_rtas_write_console(uint32_t vtermno, const char *buf, vtermno 47 drivers/tty/hvc/hvc_rtas.c static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count) vtermno 22 drivers/tty/hvc/hvc_udbg.c static int hvc_udbg_put(uint32_t vtermno, const char *buf, int count) vtermno 32 drivers/tty/hvc/hvc_udbg.c static int hvc_udbg_get(uint32_t vtermno, char *buf, int count) vtermno 69 drivers/tty/hvc/hvc_vio.c static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count) vtermno 71 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[vtermno]; vtermno 118 drivers/tty/hvc/hvc_vio.c static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count) vtermno 120 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[vtermno]; vtermno 136 drivers/tty/hvc/hvc_vio.c static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count) vtermno 138 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[vtermno]; vtermno 146 drivers/tty/hvc/hvc_vio.c static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) vtermno 148 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[vtermno]; vtermno 158 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; vtermno 172 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; vtermno 183 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; vtermno 194 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; vtermno 204 drivers/tty/hvc/hvc_vio.c struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; vtermno 42 drivers/tty/hvc/hvc_xen.c int vtermno; vtermno 51 drivers/tty/hvc/hvc_xen.c static struct xencons_info *vtermno_to_xencons(int vtermno) vtermno 59 drivers/tty/hvc/hvc_xen.c if (entry->vtermno == vtermno) { vtermno 102 drivers/tty/hvc/hvc_xen.c static int domU_write_console(uint32_t vtermno, const char *data, int len) vtermno 105 drivers/tty/hvc/hvc_xen.c struct xencons_info *cons = vtermno_to_xencons(vtermno); vtermno 128 drivers/tty/hvc/hvc_xen.c static int domU_read_console(uint32_t vtermno, char *buf, int len) vtermno 133 drivers/tty/hvc/hvc_xen.c struct xencons_info *xencons = vtermno_to_xencons(vtermno); vtermno 161 drivers/tty/hvc/hvc_xen.c static int dom0_read_console(uint32_t vtermno, char *buf, int len) vtermno 170 drivers/tty/hvc/hvc_xen.c static int dom0_write_console(uint32_t vtermno, const char *str, int len) vtermno 224 drivers/tty/hvc/hvc_xen.c info->vtermno = HVC_COOKIE; vtermno 236 drivers/tty/hvc/hvc_xen.c static int xencons_info_pv_init(struct xencons_info *info, int vtermno) vtermno 241 drivers/tty/hvc/hvc_xen.c info->vtermno = vtermno; vtermno 289 drivers/tty/hvc/hvc_xen.c info->vtermno = HVC_COOKIE; vtermno 342 drivers/tty/hvc/hvc_xen.c info->vtermno = 0; vtermno 442 drivers/tty/hvc/hvc_xen.c info->vtermno = xenbus_devid_to_vtermno(devid); vtermno 596 drivers/tty/hvc/hvc_xen.c static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) vtermno 602 drivers/tty/hvc/hvc_xen.c static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) { } vtermno 73 drivers/tty/hvc/hvsi.c uint32_t vtermno; vtermno 220 drivers/tty/hvc/hvsi.c got = hvc_get_chars(hp->vtermno, buf, count); vtermno 295 drivers/tty/hvc/hvsi.c wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); vtermno 553 drivers/tty/hvc/hvsi.c wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); vtermno 600 drivers/tty/hvc/hvsi.c wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); vtermno 676 drivers/tty/hvc/hvsi.c ret = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); vtermno 696 drivers/tty/hvc/hvsi.c hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); vtermno 719 drivers/tty/hvc/hvsi.c h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); vtermno 780 drivers/tty/hvc/hvsi.c h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); /* no more irqs */ vtermno 972 drivers/tty/hvc/hvsi.c h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); vtermno 990 drivers/tty/hvc/hvsi.c h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); vtermno 1172 drivers/tty/hvc/hvsi.c const __be32 *vtermno, *irq; vtermno 1174 drivers/tty/hvc/hvsi.c vtermno = of_get_property(vty, "reg", NULL); vtermno 1176 drivers/tty/hvc/hvsi.c if (!vtermno || !irq) vtermno 1194 drivers/tty/hvc/hvsi.c hp->vtermno = be32_to_cpup(vtermno);