/linux-master/arch/powerpc/include/asm/ |
H A D | hvconsole.h | 24 extern ssize_t hvc_get_chars(uint32_t vtermno, u8 *buf, size_t count); 25 extern ssize_t hvc_put_chars(uint32_t vtermno, const u8 *buf, size_t count);
|
H A D | opal.h | 316 extern ssize_t opal_get_chars(uint32_t vtermno, u8 *buf, size_t count); 317 extern ssize_t opal_put_chars(uint32_t vtermno, const u8 *buf, 319 extern ssize_t opal_put_chars_atomic(uint32_t vtermno, const u8 *buf, 321 extern int opal_flush_chars(uint32_t vtermno, bool wait); 322 extern int opal_flush_console(uint32_t vtermno);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | hvconsole.c | 22 * @vtermno: The vtermno or unit_address of the adapter from which to fetch the 28 ssize_t hvc_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 34 ret = plpar_hcall(H_GET_TERM_CHAR, retbuf, vtermno); 49 * @vtermno: The vtermno or unit_address of the adapter from which the data 55 ssize_t hvc_put_chars(uint32_t vtermno, const u8 *buf, size_t count) argument 65 ret = plpar_hcall_norets(H_PUT_TERM_CHAR, vtermno, count,
|
/linux-master/drivers/tty/hvc/ |
H A D | hvc_console.h | 42 uint32_t vtermno; member in struct:hvc_struct 55 ssize_t (*get_chars)(uint32_t vtermno, u8 *buf, size_t count); 56 ssize_t (*put_chars)(uint32_t vtermno, const u8 *buf, size_t count); 57 int (*flush)(uint32_t vtermno, bool wait); 73 extern int hvc_instantiate(uint32_t vtermno, int index, 77 extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
|
H A D | hvc_riscv_sbi.c | 18 static ssize_t hvc_sbi_tty_put(uint32_t vtermno, const u8 *buf, size_t count) argument 28 static ssize_t hvc_sbi_tty_get(uint32_t vtermno, u8 *buf, size_t count) argument 48 static ssize_t hvc_sbi_dbcn_tty_put(uint32_t vtermno, const u8 *buf, size_t count) argument 53 static ssize_t hvc_sbi_dbcn_tty_get(uint32_t vtermno, u8 *buf, size_t count) argument
|
H A D | hvc_opal.c | 61 static ssize_t hvc_opal_hvsi_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 63 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; 71 static ssize_t hvc_opal_hvsi_put_chars(uint32_t vtermno, const u8 *buf, argument 74 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; 84 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 87 pr_devel("HVSI@%x: do open !\n", hp->vtermno); 98 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 100 pr_devel("HVSI@%x: do close !\n", hp->vtermno); 109 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 111 pr_devel("HVSI@%x: do hangup !\n", hp->vtermno); [all...] |
H A D | hvc_vio.c | 69 static ssize_t hvterm_raw_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 71 struct hvterm_priv *pv = hvterm_privs[vtermno]; 112 * @vtermno: The virtual terminal number. 118 static ssize_t hvterm_raw_put_chars(uint32_t vtermno, const u8 *buf, argument 121 struct hvterm_priv *pv = hvterm_privs[vtermno]; 137 static ssize_t hvterm_hvsi_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 139 struct hvterm_priv *pv = hvterm_privs[vtermno]; 147 static ssize_t hvterm_hvsi_put_chars(uint32_t vtermno, const u8 *buf, argument 150 struct hvterm_priv *pv = hvterm_privs[vtermno]; 160 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; [all...] |
H A D | hvc_udbg.c | 22 static ssize_t hvc_udbg_put(uint32_t vtermno, const u8 *buf, size_t count) argument 32 static ssize_t hvc_udbg_get(uint32_t vtermno, u8 *buf, size_t count) argument
|
H A D | hvc_xen.c | 44 int vtermno; member in struct:xencons_info 54 static struct xencons_info *vtermno_to_xencons(int vtermno) argument 66 if (entry->vtermno == vtermno) { 118 static ssize_t domU_write_console(uint32_t vtermno, const u8 *data, size_t len) argument 120 struct xencons_info *cons = vtermno_to_xencons(vtermno); 148 static ssize_t domU_read_console(uint32_t vtermno, u8 *buf, size_t len) argument 152 struct xencons_info *xencons = vtermno_to_xencons(vtermno); 213 static ssize_t dom0_read_console(uint32_t vtermno, u8 *buf, size_t len) argument 222 static ssize_t dom0_write_console(uint32_t vtermno, cons argument 289 xencons_info_pv_init(struct xencons_info *info, int vtermno) argument 677 xen_hvm_early_write(uint32_t vtermno, const char *str, int len) argument 683 xen_hvm_early_write(uint32_t vtermno, const char *str, int len) argument [all...] |
H A D | hvc_console.c | 113 static int __hvc_flush(const struct hv_ops *ops, uint32_t vtermno, bool wait) argument 119 return ops->flush(vtermno, wait); 123 static int hvc_console_flush(const struct hv_ops *ops, uint32_t vtermno) argument 125 return __hvc_flush(ops, vtermno, false); 133 return __hvc_flush(hp->ops, hp->vtermno, true); 285 int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) argument 302 vtermnos[index] = vtermno; 427 hp->vtermno, hp->port.count); 480 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); 685 n = hp->ops->get_chars(hp->vtermno, bu 911 hvc_alloc(uint32_t vtermno, int data, const struct hv_ops *ops, int outbuf_size) argument [all...] |
H A D | hvc_rtas.c | 34 static ssize_t hvc_rtas_write_console(uint32_t vtermno, const u8 *buf, argument 47 static ssize_t hvc_rtas_read_console(uint32_t vtermno, u8 *buf, size_t count) argument
|
H A D | hvsi.c | 73 uint32_t vtermno; member in struct:hvsi_struct 220 got = hvc_get_chars(hp->vtermno, buf, count); 295 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 553 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 600 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 676 ret = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 696 hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 719 h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); 780 h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); /* no more irqs */ 971 h_vio_signal(hp->vtermno, VIO_IRQ_DISABL 1186 const __be32 *vtermno, *irq; local [all...] |
H A D | hvc_iucv.c | 126 * @num: The HVC virtual terminal number (vtermno) 303 * @vtermno: HVC virtual terminal number. 315 static ssize_t hvc_iucv_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 317 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); 448 * @vtermno: HVC virtual terminal number. 458 static ssize_t hvc_iucv_put_chars(uint32_t vtermno, const u8 *buf, size_t count) argument 460 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); 678 priv = hvc_iucv_get_private(hp->vtermno);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 427 ssize_t opal_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument 438 rc = opal_console_read(vtermno, &len, buf); 444 static ssize_t __opal_put_chars(uint32_t vtermno, const u8 *data, argument 457 rc = opal_console_write_buffer_space(vtermno, &olen); 469 rc = opal_console_write(vtermno, &olen, data); 501 ssize_t opal_put_chars(uint32_t vtermno, const u8 *data, size_t total_len) argument 503 return __opal_put_chars(vtermno, data, total_len, false); 512 ssize_t opal_put_chars_atomic(uint32_t vtermno, const u8 *data, argument 515 return __opal_put_chars(vtermno, data, total_len, true); 518 static s64 __opal_flush_console(uint32_t vtermno) argument 551 opal_flush_console(uint32_t vtermno) argument 570 opal_flush_chars(uint32_t vtermno, bool wait) argument [all...] |
/linux-master/drivers/char/ |
H A D | virtio_console.c | 80 u32 vtermno; member in struct:console 233 static struct port *find_port_by_vtermno(u32 vtermno) argument 241 if (cons->vtermno == vtermno) { 1107 static ssize_t put_chars(u32 vtermno, const u8 *buf, size_t count) argument 1114 port = find_port_by_vtermno(vtermno); 1135 static ssize_t get_chars(u32 vtermno, u8 *buf, size_t count) argument 1139 port = find_port_by_vtermno(vtermno); 1170 port = find_port_by_vtermno(hp->vtermno); 1219 port->cons.vtermno [all...] |