Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/input/misc/
Dpcap_keys.c17 struct pcap_keys { struct
25 struct pcap_keys *pcap_keys = _pcap_keys; in pcap_keys_handler() local
26 int pirq = irq_to_pcap(pcap_keys->pcap, irq); in pcap_keys_handler()
29 ezx_pcap_read(pcap_keys->pcap, PCAP_REG_PSTAT, &pstat); in pcap_keys_handler()
34 input_report_key(pcap_keys->input, KEY_POWER, !pstat); in pcap_keys_handler()
37 input_report_key(pcap_keys->input, KEY_HP, !pstat); in pcap_keys_handler()
41 input_sync(pcap_keys->input); in pcap_keys_handler()
49 struct pcap_keys *pcap_keys; in pcap_keys_probe() local
52 pcap_keys = kmalloc(sizeof(struct pcap_keys), GFP_KERNEL); in pcap_keys_probe()
53 if (!pcap_keys) in pcap_keys_probe()
[all …]
DMakefile59 obj-$(CONFIG_INPUT_PCAP) += pcap_keys.o
DKconfig694 module will be called pcap_keys.