Home
last modified time | relevance | path

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

/drivers/input/keyboard/
A Dbcm-keypad.c97 int key_press; in bcm_kp_report_keys() local
109 key_press = state & BIT(bit_nr); in bcm_kp_report_keys()
111 key_press = pull_mode ? !key_press : key_press; in bcm_kp_report_keys()
115 input_report_key(kp->input_dev, keycode, key_press); in bcm_kp_report_keys()
A Dadp5588-keys.c483 int key_press) in adp5588_gpio_irq_handle() argument
513 if ((irq_type & IRQ_TYPE_EDGE_RISING && !key_press) || in adp5588_gpio_irq_handle()
514 (irq_type & IRQ_TYPE_EDGE_FALLING && key_press)) in adp5588_gpio_irq_handle()
525 int key_press = key & KEY_EV_PRESSED; in adp5588_report_events() local
529 adp5588_gpio_irq_handle(kpad, key_val, key_press); in adp5588_report_events()
540 kpad->keycode[code], key_press); in adp5588_report_events()
A Dadp5585-keys.c230 unsigned long key_press = (unsigned long)data; in adp5585_keys_ev_handle() local
252 input_report_key(kpad->input, kpad->keycode[code], key_press); in adp5585_keys_ev_handle()
/drivers/gpio/
A Dgpio-adp5585.c273 unsigned long key_press = (unsigned long)data; in adp5585_gpio_key_event() local
297 off, key_press, active_high); in adp5585_gpio_key_event()
300 key_press = !key_press; in adp5585_gpio_key_event()
304 if ((irq_type & IRQ_TYPE_EDGE_RISING && key_press) || in adp5585_gpio_key_event()
305 (irq_type & IRQ_TYPE_EDGE_FALLING && !key_press)) in adp5585_gpio_key_event()
/drivers/mfd/
A Dadp5585.c490 unsigned long key_val, key_press; in adp5585_report_events() local
499 key_press = FIELD_GET(ADP5585_KEV_EV_PRESS_MASK, key); in adp5585_report_events()
501 blocking_notifier_call_chain(&adp5585->event_notifier, key_val, (void *)key_press); in adp5585_report_events()

Completed in 13 milliseconds