Home
last modified time | relevance | path

Searched refs:pcap_keys (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/input/misc/
Dpcap_keys.c21 struct pcap_keys { struct
29 struct pcap_keys *pcap_keys = _pcap_keys; in pcap_keys_handler() argument
30 int pirq = irq_to_pcap(pcap_keys->pcap, irq); in pcap_keys_handler()
33 ezx_pcap_read(pcap_keys->pcap, PCAP_REG_PSTAT, &pstat); in pcap_keys_handler()
38 input_report_key(pcap_keys->input, KEY_POWER, !pstat); in pcap_keys_handler()
41 input_report_key(pcap_keys->input, KEY_HP, !pstat); in pcap_keys_handler()
45 input_sync(pcap_keys->input); in pcap_keys_handler()
53 struct pcap_keys *pcap_keys; in pcap_keys_probe() local
56 pcap_keys = kmalloc(sizeof(struct pcap_keys), GFP_KERNEL); in pcap_keys_probe()
57 if (!pcap_keys) in pcap_keys_probe()
[all …]
DMakefile50 obj-$(CONFIG_INPUT_PCAP) += pcap_keys.o
DKconfig649 module will be called pcap_keys.