Home
last modified time | relevance | path

Searched full:hvsi (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/tty/hvc/
H A Dhvc_opal.c23 #include <asm/hvsi.h>
33 { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
43 hv_protocol_t proto; /* Raw data or HVSI packets */
44 struct hvsi_priv hvsi; /* HVSI specific data */ member
68 return hvsilib_get_chars(&pv->hvsi, buf, count); in hvc_opal_hvsi_get_chars()
79 return hvsilib_put_chars(&pv->hvsi, buf, count); in hvc_opal_hvsi_put_chars()
87 pr_devel("HVSI@%x: do open !\n", hp->vtermno); in hvc_opal_hvsi_open()
93 return hvsilib_open(&pv->hvsi, hp); in hvc_opal_hvsi_open()
100 pr_devel("HVSI@%x: do close !\n", hp->vtermno); in hvc_opal_hvsi_close()
102 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close()
[all …]
H A Dhvc_vio.c20 * - handle error in sending hvsi protocol packets
35 #include <asm/hvsi.h>
58 hv_protocol_t proto; /* Raw data or HVSI packets */
59 struct hvsi_priv hvsi; /* HVSI specific data */ member
144 return hvsilib_get_chars(&pv->hvsi, buf, count); in hvterm_hvsi_get_chars()
155 return hvsilib_put_chars(&pv->hvsi, buf, count); in hvterm_hvsi_put_chars()
163 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
169 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open()
176 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
178 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close()
[all …]
H A Dhvsi_lib.c6 #include <asm/hvsi.h>
26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake()
54 /* We copy the existing hvsi driver semantics in hvsi_cd_change()
61 pr_devel("HVSI@%x Carrier lost, hanging up !\n", in hvsi_cd_change()
93 pr_devel("HVSI@%x: Got version query, sending response...\n", in hvsi_got_query()
139 pr_devel("HVSI@%x: Got packet type %x len %d bytes:\n", in hvsi_check_packet()
226 pr_devel("HVSI@%x: returning -EPIPE\n", pv->termno); in hvsilib_get_chars()
264 pr_devel("HVSI@%x: Querying modem control status...\n", in hvsilib_read_mctrl()
273 pr_devel("HVSI@%x: Error %d...\n", pv->termno, rc); in hvsilib_read_mctrl()
303 pr_devel("HVSI@%x: %s DTR...\n", pv->termno, in hvsilib_write_mctrl()
[all …]
H A Dhvsi.c6 /* Host Virtual Serial Interface (HVSI) is a protocol between the hosted OS
39 #include <asm/hvsi.h>
63 wait_queue_head_t stateq; /* woken when HVSI state changes */
75 atomic_t seqno; /* HVSI packet sequence number */
77 uint8_t state; /* HVSI protocol state */
125 pr_debug("hvsi%i: state = %s\n", hp->index, name); in print_state()
234 pr_debug("hvsi%i: CD dropped\n", hp->index); in hvsi_recv_control()
241 pr_debug("hvsi%i: service processor came back\n", hp->index); in hvsi_recv_control()
247 printk(KERN_WARNING "hvsi%i: unknown HVSI control packet: ", in hvsi_recv_control()
273 printk(KERN_ERR "hvsi%i: unexpected query response: ", hp->index); in hvsi_recv_response()
[all …]
H A DMakefile4 obj-$(CONFIG_HVC_OLD_HVSI) += hvsi.o
H A DKconfig25 bool "Old driver for pSeries serial port (/dev/hvsi*)"
/linux/arch/powerpc/include/asm/
H A Dhvsi.h60 /* hvsi lib struct definitions */
80 /* hvsi lib functions */