File Index
Files and directories
Sign in
FILE

intel-thc-wot.h

File preview with syntax highlighting.

linux-6.19.14/drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.h C
 1// SPDX-License-Identifier: GPL-2.0
 2/* Copyright (c) 2025 Intel Corporation */
 3
 4#ifndef _INTEL_THC_WOT_H_
 5#define _INTEL_THC_WOT_H_
 6
 7#include <linux/types.h>
 8
 9#include <linux/gpio/consumer.h>
10
11/**
12 * struct thc_wot - THC Wake-on-Touch data structure
13 * @gpio_irq : GPIO interrupt IRQ number for wake-on-touch
14 * @gpio_irq_wakeable : Indicate GPIO IRQ workable or not
15 */
16struct thc_wot {
17	int gpio_irq;
18	bool gpio_irq_wakeable;
19};
20
21struct thc_device;
22
23void thc_wot_config(struct thc_device *thc_dev, const struct acpi_gpio_mapping *gpio_map);
24void thc_wot_unconfig(struct thc_device *thc_dev);
25
26#endif /* _INTEL_THC_WOT_H_ */
~/ Read-only file preview.