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.c51 int value, shift_state, i, spk_val = 0, lock_val = 0; in main() local
75 value = shift_state = 0; in main()
90 shift_state += this->value; in main()
108 i = get_shift_value(shift_state); in main()
137 shift_state = shift_table[i]; in main()
138 if (shift_state&16) in main()
140 shift_state = get_shift_value(shift_state+16); in main()
141 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()
1469 param.shift = shift_final = (shift_state | kbd->slockstate) ^ kbd->lockstate; in kbd_keycode()
2208 return shift_state; in vt_get_shift_state()