Searched refs:wacom (Results 1 – 6 of 6) sorted by relevance
/drivers/input/tablet/ |
D | wacom_sys.c | 102 struct wacom *wacom = urb->context; in wacom_sys_irq() local 103 struct device *dev = &wacom->intf->dev; in wacom_sys_irq() 123 wacom_wac_irq(&wacom->wacom_wac, urb->actual_length); in wacom_sys_irq() 126 usb_mark_last_busy(wacom->usbdev); in wacom_sys_irq() 135 struct wacom *wacom = input_get_drvdata(dev); in wacom_open() local 138 if (usb_autopm_get_interface(wacom->intf) < 0) in wacom_open() 141 mutex_lock(&wacom->lock); in wacom_open() 143 if (usb_submit_urb(wacom->irq, GFP_KERNEL)) { in wacom_open() 148 wacom->open = true; in wacom_open() 149 wacom->intf->needs_remote_wakeup = 1; in wacom_open() [all …]
|
D | wacom_wac.c | 33 static int wacom_penpartner_irq(struct wacom_wac *wacom) in wacom_penpartner_irq() argument 35 unsigned char *data = wacom->data; in wacom_penpartner_irq() 36 struct input_dev *input = wacom->input; in wacom_penpartner_irq() 41 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq() 42 wacom->id[0] = (data[5] & 0x20) ? ERASER_DEVICE_ID : STYLUS_DEVICE_ID; in wacom_penpartner_irq() 43 input_report_key(input, wacom->tool[0], 1); in wacom_penpartner_irq() 44 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_penpartner_irq() 51 input_report_key(input, wacom->tool[0], 0); in wacom_penpartner_irq() 77 static int wacom_pl_irq(struct wacom_wac *wacom) in wacom_pl_irq() argument 79 struct wacom_features *features = &wacom->features; in wacom_pl_irq() [all …]
|
D | wacom.h | 109 struct wacom { struct 130 struct wacom *wacom = container_of(wacom_wac, struct wacom, wacom_wac); in wacom_schedule_work() argument 131 schedule_work(&wacom->work); in wacom_schedule_work()
|
D | Makefile | 6 wacom-objs := wacom_wac.o wacom_sys.o 13 obj-$(CONFIG_TABLET_USB_WACOM) += wacom.o
|
D | Kconfig | 90 module will be called wacom.
|
/drivers/hid/ |
D | Makefile | 116 obj-$(CONFIG_HID_WACOM) += hid-wacom.o
|