Home
last modified time | relevance | path

Searched refs:wacom (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/input/tablet/
Dwacom_serial4.c163 struct wacom { struct
188 static void wacom_handle_model_response(struct wacom *wacom) in wacom_handle_model_response() argument
193 p = strrchr(wacom->data, 'V'); in wacom_handle_model_response()
199 switch (wacom->data[2] << 8 | wacom->data[3]) { in wacom_handle_model_response()
202 if ((wacom->data[2] << 8 | wacom->data[3]) == MODEL_CINTIQ) { in wacom_handle_model_response()
203 wacom->dev->name = "Wacom Cintiq"; in wacom_handle_model_response()
204 wacom->dev->id.version = MODEL_CINTIQ; in wacom_handle_model_response()
206 wacom->dev->name = "Wacom Cintiq II"; in wacom_handle_model_response()
207 wacom->dev->id.version = MODEL_CINTIQ2; in wacom_handle_model_response()
209 wacom->res_x = 508; in wacom_handle_model_response()
[all …]
/linux-5.19.10/drivers/hid/
Dwacom_sys.c93 struct wacom *wacom = hid_get_drvdata(hdev); in wacom_wac_pen_serial_enforce() local
94 struct wacom_wac *wacom_wac = &wacom->wacom_wac; in wacom_wac_pen_serial_enforce()
161 struct wacom *wacom = hid_get_drvdata(hdev); in wacom_raw_event() local
169 memcpy(wacom->wacom_wac.data, raw_data, size); in wacom_raw_event()
171 wacom_wac_irq(&wacom->wacom_wac, size); in wacom_raw_event()
178 struct wacom *wacom = input_get_drvdata(dev); in wacom_open() local
180 return hid_hw_open(wacom->hdev); in wacom_open()
185 struct wacom *wacom = input_get_drvdata(dev); in wacom_close() local
191 if (wacom->hdev) in wacom_close()
192 hid_hw_close(wacom->hdev); in wacom_close()
[all …]
Dwacom_wac.c42 static void wacom_update_led(struct wacom *wacom, int button_count, int mask,
82 struct wacom *wacom = container_of(wacom_wac, struct wacom, wacom_wac); in wacom_notify_battery() local
84 __wacom_notify_battery(&wacom->battery, bat_status, bat_capacity, in wacom_notify_battery()
88 static int wacom_penpartner_irq(struct wacom_wac *wacom) in wacom_penpartner_irq() argument
90 unsigned char *data = wacom->data; in wacom_penpartner_irq()
91 struct input_dev *input = wacom->pen_input; in wacom_penpartner_irq()
96 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
97 wacom->id[0] = (data[5] & 0x20) ? ERASER_DEVICE_ID : STYLUS_DEVICE_ID; in wacom_penpartner_irq()
98 input_report_key(input, wacom->tool[0], 1); in wacom_penpartner_irq()
99 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_penpartner_irq()
[all …]
Dwacom.h113 struct wacom;
118 struct wacom *wacom; member
134 struct wacom *wacom; member
158 struct wacom { struct
187 struct wacom *wacom = container_of(wacom_wac, struct wacom, wacom_wac); in wacom_schedule_work() argument
191 schedule_work(&wacom->wireless_work); in wacom_schedule_work()
194 schedule_work(&wacom->battery_work); in wacom_schedule_work()
197 schedule_work(&wacom->remote_work); in wacom_schedule_work()
200 schedule_work(&wacom->mode_change_work); in wacom_schedule_work()
223 void wacom_setup_device_quirks(struct wacom *wacom);
[all …]
DMakefile140 wacom-objs := wacom_wac.o wacom_sys.o
141 obj-$(CONFIG_HID_WACOM) += wacom.o
DKconfig1206 module will be called wacom.
/linux-5.19.10/Documentation/admin-guide/aoe/
Dudev.txt13 # 10-wacom.rules 50-udev.rules
/linux-5.19.10/Documentation/devicetree/bindings/input/
Dhid-over-i2c.txt27 * "wacom,w9013" (Wacom W9013 digitizer). Supports:
/linux-5.19.10/arch/arm64/boot/dts/rockchip/
Drk3399-gru-kevin.dts206 /* wacom,w9013 */
Drk3566-pinenote.dtsi433 compatible = "wacom,w9013", "hid-over-i2c";
/linux-5.19.10/arch/arm64/boot/dts/qcom/
Dsdm850-samsung-w737.dts371 compatible = "wacom,w9013", "hid-over-i2c";
Dsdm845-cheza.dtsi578 compatible = "wacom,w9013", "hid-over-i2c";
/linux-5.19.10/
DMAINTAINERS8920 M: Ping Cheng <ping.cheng@wacom.com>
8921 M: Jason Gerecke <jason.gerecke@wacom.com>
8924 F: drivers/hid/wacom.h