/drivers/tty/hvc/ |
D | hvc_opal.c | 74 static int hvc_opal_hvsi_get_chars(uint32_t vtermno, char *buf, int count) in hvc_opal_hvsi_get_chars() argument 76 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; in hvc_opal_hvsi_get_chars() 84 static int hvc_opal_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) in hvc_opal_hvsi_put_chars() argument 86 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; in hvc_opal_hvsi_put_chars() 96 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_open() 99 pr_devel("HVSI@%x: do open !\n", hp->vtermno); in hvc_opal_hvsi_open() 110 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_close() 112 pr_devel("HVSI@%x: do close !\n", hp->vtermno); in hvc_opal_hvsi_close() 121 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_hangup() 123 pr_devel("HVSI@%x: do hangup !\n", hp->vtermno); in hvc_opal_hvsi_hangup() [all …]
|
D | hvc_vio.c | 84 static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count) in hvterm_raw_get_chars() argument 86 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_raw_get_chars() 125 static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count) in hvterm_raw_put_chars() argument 127 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_raw_put_chars() 143 static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count) in hvterm_hvsi_get_chars() argument 145 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_hvsi_get_chars() 153 static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) in hvterm_hvsi_put_chars() argument 155 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_hvsi_put_chars() 165 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open() 179 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close() [all …]
|
D | hvc_xen.c | 54 int vtermno; member 63 static struct xencons_info *vtermno_to_xencons(int vtermno) in vtermno_to_xencons() argument 71 if (entry->vtermno == vtermno) { in vtermno_to_xencons() 114 static int domU_write_console(uint32_t vtermno, const char *data, int len) in domU_write_console() argument 117 struct xencons_info *cons = vtermno_to_xencons(vtermno); in domU_write_console() 140 static int domU_read_console(uint32_t vtermno, char *buf, int len) in domU_read_console() argument 145 struct xencons_info *xencons = vtermno_to_xencons(vtermno); in domU_read_console() 173 static int dom0_read_console(uint32_t vtermno, char *buf, int len) in dom0_read_console() argument 182 static int dom0_write_console(uint32_t vtermno, const char *str, int len) in dom0_write_console() argument 236 info->vtermno = HVC_COOKIE; in xen_hvm_console_init() [all …]
|
D | hvc_console.h | 56 uint32_t vtermno; member 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,
|
D | hvc_beat.c | 42 static int hvc_beat_get_chars(uint32_t vtermno, char *buf, int cnt) in hvc_beat_get_chars() argument 65 if (beat_get_term_char(vtermno, &got, in hvc_beat_get_chars() 73 static int hvc_beat_put_chars(uint32_t vtermno, const char *buf, int cnt) in hvc_beat_put_chars() argument 81 beat_put_term_char(vtermno, nlen, kb[0], kb[1]); in hvc_beat_put_chars()
|
D | hvc_console.c | 272 int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) in hvc_instantiate() argument 289 vtermnos[index] = vtermno; in hvc_instantiate() 424 hp->vtermno, hp->port.count); in hvc_close() 477 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push() 653 n = hp->ops->get_chars(hp->vtermno, buf, count); in hvc_poll() 814 n = hp->ops->get_chars(hp->vtermno, &ch, 1); in hvc_poll_get_char() 829 n = hp->ops->put_chars(hp->vtermno, &ch, 1); in hvc_poll_put_char() 857 struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, in hvc_alloc() argument 876 hp->vtermno = vtermno; in hvc_alloc() 894 if (vtermnos[i] == hp->vtermno && in hvc_alloc() [all …]
|
D | hvsi.c | 86 uint32_t vtermno; member 233 got = hvc_get_chars(hp->vtermno, buf, count); in hvsi_read() 306 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_version_respond() 564 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_query() 611 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_set_mctrl() 687 ret = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_put_chars() 707 hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_close_protocol() 730 h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); in hvsi_open() 791 h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); /* no more irqs */ in hvsi_close() 983 h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); in hvsi_throttle() [all …]
|
D | hvc_udbg.c | 35 static int hvc_udbg_put(uint32_t vtermno, const char *buf, int count) in hvc_udbg_put() argument 45 static int hvc_udbg_get(uint32_t vtermno, char *buf, int count) in hvc_udbg_get() argument
|
D | hvc_rtas.c | 47 static inline int hvc_rtas_write_console(uint32_t vtermno, const char *buf, in hvc_rtas_write_console() argument 60 static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count) in hvc_rtas_read_console() argument
|
D | hvc_iucv.c | 314 static int hvc_iucv_get_chars(uint32_t vtermno, char *buf, int count) in hvc_iucv_get_chars() argument 316 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); in hvc_iucv_get_chars() 459 static int hvc_iucv_put_chars(uint32_t vtermno, const char *buf, int count) in hvc_iucv_put_chars() argument 461 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); in hvc_iucv_put_chars() 679 priv = hvc_iucv_get_private(hp->vtermno); in hvc_iucv_dtr_rts()
|
/drivers/char/ |
D | virtio_console.c | 102 u32 vtermno; member 250 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument 258 if (cons->vtermno == vtermno) { in find_port_by_vtermno() 1128 static int put_chars(u32 vtermno, const char *buf, int count) in put_chars() argument 1136 return early_put_chars(vtermno, buf, count); in put_chars() 1138 port = find_port_by_vtermno(vtermno); in put_chars() 1159 static int get_chars(u32 vtermno, char *buf, int count) in get_chars() argument 1167 port = find_port_by_vtermno(vtermno); in get_chars() 1198 port = find_port_by_vtermno(hp->vtermno); in notifier_add_vio() 1258 port->cons.vtermno = pdrvdata.next_vtermno; in init_port_console() [all …]
|
/drivers/s390/kvm/ |
D | kvm_virtio.c | 480 static __init int early_put_chars(u32 vtermno, const char *buf, int count) in early_put_chars() argument
|