Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/hvc/
Dhvc_opal.c159 unsigned int termno, irq, boot = 0; in hvc_opal_probe() local
176 termno = reg ? be32_to_cpup(reg) : 0; in hvc_opal_probe()
179 if (hvc_opal_privs[termno] == &hvc_opal_boot_priv) { in hvc_opal_probe()
180 pv = hvc_opal_privs[termno]; in hvc_opal_probe()
182 } else if (hvc_opal_privs[termno] == NULL) { in hvc_opal_probe()
187 hvc_opal_privs[termno] = pv; in hvc_opal_probe()
195 termno, 0); in hvc_opal_probe()
199 hvc_instantiate(termno, termno, ops); in hvc_opal_probe()
202 dev->dev.of_node, termno); in hvc_opal_probe()
206 pr_info("hvc%d: %s protocol on %pOF%s\n", termno, in hvc_opal_probe()
[all …]
Dhvc_vio.c57 u32 termno; /* HV term number */ member
83 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars()
125 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
161 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
174 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
185 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
207 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
303 int i, termno = -1; in hvc_vio_probe() local
326 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
328 termno = 0; in hvc_vio_probe()
[all …]
Dhvsi_lib.c15 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet()
26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake()
62 pv->termno); in hvsi_cd_change()
94 pv->termno); in hvsi_got_query()
140 pv->termno, type, len); in hvsi_check_packet()
169 pv->inbuf_len += pv->get_chars(pv->termno, in hvsi_get_packet()
225 pr_devel("HVSI@%x: returning -EPIPE\n", pv->termno); in hvsilib_get_chars()
263 pv->termno); in hvsilib_read_mctrl()
271 pr_devel("HVSI@%x: Error %d...\n", pv->termno, rc); in hvsilib_read_mctrl()
301 pr_devel("HVSI@%x: %s DTR...\n", pv->termno, in hvsilib_write_mctrl()
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Dhvsi.h75 int (*get_chars)(uint32_t termno, char *buf, int count);
76 int (*put_chars)(uint32_t termno, const char *buf, int count);
77 uint32_t termno; member
83 int (*get_chars)(uint32_t termno, char *buf, int count),
84 int (*put_chars)(uint32_t termno, const char *buf,
86 int termno, int is_console);