Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dhvconsole.c28 int hvc_get_chars(uint32_t vtermno, char *buf, int count) in hvc_get_chars() argument
34 ret = plpar_hcall(H_GET_TERM_CHAR, retbuf, vtermno); in hvc_get_chars()
55 int hvc_put_chars(uint32_t vtermno, const char *buf, int count) in hvc_put_chars() argument
65 ret = plpar_hcall_norets(H_PUT_TERM_CHAR, vtermno, count, in hvc_put_chars()
/arch/powerpc/include/asm/
Dhvconsole.h24 extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
25 extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
Dopal.h322 extern int opal_get_chars(uint32_t vtermno, char *buf, int count);
323 extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len);
324 extern int opal_put_chars_atomic(uint32_t vtermno, const char *buf, int total_len);
325 extern int opal_flush_chars(uint32_t vtermno, bool wait);
326 extern int opal_flush_console(uint32_t vtermno);
/arch/powerpc/platforms/powernv/
Dopal.c427 int opal_get_chars(uint32_t vtermno, char *buf, int count) in opal_get_chars() argument
438 rc = opal_console_read(vtermno, &len, buf); in opal_get_chars()
444 static int __opal_put_chars(uint32_t vtermno, const char *data, int total_len, bool atomic) in __opal_put_chars() argument
456 rc = opal_console_write_buffer_space(vtermno, &olen); in __opal_put_chars()
468 rc = opal_console_write(vtermno, &olen, data); in __opal_put_chars()
500 int opal_put_chars(uint32_t vtermno, const char *data, int total_len) in opal_put_chars() argument
502 return __opal_put_chars(vtermno, data, total_len, false); in opal_put_chars()
511 int opal_put_chars_atomic(uint32_t vtermno, const char *data, int total_len) in opal_put_chars_atomic() argument
513 return __opal_put_chars(vtermno, data, total_len, true); in opal_put_chars_atomic()
516 static s64 __opal_flush_console(uint32_t vtermno) in __opal_flush_console() argument
[all …]