Symbol: aiptek
drivers/input/tablet/aiptek.c
1004
if ((ret = aiptek_command(aiptek, 0x11, 0x02)) < 0)
drivers/input/tablet/aiptek.c
1008
if ((ret = aiptek_command(aiptek, 0x17, 0x00)) < 0)
drivers/input/tablet/aiptek.c
1013
if ((ret = aiptek_command(aiptek, 0x12, 0xff)) < 0)
drivers/input/tablet/aiptek.c
1018
aiptek->diagnostic = AIPTEK_DIAGNOSTIC_NA;
drivers/input/tablet/aiptek.c
1019
aiptek->eventCount = 0;
drivers/input/tablet/aiptek.c
1036
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1039
input_abs_get_max(aiptek->inputdev, ABS_X) + 1,
drivers/input/tablet/aiptek.c
1040
input_abs_get_max(aiptek->inputdev, ABS_Y) + 1);
drivers/input/tablet/aiptek.c
1064
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1067
aiptek->curSetting.pointerMode));
drivers/input/tablet/aiptek.c
1073
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1079
aiptek->newSetting.pointerMode = new_mode;
drivers/input/tablet/aiptek.c
1100
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1103
aiptek->curSetting.coordinateMode));
drivers/input/tablet/aiptek.c
1109
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1115
aiptek->newSetting.coordinateMode = new_mode;
drivers/input/tablet/aiptek.c
1141
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1144
aiptek->curSetting.toolMode));
drivers/input/tablet/aiptek.c
1150
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1156
aiptek->newSetting.toolMode = new_mode;
drivers/input/tablet/aiptek.c
1170
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1172
if (aiptek->curSetting.xTilt == AIPTEK_TILT_DISABLE) {
drivers/input/tablet/aiptek.c
1175
return sysfs_emit(buf, "%d\n", aiptek->curSetting.xTilt);
drivers/input/tablet/aiptek.c
1182
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1191
aiptek->newSetting.xTilt = AIPTEK_TILT_DISABLE;
drivers/input/tablet/aiptek.c
1196
aiptek->newSetting.xTilt = x;
drivers/input/tablet/aiptek.c
1211
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1213
if (aiptek->curSetting.yTilt == AIPTEK_TILT_DISABLE) {
drivers/input/tablet/aiptek.c
1216
return sysfs_emit(buf, "%d\n", aiptek->curSetting.yTilt);
drivers/input/tablet/aiptek.c
1223
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1232
aiptek->newSetting.yTilt = AIPTEK_TILT_DISABLE;
drivers/input/tablet/aiptek.c
1237
aiptek->newSetting.yTilt = y;
drivers/input/tablet/aiptek.c
1252
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1254
return sysfs_emit(buf, "%d\n", aiptek->curSetting.jitterDelay);
drivers/input/tablet/aiptek.c
1260
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1267
aiptek->newSetting.jitterDelay = j;
drivers/input/tablet/aiptek.c
1281
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1283
return sysfs_emit(buf, "%d\n", aiptek->curSetting.programmableDelay);
drivers/input/tablet/aiptek.c
1289
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1296
aiptek->newSetting.programmableDelay = d;
drivers/input/tablet/aiptek.c
1310
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1312
return sysfs_emit(buf, "%ld\n", aiptek->eventCount);
drivers/input/tablet/aiptek.c
1323
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1326
switch (aiptek->diagnostic) {
drivers/input/tablet/aiptek.c
1340
if (aiptek->curSetting.pointerMode ==
drivers/input/tablet/aiptek.c
1369
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1372
aiptek->curSetting.stylusButtonUpper));
drivers/input/tablet/aiptek.c
1378
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1384
aiptek->newSetting.stylusButtonUpper = new_button;
drivers/input/tablet/aiptek.c
1399
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1402
aiptek->curSetting.stylusButtonLower));
drivers/input/tablet/aiptek.c
1408
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1414
aiptek->newSetting.stylusButtonLower = new_button;
drivers/input/tablet/aiptek.c
1436
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1439
aiptek->curSetting.mouseButtonLeft));
drivers/input/tablet/aiptek.c
1445
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1451
aiptek->newSetting.mouseButtonLeft = new_button;
drivers/input/tablet/aiptek.c
1465
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1468
aiptek->curSetting.mouseButtonMiddle));
drivers/input/tablet/aiptek.c
1474
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1480
aiptek->newSetting.mouseButtonMiddle = new_button;
drivers/input/tablet/aiptek.c
1494
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1497
aiptek->curSetting.mouseButtonRight));
drivers/input/tablet/aiptek.c
1503
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1509
aiptek->newSetting.mouseButtonRight = new_button;
drivers/input/tablet/aiptek.c
1523
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1525
if (aiptek->curSetting.wheel == AIPTEK_WHEEL_DISABLE) {
drivers/input/tablet/aiptek.c
1528
return sysfs_emit(buf, "%d\n", aiptek->curSetting.wheel);
drivers/input/tablet/aiptek.c
1535
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1542
aiptek->newSetting.wheel = w;
drivers/input/tablet/aiptek.c
1564
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1569
memcpy(&aiptek->curSetting, &aiptek->newSetting,
drivers/input/tablet/aiptek.c
1572
if (aiptek_program_tablet(aiptek) < 0)
drivers/input/tablet/aiptek.c
1587
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1589
return sysfs_emit(buf, "0x%04x\n", aiptek->features.odmCode);
drivers/input/tablet/aiptek.c
1600
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1602
return sysfs_emit(buf, "0x%04x\n", aiptek->features.modelCode);
drivers/input/tablet/aiptek.c
1613
struct aiptek *aiptek = dev_get_drvdata(dev);
drivers/input/tablet/aiptek.c
1615
return sysfs_emit(buf, "%04x\n", aiptek->features.firmwareCode);
drivers/input/tablet/aiptek.c
1655
struct aiptek *aiptek;
drivers/input/tablet/aiptek.c
1676
aiptek = kzalloc_obj(*aiptek);
drivers/input/tablet/aiptek.c
1678
if (!aiptek || !inputdev) {
drivers/input/tablet/aiptek.c
1684
aiptek->data = usb_alloc_coherent(usbdev, AIPTEK_PACKET_LENGTH,
drivers/input/tablet/aiptek.c
1685
GFP_KERNEL, &aiptek->data_dma);
drivers/input/tablet/aiptek.c
1686
if (!aiptek->data) {
drivers/input/tablet/aiptek.c
1691
aiptek->urb = usb_alloc_urb(0, GFP_KERNEL);
drivers/input/tablet/aiptek.c
1692
if (!aiptek->urb) {
drivers/input/tablet/aiptek.c
1697
aiptek->inputdev = inputdev;
drivers/input/tablet/aiptek.c
1698
aiptek->intf = intf;
drivers/input/tablet/aiptek.c
1699
aiptek->ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
drivers/input/tablet/aiptek.c
1700
aiptek->inDelay = 0;
drivers/input/tablet/aiptek.c
1701
aiptek->endDelay = 0;
drivers/input/tablet/aiptek.c
1702
aiptek->previousJitterable = 0;
drivers/input/tablet/aiptek.c
1703
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
1711
aiptek->curSetting.pointerMode = AIPTEK_POINTER_EITHER_MODE;
drivers/input/tablet/aiptek.c
1712
aiptek->curSetting.coordinateMode = AIPTEK_COORDINATE_ABSOLUTE_MODE;
drivers/input/tablet/aiptek.c
1713
aiptek->curSetting.toolMode = AIPTEK_TOOL_BUTTON_PEN_MODE;
drivers/input/tablet/aiptek.c
1714
aiptek->curSetting.xTilt = AIPTEK_TILT_DISABLE;
drivers/input/tablet/aiptek.c
1715
aiptek->curSetting.yTilt = AIPTEK_TILT_DISABLE;
drivers/input/tablet/aiptek.c
1716
aiptek->curSetting.mouseButtonLeft = AIPTEK_MOUSE_LEFT_BUTTON;
drivers/input/tablet/aiptek.c
1717
aiptek->curSetting.mouseButtonMiddle = AIPTEK_MOUSE_MIDDLE_BUTTON;
drivers/input/tablet/aiptek.c
1718
aiptek->curSetting.mouseButtonRight = AIPTEK_MOUSE_RIGHT_BUTTON;
drivers/input/tablet/aiptek.c
1719
aiptek->curSetting.stylusButtonUpper = AIPTEK_STYLUS_UPPER_BUTTON;
drivers/input/tablet/aiptek.c
1720
aiptek->curSetting.stylusButtonLower = AIPTEK_STYLUS_LOWER_BUTTON;
drivers/input/tablet/aiptek.c
1721
aiptek->curSetting.jitterDelay = jitterDelay;
drivers/input/tablet/aiptek.c
1722
aiptek->curSetting.programmableDelay = programmableDelay;
drivers/input/tablet/aiptek.c
1726
aiptek->newSetting = aiptek->curSetting;
drivers/input/tablet/aiptek.c
1735
usb_make_path(usbdev, aiptek->features.usbPath,
drivers/input/tablet/aiptek.c
1736
sizeof(aiptek->features.usbPath));
drivers/input/tablet/aiptek.c
1737
strlcat(aiptek->features.usbPath, "/input0",
drivers/input/tablet/aiptek.c
1738
sizeof(aiptek->features.usbPath));
drivers/input/tablet/aiptek.c
1744
inputdev->phys = aiptek->features.usbPath;
drivers/input/tablet/aiptek.c
1748
input_set_drvdata(inputdev, aiptek);
drivers/input/tablet/aiptek.c
1798
usb_fill_int_urb(aiptek->urb,
drivers/input/tablet/aiptek.c
1802
aiptek->data, 8, aiptek_irq, aiptek,
drivers/input/tablet/aiptek.c
1805
aiptek->urb->transfer_dma = aiptek->data_dma;
drivers/input/tablet/aiptek.c
1806
aiptek->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
drivers/input/tablet/aiptek.c
1820
aiptek->curSetting.programmableDelay = speeds[i];
drivers/input/tablet/aiptek.c
1821
(void)aiptek_program_tablet(aiptek);
drivers/input/tablet/aiptek.c
1822
if (input_abs_get_max(aiptek->inputdev, ABS_X) > 0) {
drivers/input/tablet/aiptek.c
1825
aiptek->curSetting.programmableDelay);
drivers/input/tablet/aiptek.c
1841
usb_set_intfdata(intf, aiptek);
drivers/input/tablet/aiptek.c
1845
err = input_register_device(aiptek->inputdev);
drivers/input/tablet/aiptek.c
1853
fail3: usb_free_urb(aiptek->urb);
drivers/input/tablet/aiptek.c
1854
fail2: usb_free_coherent(usbdev, AIPTEK_PACKET_LENGTH, aiptek->data,
drivers/input/tablet/aiptek.c
1855
aiptek->data_dma);
drivers/input/tablet/aiptek.c
1858
kfree(aiptek);
drivers/input/tablet/aiptek.c
1867
struct aiptek *aiptek = usb_get_intfdata(intf);
drivers/input/tablet/aiptek.c
1872
if (aiptek != NULL) {
drivers/input/tablet/aiptek.c
1875
usb_kill_urb(aiptek->urb);
drivers/input/tablet/aiptek.c
1876
input_unregister_device(aiptek->inputdev);
drivers/input/tablet/aiptek.c
1877
usb_free_urb(aiptek->urb);
drivers/input/tablet/aiptek.c
1880
aiptek->data, aiptek->data_dma);
drivers/input/tablet/aiptek.c
1881
kfree(aiptek);
drivers/input/tablet/aiptek.c
414
struct aiptek *aiptek = urb->context;
drivers/input/tablet/aiptek.c
415
unsigned char *data = aiptek->data;
drivers/input/tablet/aiptek.c
416
struct input_dev *inputdev = aiptek->inputdev;
drivers/input/tablet/aiptek.c
417
struct usb_interface *intf = aiptek->intf;
drivers/input/tablet/aiptek.c
442
if (aiptek->inDelay == 1 && time_after(aiptek->endDelay, jiffies)) {
drivers/input/tablet/aiptek.c
446
aiptek->inDelay = 0;
drivers/input/tablet/aiptek.c
447
aiptek->eventCount++;
drivers/input/tablet/aiptek.c
454
if (aiptek->curSetting.coordinateMode ==
drivers/input/tablet/aiptek.c
456
aiptek->diagnostic =
drivers/input/tablet/aiptek.c
471
left = (data[1] & aiptek->curSetting.mouseButtonLeft >> 2) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
472
right = (data[1] & aiptek->curSetting.mouseButtonRight >> 2) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
473
middle = (data[1] & aiptek->curSetting.mouseButtonMiddle >> 2) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
487
if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) {
drivers/input/tablet/aiptek.c
489
aiptek->curSetting.wheel);
drivers/input/tablet/aiptek.c
490
aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE;
drivers/input/tablet/aiptek.c
492
if (aiptek->lastMacro != -1) {
drivers/input/tablet/aiptek.c
494
macroKeyEvents[aiptek->lastMacro], 0);
drivers/input/tablet/aiptek.c
495
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
504
if (aiptek->curSetting.coordinateMode == AIPTEK_COORDINATE_RELATIVE_MODE) {
drivers/input/tablet/aiptek.c
505
aiptek->diagnostic = AIPTEK_DIAGNOSTIC_SENDING_ABSOLUTE_IN_RELATIVE;
drivers/input/tablet/aiptek.c
507
(aiptek->curSetting.pointerMode)) {
drivers/input/tablet/aiptek.c
508
aiptek->diagnostic = AIPTEK_DIAGNOSTIC_TOOL_DISALLOWED;
drivers/input/tablet/aiptek.c
522
bs = (data[5] & aiptek->curSetting.stylusButtonLower) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
523
pck = (data[5] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
533
if (aiptek->previousToolMode !=
drivers/input/tablet/aiptek.c
534
aiptek->curSetting.toolMode) {
drivers/input/tablet/aiptek.c
536
aiptek->previousToolMode, 0);
drivers/input/tablet/aiptek.c
538
aiptek->curSetting.toolMode,
drivers/input/tablet/aiptek.c
540
aiptek->previousToolMode =
drivers/input/tablet/aiptek.c
541
aiptek->curSetting.toolMode;
drivers/input/tablet/aiptek.c
553
if (aiptek->curSetting.xTilt !=
drivers/input/tablet/aiptek.c
557
aiptek->curSetting.xTilt);
drivers/input/tablet/aiptek.c
559
if (aiptek->curSetting.yTilt != AIPTEK_TILT_DISABLE) {
drivers/input/tablet/aiptek.c
562
aiptek->curSetting.yTilt);
drivers/input/tablet/aiptek.c
568
if (aiptek->curSetting.wheel !=
drivers/input/tablet/aiptek.c
572
aiptek->curSetting.wheel);
drivers/input/tablet/aiptek.c
573
aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE;
drivers/input/tablet/aiptek.c
577
if (aiptek->lastMacro != -1) {
drivers/input/tablet/aiptek.c
579
macroKeyEvents[aiptek->lastMacro], 0);
drivers/input/tablet/aiptek.c
580
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
589
if (aiptek->curSetting.coordinateMode == AIPTEK_COORDINATE_RELATIVE_MODE) {
drivers/input/tablet/aiptek.c
590
aiptek->diagnostic = AIPTEK_DIAGNOSTIC_SENDING_ABSOLUTE_IN_RELATIVE;
drivers/input/tablet/aiptek.c
592
(aiptek->curSetting.pointerMode)) {
drivers/input/tablet/aiptek.c
593
aiptek->diagnostic = AIPTEK_DIAGNOSTIC_TOOL_DISALLOWED;
drivers/input/tablet/aiptek.c
602
left = (data[5] & aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
603
right = (data[5] & aiptek->curSetting.mouseButtonRight) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
604
middle = (data[5] & aiptek->curSetting.mouseButtonMiddle) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
610
if (aiptek->previousToolMode !=
drivers/input/tablet/aiptek.c
611
aiptek->curSetting.toolMode) {
drivers/input/tablet/aiptek.c
613
aiptek->previousToolMode, 0);
drivers/input/tablet/aiptek.c
615
aiptek->curSetting.toolMode,
drivers/input/tablet/aiptek.c
617
aiptek->previousToolMode =
drivers/input/tablet/aiptek.c
618
aiptek->curSetting.toolMode;
drivers/input/tablet/aiptek.c
632
if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) {
drivers/input/tablet/aiptek.c
635
aiptek->curSetting.wheel);
drivers/input/tablet/aiptek.c
636
aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE;
drivers/input/tablet/aiptek.c
640
if (aiptek->lastMacro != -1) {
drivers/input/tablet/aiptek.c
642
macroKeyEvents[aiptek->lastMacro], 0);
drivers/input/tablet/aiptek.c
643
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
657
bs = (data[1] & aiptek->curSetting.stylusButtonLower) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
658
pck = (data[1] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
667
if (aiptek->previousToolMode !=
drivers/input/tablet/aiptek.c
668
aiptek->curSetting.toolMode) {
drivers/input/tablet/aiptek.c
670
aiptek->previousToolMode, 0);
drivers/input/tablet/aiptek.c
672
aiptek->curSetting.toolMode,
drivers/input/tablet/aiptek.c
674
aiptek->previousToolMode =
drivers/input/tablet/aiptek.c
675
aiptek->curSetting.toolMode;
drivers/input/tablet/aiptek.c
679
if (aiptek->lastMacro != -1 && aiptek->lastMacro != macro) {
drivers/input/tablet/aiptek.c
680
input_report_key(inputdev, macroKeyEvents[aiptek->lastMacro], 0);
drivers/input/tablet/aiptek.c
681
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
684
if (macro != -1 && macro != aiptek->lastMacro) {
drivers/input/tablet/aiptek.c
686
aiptek->lastMacro = macro;
drivers/input/tablet/aiptek.c
699
left = (data[1]& aiptek->curSetting.mouseButtonLeft) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
700
right = (data[1] & aiptek->curSetting.mouseButtonRight) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
701
middle = (data[1] & aiptek->curSetting.mouseButtonMiddle) != 0 ? 1 : 0;
drivers/input/tablet/aiptek.c
708
if (aiptek->previousToolMode !=
drivers/input/tablet/aiptek.c
709
aiptek->curSetting.toolMode) {
drivers/input/tablet/aiptek.c
711
aiptek->previousToolMode, 0);
drivers/input/tablet/aiptek.c
713
aiptek->curSetting.toolMode, 1);
drivers/input/tablet/aiptek.c
714
aiptek->previousToolMode = aiptek->curSetting.toolMode;
drivers/input/tablet/aiptek.c
718
if (aiptek->lastMacro != -1 && aiptek->lastMacro != macro) {
drivers/input/tablet/aiptek.c
719
input_report_key(inputdev, macroKeyEvents[aiptek->lastMacro], 0);
drivers/input/tablet/aiptek.c
720
aiptek->lastMacro = -1;
drivers/input/tablet/aiptek.c
723
if (macro != -1 && macro != aiptek->lastMacro) {
drivers/input/tablet/aiptek.c
725
aiptek->lastMacro = macro;
drivers/input/tablet/aiptek.c
752
if (aiptek->previousToolMode !=
drivers/input/tablet/aiptek.c
753
aiptek->curSetting.toolMode) {
drivers/input/tablet/aiptek.c
755
aiptek->previousToolMode, 0);
drivers/input/tablet/aiptek.c
757
aiptek->curSetting.toolMode,
drivers/input/tablet/aiptek.c
759
aiptek->previousToolMode =
drivers/input/tablet/aiptek.c
760
aiptek->curSetting.toolMode;
drivers/input/tablet/aiptek.c
783
if (aiptek->previousJitterable != jitterable &&
drivers/input/tablet/aiptek.c
784
aiptek->curSetting.jitterDelay != 0 && aiptek->inDelay != 1) {
drivers/input/tablet/aiptek.c
785
aiptek->endDelay = jiffies +
drivers/input/tablet/aiptek.c
786
((aiptek->curSetting.jitterDelay * HZ) / 1000);
drivers/input/tablet/aiptek.c
787
aiptek->inDelay = 1;
drivers/input/tablet/aiptek.c
789
aiptek->previousJitterable = jitterable;
drivers/input/tablet/aiptek.c
827
struct aiptek *aiptek = input_get_drvdata(inputdev);
drivers/input/tablet/aiptek.c
829
aiptek->urb->dev = interface_to_usbdev(aiptek->intf);
drivers/input/tablet/aiptek.c
830
if (usb_submit_urb(aiptek->urb, GFP_KERNEL) != 0)
drivers/input/tablet/aiptek.c
841
struct aiptek *aiptek = input_get_drvdata(inputdev);
drivers/input/tablet/aiptek.c
843
usb_kill_urb(aiptek->urb);
drivers/input/tablet/aiptek.c
851
aiptek_set_report(struct aiptek *aiptek,
drivers/input/tablet/aiptek.c
855
struct usb_device *udev = interface_to_usbdev(aiptek->intf);
drivers/input/tablet/aiptek.c
862
aiptek->ifnum, buffer, size, 5000);
drivers/input/tablet/aiptek.c
866
aiptek_get_report(struct aiptek *aiptek,
drivers/input/tablet/aiptek.c
870
struct usb_device *udev = interface_to_usbdev(aiptek->intf);
drivers/input/tablet/aiptek.c
877
aiptek->ifnum, buffer, size, 5000);
drivers/input/tablet/aiptek.c
884
aiptek_command(struct aiptek *aiptek, unsigned char command, unsigned char data)
drivers/input/tablet/aiptek.c
899
aiptek_set_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) {
drivers/input/tablet/aiptek.c
900
dev_dbg(&aiptek->intf->dev,
drivers/input/tablet/aiptek.c
914
aiptek_query(struct aiptek *aiptek, unsigned char command, unsigned char data)
drivers/input/tablet/aiptek.c
928
if (aiptek_command(aiptek, command, data) != 0) {
drivers/input/tablet/aiptek.c
932
msleep(aiptek->curSetting.programmableDelay);
drivers/input/tablet/aiptek.c
934
if (aiptek_get_report(aiptek, 3, 2, buf, sizeof_buf) != sizeof_buf) {
drivers/input/tablet/aiptek.c
935
dev_dbg(&aiptek->intf->dev,
drivers/input/tablet/aiptek.c
950
static int aiptek_program_tablet(struct aiptek *aiptek)
drivers/input/tablet/aiptek.c
954
if ((ret = aiptek_command(aiptek, 0x18, 0x04)) < 0)
drivers/input/tablet/aiptek.c
958
if ((ret = aiptek_query(aiptek, 0x02, 0x00)) < 0)
drivers/input/tablet/aiptek.c
960
aiptek->features.modelCode = ret & 0xff;
drivers/input/tablet/aiptek.c
963
if ((ret = aiptek_query(aiptek, 0x03, 0x00)) < 0)
drivers/input/tablet/aiptek.c
965
aiptek->features.odmCode = ret;
drivers/input/tablet/aiptek.c
968
if ((ret = aiptek_query(aiptek, 0x04, 0x00)) < 0)
drivers/input/tablet/aiptek.c
970
aiptek->features.firmwareCode = ret;
drivers/input/tablet/aiptek.c
973
if ((ret = aiptek_query(aiptek, 0x01, 0x00)) < 0)
drivers/input/tablet/aiptek.c
975
input_set_abs_params(aiptek->inputdev, ABS_X, 0, ret - 1, 0, 0);
drivers/input/tablet/aiptek.c
978
if ((ret = aiptek_query(aiptek, 0x01, 0x01)) < 0)
drivers/input/tablet/aiptek.c
980
input_set_abs_params(aiptek->inputdev, ABS_Y, 0, ret - 1, 0, 0);
drivers/input/tablet/aiptek.c
983
if ((ret = aiptek_query(aiptek, 0x08, 0x00)) < 0)
drivers/input/tablet/aiptek.c
985
input_set_abs_params(aiptek->inputdev, ABS_PRESSURE, 0, ret - 1, 0, 0);
drivers/input/tablet/aiptek.c
990
if (aiptek->curSetting.coordinateMode ==
drivers/input/tablet/aiptek.c
993
if ((ret = aiptek_command(aiptek, 0x10, 0x01)) < 0) {
drivers/input/tablet/aiptek.c
998
if ((ret = aiptek_command(aiptek, 0x10, 0x00)) < 0) {