Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/misc/
Dpcap_keys.c17 struct pcap_keys { struct
25 struct pcap_keys *pcap_keys = _pcap_keys; in pcap_keys_handler() argument
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(*pcap_keys), GFP_KERNEL); in pcap_keys_probe()
53 if (!pcap_keys) in pcap_keys_probe()
[all …]
DMakefile61 obj-$(CONFIG_INPUT_PCAP) += pcap_keys.o
DKconfig721 module will be called pcap_keys.