Home
last modified time | relevance | path

Searched refs:wacom_wac (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/hid/
Dwacom_wac.c41 static void wacom_force_proxout(struct wacom_wac *wacom_wac) in wacom_force_proxout() argument
43 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout()
45 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout()
51 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout()
52 if (wacom_wac->serial[0]) { in wacom_force_proxout()
57 wacom_wac->tool[0] = 0; in wacom_force_proxout()
58 wacom_wac->id[0] = 0; in wacom_force_proxout()
59 wacom_wac->serial[0] = 0; in wacom_force_proxout()
67 struct wacom_wac *wacom_wac = &wacom->wacom_wac; in wacom_idleprox_timeout() local
69 if (!wacom_wac->hid_data.sense_state) { in wacom_idleprox_timeout()
[all …]
Dwacom_sys.c89 struct wacom_wac *wacom_wac = &wacom->wacom_wac; in wacom_wac_pen_serial_enforce() local
90 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce()
95 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce()
126 wacom_wac->serial[0] = value; in wacom_wac_pen_serial_enforce()
130 wacom_wac->serial[0] |= ((__u64)value) << 32; in wacom_wac_pen_serial_enforce()
134 wacom_wac->id[0] = value; in wacom_wac_pen_serial_enforce()
145 wacom_wac_queue_flush(hdev, wacom_wac->pen_fifo); in wacom_wac_pen_serial_enforce()
147 wacom_wac_queue_insert(hdev, wacom_wac->pen_fifo, in wacom_wac_pen_serial_enforce()
158 if (wacom->wacom_wac.features.type == BOOTLOADER) in wacom_raw_event()
167 memcpy(wacom->wacom_wac.data, raw_data, size); in wacom_raw_event()
[all …]
Dwacom.h159 struct wacom_wac wacom_wac; member
183 static inline void wacom_schedule_work(struct wacom_wac *wacom_wac, in wacom_schedule_work() argument
186 struct wacom *wacom = container_of(wacom_wac, struct wacom, wacom_wac); in wacom_schedule_work()
221 void wacom_wac_irq(struct wacom_wac *wacom_wac, size_t len);
224 struct wacom_wac *wacom_wac);
226 struct wacom_wac *wacom_wac);
228 struct wacom_wac *wacom_wac);
Dwacom_wac.h336 struct wacom_wac { struct
DMakefile143 wacom-objs := wacom_wac.o wacom_sys.o