Home
last modified time | relevance | path

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

/linux/drivers/accessibility/speakup/
H A Dgenmap.c52 int value, shift_state, i, spk_val = 0, lock_val = 0; in main() local
76 value = shift_state = 0; in main()
91 shift_state += this->value; in main()
109 i = get_shift_value(shift_state); in main()
138 shift_state = shift_table[i]; in main()
139 if (shift_state&16) in main()
141 shift_state = get_shift_value(shift_state+16); in main()
142 kp[shift_state] = kp[i]; in main()
H A Dmain.c2108 speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym, in speakup_key() argument
2157 shift_info = (shift_state & 0x0f) + key_speakup; in speakup_key()
/linux/drivers/tty/vt/
H A Dkeyboard.c152 static int shift_state = 0; variable
396 shift_state = 0; in do_compute_shiftstate()
409 shift_state |= BIT(val); in do_compute_shiftstate()
854 int old_state = shift_state; in k_shift()
879 shift_state |= BIT(value); in k_shift()
881 shift_state &= ~BIT(value); in k_shift()
884 if (up_flag && shift_state != old_state && npadch_active) { in k_shift()
1471 param.shift = shift_final = (shift_state | kbd->slockstate) ^ kbd->lockstate; in kbd_keycode()
2210 return shift_state; in vt_get_shift_state()