Lines Matching refs:ch_count
412 int ch_count; in input_keycode_to_ansi364() local
415 for (i = ch_count = 0; i < ARRAY_SIZE(kbd_to_ansi364); i++) { in input_keycode_to_ansi364()
419 if (ch_count < max_chars) in input_keycode_to_ansi364()
420 output_ch[ch_count] = *escape; in input_keycode_to_ansi364()
421 ch_count++; in input_keycode_to_ansi364()
423 return ch_count; in input_keycode_to_ansi364()
456 int ch_count = 0; in input_keycodes_to_ascii() local
491 if (ch_count < max_chars && ch != 0xff) in input_keycodes_to_ascii()
492 output_ch[ch_count++] = (uchar)ch; in input_keycodes_to_ascii()
494 ch_count += input_keycode_to_ansi364(config, key, in input_keycodes_to_ascii()
499 if (ch_count > max_chars) { in input_keycodes_to_ascii()
501 __func__, max_chars, ch_count); in input_keycodes_to_ascii()
506 return ch_count; in input_keycodes_to_ascii()