/drivers/tty/hvc/ |
H A D | hvc_rtas.c | 47 static inline int hvc_rtas_write_console(uint32_t vtermno, const char *buf, argument 60 static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count) argument
|
H A D | hvc_udbg.c | 35 static int hvc_udbg_put(uint32_t vtermno, const char *buf, int count) argument 45 static int hvc_udbg_get(uint32_t vtermno, char *buf, int count) argument
|
H A D | hvc_beat.c | 41 /* bug: only one queue is available regardless of vtermno */ 42 static int hvc_beat_get_chars(uint32_t vtermno, char *buf, int cnt) argument 65 if (beat_get_term_char(vtermno, &got, 73 static int hvc_beat_put_chars(uint32_t vtermno, const char *buf, int cnt) argument 81 beat_put_term_char(vtermno, nlen, kb[0], kb[1]);
|
H A D | hvc_console.h | 56 uint32_t vtermno; member in struct:hvc_struct 67 int (*get_chars)(uint32_t vtermno, char *buf, int count); 68 int (*put_chars)(uint32_t vtermno, const char *buf, int count); 84 extern int hvc_instantiate(uint32_t vtermno, int index, 88 extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
|
H A D | hvc_opal.c | 74 static int hvc_opal_hvsi_get_chars(uint32_t vtermno, char *buf, int count) argument 76 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; 84 static int hvc_opal_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) argument 86 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; 96 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 99 pr_devel("HVSI@%x: do open !\n", hp->vtermno); 110 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 112 pr_devel("HVSI@%x: do close !\n", hp->vtermno); 121 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; 123 pr_devel("HVSI@%x: do hangup !\n", hp->vtermno); [all...] |
H A D | hvc_vio.c | 84 static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count) argument 86 struct hvterm_priv *pv = hvterm_privs[vtermno]; 125 static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count) argument 127 struct hvterm_priv *pv = hvterm_privs[vtermno]; 143 static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count) argument 145 struct hvterm_priv *pv = hvterm_privs[vtermno]; 153 static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) argument 155 struct hvterm_priv *pv = hvterm_privs[vtermno]; 165 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; 179 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; [all...] |
H A D | hvc_xen.c | 54 int vtermno; member in struct:xencons_info 63 static struct xencons_info *vtermno_to_xencons(int vtermno) argument 71 if (entry->vtermno == vtermno) { 114 static int domU_write_console(uint32_t vtermno, const char *data, int len) argument 117 struct xencons_info *cons = vtermno_to_xencons(vtermno); 140 static int domU_read_console(uint32_t vtermno, char *buf, int len) argument 145 struct xencons_info *xencons = vtermno_to_xencons(vtermno); 173 static int dom0_read_console(uint32_t vtermno, char *buf, int len) argument 182 static int dom0_write_console(uint32_t vtermno, cons argument [all...] |
H A D | hvc_console.c | 272 int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) argument 289 vtermnos[index] = vtermno; 424 hp->vtermno, hp->port.count); 477 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); 653 n = hp->ops->get_chars(hp->vtermno, buf, count); 814 n = hp->ops->get_chars(hp->vtermno, &ch, 1); 829 n = hp->ops->put_chars(hp->vtermno, &ch, 1); 857 struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, argument 876 hp->vtermno = vtermno; [all...] |
H A D | hvc_iucv.c | 125 * @num: The HVC virtual terminal number (vtermno) 302 * @vtermno: HVC virtual terminal number. 314 static int hvc_iucv_get_chars(uint32_t vtermno, char *buf, int count) argument 316 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); 449 * @vtermno: HVC virtual terminal number. 459 static int hvc_iucv_put_chars(uint32_t vtermno, const char *buf, int count) argument 461 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); 679 priv = hvc_iucv_get_private(hp->vtermno);
|
H A D | hvsi.c | 86 uint32_t vtermno; member in struct:hvsi_struct 233 got = hvc_get_chars(hp->vtermno, buf, count); 306 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 564 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 611 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 687 ret = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 707 hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); 730 h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); 791 h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); /* no more irqs */ 983 h_vio_signal(hp->vtermno, VIO_IRQ_DISABL 1183 const uint32_t *vtermno, *irq; local [all...] |
/drivers/s390/kvm/ |
H A D | kvm_virtio.c | 480 static __init int early_put_chars(u32 vtermno, const char *buf, int count) argument
|
/drivers/char/ |
H A D | virtio_console.c | 69 * hooked up via hvc_alloc, we need to pass the same vtermno. 102 u32 vtermno; member in struct:console 249 static struct port *find_port_by_vtermno(u32 vtermno) argument 257 if (cons->vtermno == vtermno) { 1127 static int put_chars(u32 vtermno, const char *buf, int count) argument 1133 return early_put_chars(vtermno, buf, count); 1135 port = find_port_by_vtermno(vtermno); 1150 static int get_chars(u32 vtermno, char *buf, int count) argument 1158 port = find_port_by_vtermno(vtermno); [all...] |