Lines Matching refs:direct_key_num
161 &pdata->direct_key_num); in pxa27x_keypad_direct_key_parse_dt()
363 for (i = 0; i < pdata->direct_key_num; i++) { in pxa27x_keypad_build_keycode()
554 for (i = 0; i < pdata->direct_key_num; i++) { in pxa27x_keypad_scan_direct()
594 unsigned int mask = 0, direct_key_num = 0; in pxa27x_keypad_config() local
610 direct_key_num = 2; in pxa27x_keypad_config()
616 direct_key_num = 4; in pxa27x_keypad_config()
620 if (pdata->direct_key_num > direct_key_num) in pxa27x_keypad_config()
621 direct_key_num = pdata->direct_key_num; in pxa27x_keypad_config()
630 keypad->direct_key_mask = ((1 << direct_key_num) - 1) & ~mask; in pxa27x_keypad_config()
633 if (direct_key_num) in pxa27x_keypad_config()
634 kpc |= KPC_DE | KPC_DIE | KPC_DKN(direct_key_num); in pxa27x_keypad_config()