/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 | 82 static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count) in hvterm_raw_get_chars() argument 84 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_raw_get_chars() 123 static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count) in hvterm_raw_put_chars() argument 125 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_raw_put_chars() 141 static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count) in hvterm_hvsi_get_chars() argument 143 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_hvsi_get_chars() 151 static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count) in hvterm_hvsi_put_chars() argument 153 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_hvsi_put_chars() 163 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open() 177 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close() [all …]
|
D | hvc_xen.c | 55 int vtermno; member 64 static struct xencons_info *vtermno_to_xencons(int vtermno) in vtermno_to_xencons() argument 72 if (entry->vtermno == vtermno) { in vtermno_to_xencons() 115 static int domU_write_console(uint32_t vtermno, const char *data, int len) in domU_write_console() argument 118 struct xencons_info *cons = vtermno_to_xencons(vtermno); in domU_write_console() 141 static int domU_read_console(uint32_t vtermno, char *buf, int len) in domU_read_console() argument 146 struct xencons_info *xencons = vtermno_to_xencons(vtermno); in domU_read_console() 174 static int dom0_read_console(uint32_t vtermno, char *buf, int len) in dom0_read_console() argument 183 static int dom0_write_console(uint32_t vtermno, const char *str, int len) in dom0_write_console() argument 237 info->vtermno = HVC_COOKIE; in xen_hvm_console_init() [all …]
|
D | hvc_console.h | 56 uint32_t vtermno; member 68 int (*get_chars)(uint32_t vtermno, char *buf, int count); 69 int (*put_chars)(uint32_t vtermno, const char *buf, int count); 85 extern int hvc_instantiate(uint32_t vtermno, int index, 89 extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
|
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() 425 hp->vtermno, hp->port.count); in hvc_close() 478 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push() 654 n = hp->ops->get_chars(hp->vtermno, buf, count); in hvc_poll() 815 n = hp->ops->get_chars(hp->vtermno, &ch, 1); in hvc_poll_get_char() 830 n = hp->ops->put_chars(hp->vtermno, &ch, 1); in hvc_poll_put_char() 858 struct hvc_struct *hvc_alloc(uint32_t vtermno, int data, in hvc_alloc() argument 877 hp->vtermno = vtermno; in hvc_alloc() 895 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() 308 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_version_respond() 566 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_query() 613 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_set_mctrl() 689 ret = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_put_chars() 709 hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_close_protocol() 732 h_vio_signal(hp->vtermno, VIO_IRQ_ENABLE); in hvsi_open() 793 h_vio_signal(hp->vtermno, VIO_IRQ_DISABLE); /* no more irqs */ in hvsi_close() 985 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 | 315 static int hvc_iucv_get_chars(uint32_t vtermno, char *buf, int count) in hvc_iucv_get_chars() argument 317 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); in hvc_iucv_get_chars() 460 static int hvc_iucv_put_chars(uint32_t vtermno, const char *buf, int count) in hvc_iucv_put_chars() argument 462 struct hvc_iucv_private *priv = hvc_iucv_get_private(vtermno); in hvc_iucv_put_chars() 680 priv = hvc_iucv_get_private(hp->vtermno); in hvc_iucv_dtr_rts()
|
/drivers/char/ |
D | virtio_console.c | 101 u32 vtermno; member 255 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument 263 if (cons->vtermno == vtermno) { in find_port_by_vtermno() 1135 static int put_chars(u32 vtermno, const char *buf, int count) in put_chars() argument 1143 return early_put_chars(vtermno, buf, count); in put_chars() 1145 port = find_port_by_vtermno(vtermno); in put_chars() 1166 static int get_chars(u32 vtermno, char *buf, int count) in get_chars() argument 1174 port = find_port_by_vtermno(vtermno); in get_chars() 1205 port = find_port_by_vtermno(hp->vtermno); in notifier_add_vio() 1265 port->cons.vtermno = pdrvdata.next_vtermno; in init_port_console() [all …]
|
/drivers/s390/virtio/ |
D | kvm_virtio.c | 487 static int early_put_chars(u32 vtermno, const char *buf, int count) in early_put_chars() argument
|