Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/platforms/powernv/
Dopal.c444 static int __opal_put_chars(uint32_t vtermno, const char *data, int total_len, bool atomic) in __opal_put_chars() argument
457 if (rc || be64_to_cpu(olen) < total_len) { in __opal_put_chars()
460 written = total_len; in __opal_put_chars()
467 olen = cpu_to_be64(total_len); in __opal_put_chars()
483 if (written < total_len) { in __opal_put_chars()
487 "len=%d written=%d\n", total_len, written); 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()
/arch/ia64/kernel/
Dmca.c429 u64 total_len = 0; in ia64_log_get() local
437 total_len = ia64_sal_get_state_info(sal_info_type, (u64 *)log_buffer); in ia64_log_get()
439 if (total_len) { in ia64_log_get()
444 __func__, sal_info_type, total_len); in ia64_log_get()
447 return total_len; in ia64_log_get()
/arch/powerpc/include/asm/
Dopal.h320 extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len);
321 extern int opal_put_chars_atomic(uint32_t vtermno, const char *buf, int total_len);