Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/tty/hvc/
Dhvc_vio.c71 u32 termno; /* HV term number */ member
97 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars()
131 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
167 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
180 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
191 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
213 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
240 int i, termno = -1; in hvc_vio_probe() local
263 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
265 termno = 0; in hvc_vio_probe()
[all …]
Dhvc_opal.c170 unsigned int termno, boot = 0; in hvc_opal_probe() local
187 termno = reg ? be32_to_cpup(reg) : 0; in hvc_opal_probe()
190 if (hvc_opal_privs[termno] == &hvc_opal_boot_priv) { in hvc_opal_probe()
191 pv = hvc_opal_privs[termno]; in hvc_opal_probe()
193 } else if (hvc_opal_privs[termno] == NULL) { in hvc_opal_probe()
198 hvc_opal_privs[termno] = pv; in hvc_opal_probe()
201 termno, 0); in hvc_opal_probe()
204 hvc_instantiate(termno, termno, ops); in hvc_opal_probe()
207 dev->dev.of_node->full_name, termno); in hvc_opal_probe()
211 pr_info("hvc%d: %s protocol on %s%s\n", termno, in hvc_opal_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()
272 pr_devel("HVSI@%x: Error %d...\n", pv->termno, rc); in hvsilib_read_mctrl()
302 pr_devel("HVSI@%x: %s DTR...\n", pv->termno, in hvsilib_write_mctrl()
[all …]
/linux-3.4.99/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);
/linux-3.4.99/arch/powerpc/platforms/pseries/
Dplpar_wrappers.h252 static inline long plpar_get_term_char(unsigned long termno, in plpar_get_term_char() argument
259 rc = plpar_hcall(H_GET_TERM_CHAR, retbuf, termno); in plpar_get_term_char()
268 static inline long plpar_put_term_char(unsigned long termno, unsigned long len, in plpar_put_term_char() argument
272 return plpar_hcall_norets(H_PUT_TERM_CHAR, termno, len, lbuf[0], in plpar_put_term_char()
/linux-3.4.99/arch/powerpc/platforms/cell/
Dbeat_wrapper.h183 static inline s64 beat_get_characters_from_console(u64 termno, u64 *len, in beat_get_characters_from_console() argument
189 ret = beat_hcall3(HV_get_characters_from_console, dummy, termno, len); in beat_get_characters_from_console()
195 static inline s64 beat_put_characters_to_console(u64 termno, u64 len, in beat_put_characters_to_console() argument
201 return beat_hcall_norets(HV_put_characters_to_console, termno, len, in beat_put_characters_to_console()