Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
H 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()
H 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()
H 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()
/linux/drivers/gpio/
H 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()
/linux/include/sound/
H A Dseq_midi_emul.h71 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan); member
/linux/sound/core/seq/
H A Dseq_midi_emul.c133 if (ops->key_press) in snd_midi_process_event()
134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
/linux/sound/synth/emux/
H A Demux_seq.c25 .key_press = snd_emux_key_press,