Home
last modified time | relevance | path

Searched refs:key_num (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/input/keyboard/
Dmpr121_touchkey.c127 unsigned int key_num; in mpr_touchkey_report() local
147 for_each_set_bit(key_num, &bit_changed, mpr121->keycount) { in mpr_touchkey_report()
150 pressed = reg & BIT(key_num); in mpr_touchkey_report()
151 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report()
153 input_event(input, EV_MSC, MSC_SCAN, key_num); in mpr_touchkey_report()
156 dev_dbg(&client->dev, "key %d %d %s\n", key_num, key_val, in mpr_touchkey_report()
Dqt1050.c291 static const struct qt1050_key_regs *qt1050_get_key_regs(int key_num) in qt1050_get_key_regs() argument
293 return &qt1050_key_regs_data[key_num]; in qt1050_get_key_regs()
/linux-6.12.1/drivers/input/touchscreen/
Dhideep.c170 int key_num; member
827 ts->key_num = device_property_count_u32(dev, "linux,keycodes"); in hideep_init_input()
828 if (ts->key_num > HIDEEP_KEY_MAX) { in hideep_init_input()
830 ts->key_num); in hideep_init_input()
834 if (ts->key_num <= 0) { in hideep_init_input()
840 ts->key_num); in hideep_init_input()
846 if (ts->key_num) { in hideep_init_input()
849 ts->input_dev->keycodemax = ts->key_num; in hideep_init_input()
851 for (i = 0; i < ts->key_num; i++) in hideep_init_input()
Dmelfas_mip4.c171 unsigned int key_num; member
341 ts->key_num = ts->node_key; in mip4_query_device()
398 for (i = 0; i < ts->key_num; i++) in mip4_clear_input()
450 if (key >= 1 && key <= ts->key_num) { in mip4_report_keys()
1476 input->keycodemax = ts->key_num; in mip4_probe()
/linux-6.12.1/drivers/platform/x86/
Dacer-wmi.c156 u8 key_num; member
2252 return_value.key_num); in acer_wmi_notify()
2255 return_value.key_num); in acer_wmi_notify()
2257 scancode = return_value.key_num; in acer_wmi_notify()
2283 if (return_value.key_num == 0x4) in acer_wmi_notify()
2285 if (return_value.key_num == 0x5 && has_cap(ACER_CAP_PLATFORM_PROFILE)) in acer_wmi_notify()
2290 return_value.function, return_value.key_num); in acer_wmi_notify()