Lines Matching full:codes
24 u16 codes[7]; member
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
83 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe()
84 tk->input->keycode = tk->codes; in dir685_tk_probe()
85 tk->codes[0] = KEY_UP; in dir685_tk_probe()
86 tk->codes[1] = KEY_DOWN; in dir685_tk_probe()
87 tk->codes[2] = KEY_LEFT; in dir685_tk_probe()
88 tk->codes[3] = KEY_RIGHT; in dir685_tk_probe()
89 tk->codes[4] = KEY_ENTER; in dir685_tk_probe()
90 tk->codes[5] = KEY_WPS_BUTTON; in dir685_tk_probe()
95 tk->codes[6] = KEY_RESERVED; in dir685_tk_probe()
98 for (i = 0; i < ARRAY_SIZE(tk->codes); i++) in dir685_tk_probe()
99 __set_bit(tk->codes[i], tk->input->keybit); in dir685_tk_probe()