Home
last modified time | relevance | path

Searched refs:termno (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/tty/hvc/
Dhvc_vio.c72 u32 termno; /* HV term number */ member
98 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars()
132 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
168 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
181 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
192 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
214 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
304 int i, termno = -1; in hvc_vio_probe() local
327 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
329 termno = 0; in hvc_vio_probe()
[all …]
Dhvc_opal.c183 unsigned int termno, boot = 0; in hvc_opal_probe() local
201 termno = reg ? be32_to_cpup(reg) : 0; in hvc_opal_probe()
204 if (hvc_opal_privs[termno] == &hvc_opal_boot_priv) { in hvc_opal_probe()
205 pv = hvc_opal_privs[termno]; in hvc_opal_probe()
207 } else if (hvc_opal_privs[termno] == NULL) { in hvc_opal_probe()
212 hvc_opal_privs[termno] = pv; in hvc_opal_probe()
215 termno, 0); in hvc_opal_probe()
218 hvc_instantiate(termno, termno, ops); in hvc_opal_probe()
221 dev->dev.of_node->full_name, termno); in hvc_opal_probe()
225 pr_info("hvc%d: %s protocol on %s%s\n", termno, in hvc_opal_probe()
[all …]
Dhvsi_lib.c14 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet()
25 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake()
61 pv->termno); in hvsi_cd_change()
93 pv->termno); in hvsi_got_query()
139 pv->termno, type, len); in hvsi_check_packet()
168 pv->inbuf_len += pv->get_chars(pv->termno, in hvsi_get_packet()
224 pr_devel("HVSI@%x: returning -EPIPE\n", pv->termno); in hvsilib_get_chars()
262 pv->termno); in hvsilib_read_mctrl()
270 pr_devel("HVSI@%x: Error %d...\n", pv->termno, rc); in hvsilib_read_mctrl()
300 pr_devel("HVSI@%x: %s DTR...\n", pv->termno, in hvsilib_write_mctrl()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Dhvsi.h74 int (*get_chars)(uint32_t termno, char *buf, int count);
75 int (*put_chars)(uint32_t termno, const char *buf, int count);
76 uint32_t termno; member
82 int (*get_chars)(uint32_t termno, char *buf, int count),
83 int (*put_chars)(uint32_t termno, const char *buf,
85 int termno, int is_console);