Lines Matching +full:0 +full:xd800

65 	return 0;  in kbd_defleds()
69 #define KBD_DEFLOCK 0
104 .sig = 0,
139 static int shift_state = 0;
182 return d->error == 0; /* stop as soon as we successfully get one */ in getkeycode_helper()
189 .flags = 0, in getkeycode()
191 .keycode = 0, in getkeycode()
209 return d->error == 0; /* stop as soon as we successfully set one */ in setkeycode_helper()
216 .flags = 0, in setkeycode()
244 return 0; in kd_sound_helper()
247 input_inject_event(handle, EV_SND, SND_BELL, *hz ? 1 : 0); in kd_sound_helper()
250 return 0; in kd_sound_helper()
284 if (rpt[0].delay > 0) in kbd_rate_helper()
286 EV_REP, REP_DELAY, rpt[0].delay); in kbd_rate_helper()
287 if (rpt[0].period > 0) in kbd_rate_helper()
289 EV_REP, REP_PERIOD, rpt[0].period); in kbd_rate_helper()
295 return 0; in kbd_rate_helper()
305 return 0; in kbd_rate()
313 tty_insert_flip_char(&vc->port, ch, 0); in put_queue()
320 tty_insert_flip_char(&vc->port, *cp, 0); in puts_queue()
328 static char buf[] = { 0x1b, 'O', 0x00, 0x00 }; in applkey()
343 if (c < 0x80) in to_utf8()
344 /* 0******* */ in to_utf8()
346 else if (c < 0x800) { in to_utf8()
348 put_queue(vc, 0xc0 | (c >> 6)); in to_utf8()
349 put_queue(vc, 0x80 | (c & 0x3f)); in to_utf8()
350 } else if (c < 0x10000) { in to_utf8()
351 if (c >= 0xD800 && c < 0xE000) in to_utf8()
353 if (c == 0xFFFF) in to_utf8()
356 put_queue(vc, 0xe0 | (c >> 12)); in to_utf8()
357 put_queue(vc, 0x80 | ((c >> 6) & 0x3f)); in to_utf8()
358 put_queue(vc, 0x80 | (c & 0x3f)); in to_utf8()
359 } else if (c < 0x110000) { in to_utf8()
361 put_queue(vc, 0xf0 | (c >> 18)); in to_utf8()
362 put_queue(vc, 0x80 | ((c >> 12) & 0x3f)); in to_utf8()
363 put_queue(vc, 0x80 | ((c >> 6) & 0x3f)); in to_utf8()
364 put_queue(vc, 0x80 | (c & 0x3f)); in to_utf8()
379 shift_state = 0; in do_compute_shiftstate()
380 memset(shift_down, 0, sizeof(shift_down)); in do_compute_shiftstate()
383 sym = U(key_maps[0][k]); in do_compute_shiftstate()
417 diacr = 0; in handle_diacr()
419 if ((d & ~0xff) == BRL_UC_ROW) { in handle_diacr()
420 if ((ch & ~0xff) == BRL_UC_ROW) in handle_diacr()
423 for (i = 0; i < accent_table_size; i++) in handle_diacr()
428 if (ch == ' ' || ch == (BRL_UC_ROW|0) || ch == d) in handle_diacr()
455 diacr = 0; in fn_enter()
558 i = 0; in fn_inc_console()
567 tty_insert_flip_char(&vc->port, 0, TTY_BREAK); in fn_send_intr()
573 scrollfront(vc, 0); in fn_scroll_forw()
583 show_mem(0, NULL); in fn_show_mem()
786 k_fn(vc, KVAL(K_REMOVE), 0); in k_pad()
789 k_fn(vc, KVAL(K_INSERT), 0); in k_pad()
792 k_fn(vc, KVAL(K_SELECT), 0); in k_pad()
795 k_cur(vc, KVAL(K_DOWN), 0); in k_pad()
798 k_fn(vc, KVAL(K_PGDN), 0); in k_pad()
801 k_cur(vc, KVAL(K_LEFT), 0); in k_pad()
804 k_cur(vc, KVAL(K_RIGHT), 0); in k_pad()
807 k_fn(vc, KVAL(K_FIND), 0); in k_pad()
810 k_cur(vc, KVAL(K_UP), 0); in k_pad()
813 k_fn(vc, KVAL(K_PGUP), 0); in k_pad()
862 put_queue(vc, npadch_value & 0xff); in k_shift()
876 put_queue(vc, value | 0x80); in k_meta()
896 npadch_value = 0; in k_ascii()
920 kbd->slockstate = 0; in k_slock()
927 MODULE_PARM_DESC(brl_timeout, "Braille keys release delay in ms (0 for commit on first key release)…
931 MODULE_PARM_DESC(brl_nbchords, "Number of chords that produce a braille pattern (0 for dead chords)…
946 chords = 0; in k_brlcommit()
947 committed = 0; in k_brlcommit()
984 k_brlcommit(vc, committing, 0); in k_brl()
985 committing = 0; in k_brl()
989 k_brlcommit(vc, committing, 0); in k_brl()
990 committing = 0; in k_brl()
1015 return 0; in kbd_led_trigger_activate()
1052 for (i = 0; i < ARRAY_SIZE(kbd_led_triggers); i++) { in kbd_propagate_led_state()
1069 return 0; in kbd_update_leds_helper()
1077 for (i = 0; i < ARRAY_SIZE(kbd_led_triggers); i++) { in kbd_init_leds()
1092 input_inject_event(handle, EV_LED, LED_SCROLLL, !!(leds & 0x01)); in kbd_update_leds_helper()
1093 input_inject_event(handle, EV_LED, LED_NUML, !!(leds & 0x02)); in kbd_update_leds_helper()
1094 input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & 0x04)); in kbd_update_leds_helper()
1095 input_inject_event(handle, EV_SYN, SYN_REPORT, 0); in kbd_update_leds_helper()
1098 return 0; in kbd_update_leds_helper()
1121 return ledstate & 0xff; in getledstate()
1253 … ((dev)->id.bustype == BUS_I8042) && ((dev)->id.vendor == 0x0001) && ((dev)->id.product == 0x0001))
1256 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1262 284,285,309, 0,312, 91,327,328,329,331,333,335,336,337,338,339,
1285 put_queue(vc, 0xe1); in emulate_raw()
1286 put_queue(vc, 0x1d | up_flag); in emulate_raw()
1287 put_queue(vc, 0x45 | up_flag); in emulate_raw()
1292 put_queue(vc, 0xf2); in emulate_raw()
1297 put_queue(vc, 0xf1); in emulate_raw()
1303 * to emulate here) emit 0xe0 0x2a 0xe0 0x37 when in emulate_raw()
1304 * pressing PrtSc/SysRq alone, but simply 0x54 in emulate_raw()
1309 put_queue(vc, 0x54 | up_flag); in emulate_raw()
1311 put_queue(vc, 0xe0); in emulate_raw()
1312 put_queue(vc, 0x2a | up_flag); in emulate_raw()
1313 put_queue(vc, 0xe0); in emulate_raw()
1314 put_queue(vc, 0x37 | up_flag); in emulate_raw()
1326 if (code & 0x100) in emulate_raw()
1327 put_queue(vc, 0xe0); in emulate_raw()
1328 put_queue(vc, (code & 0x7f) | up_flag); in emulate_raw()
1333 return 0; in emulate_raw()
1338 #define HW_RAW(dev) 0
1346 return 0; in emulate_raw()
1403 * encoded as 0, high 7 bits, low 7 bits, with the 0 bearing in kbd_keycode()
1404 * the 'up' flag if needed. 0 is reserved, so this shouldn't in kbd_keycode()
1405 * interfere with anything else. The two bytes after 0 will in kbd_keycode()
1414 put_queue(vc, (keycode >> 7) | 0x80); in kbd_keycode()
1415 put_queue(vc, keycode | 0x80); in kbd_keycode()
1446 kbd->slockstate = 0; in kbd_keycode()
1459 if (type < 0xf0) { in kbd_keycode()
1469 type -= 0xf0; in kbd_keycode()
1489 (*k_handler[type])(vc, keysym & 0xff, !down); in kbd_keycode()
1495 kbd->slockstate = 0; in kbd_keycode()
1563 return 0; in kbd_connect()
1624 for (i = 0; i < MAX_NR_CONSOLES; i++) { in kbd_init()
1629 kbd_table[i].slockstate = 0; in kbd_init()
1643 return 0; in kbd_init()
1661 int ret = 0; in vt_do_diacrit()
1680 for (i = 0; i < asize; i++) { in vt_do_diacrit()
1751 for (i = 0; i < ct; i++) { in vt_do_diacrit()
1761 return 0; in vt_do_diacrit()
1792 return 0; in vt_do_diacrit()
1804 * Return 0 for success or an error code.
1809 int ret = 0; in vt_do_kdskbmode()
1844 * Return 0 for success or an error code.
1849 int ret = 0; in vt_do_kdskbmeta()
1871 int kc = 0; in vt_do_kbkeycode_ioctl()
1878 if (kc >= 0) in vt_do_kbkeycode_ioctl()
1906 perm = 0; in vt_do_kdsk_ioctl()
1930 if (key_map[0] == U(K_ALLOCATED)) { in vt_do_kdsk_ioctl()
1948 /* assignment to entry 0 only tests validity of args */ in vt_do_kdsk_ioctl()
1969 key_map[0] = U(K_ALLOCATED); in vt_do_kdsk_ioctl()
1993 return 0; in vt_do_kdsk_ioctl()
2012 perm = 0; in vt_do_kdgkb_ioctl()
2025 kbs->kb_string[sizeof(kbs->kb_string)-1] = '\0'; in vt_do_kdgkb_ioctl()
2038 len + 1) ? -EFAULT : 0; in vt_do_kdgkb_ioctl()
2049 fnw_sz = 0; in vt_do_kdgkb_ioctl()
2098 for (k = 0; k < j; k++) in vt_do_kdgkb_ioctl()
2120 ret = 0; in vt_do_kdgkb_ioctl()
2144 if (arg & ~0x77) in vt_do_kdskled()
2151 return 0; in vt_do_kdskled()
2163 return 0; in vt_do_kdskled()
2243 kb->lockstate = 0; in vt_reset_keyboard()
2244 kb->slockstate = 0; in vt_reset_keyboard()