Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/hvc/
Dhvc_opal.c160 unsigned int termno, irq, boot = 0; in hvc_opal_probe() local
177 termno = reg ? be32_to_cpup(reg) : 0; in hvc_opal_probe()
180 if (hvc_opal_privs[termno] == &hvc_opal_boot_priv) { in hvc_opal_probe()
181 pv = hvc_opal_privs[termno]; in hvc_opal_probe()
183 } else if (hvc_opal_privs[termno] == NULL) { in hvc_opal_probe()
188 hvc_opal_privs[termno] = pv; in hvc_opal_probe()
196 termno, 0); in hvc_opal_probe()
200 hvc_instantiate(termno, termno, ops); in hvc_opal_probe()
203 dev->dev.of_node, termno); in hvc_opal_probe()
207 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()
126 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
163 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
176 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
187 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
209 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
305 int i, termno = -1; in hvc_vio_probe() local
328 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
330 termno = 0; in hvc_vio_probe()
[all …]
Dhvsi_lib.c15 return pv->put_chars(pv->termno, (u8 *)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()
226 pr_devel("HVSI@%x: returning -EPIPE\n", pv->termno); in hvsilib_get_chars()
265 pv->termno); 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 …]
/linux-6.12.1/arch/powerpc/include/asm/
Dhvsi.h75 ssize_t (*get_chars)(uint32_t termno, u8 *buf, size_t count);
76 ssize_t (*put_chars)(uint32_t termno, const u8 *buf, size_t count);
77 uint32_t termno; member
83 ssize_t (*get_chars)(uint32_t termno, u8 *buf,
85 ssize_t (*put_chars)(uint32_t termno, const u8 *buf,
87 int termno, int is_console);