kbtab 33 drivers/input/tablet/kbtab.c struct kbtab *kbtab = urb->context; kbtab 34 drivers/input/tablet/kbtab.c unsigned char *data = kbtab->data; kbtab 35 drivers/input/tablet/kbtab.c struct input_dev *dev = kbtab->dev; kbtab 47 drivers/input/tablet/kbtab.c dev_dbg(&kbtab->intf->dev, kbtab 52 drivers/input/tablet/kbtab.c dev_dbg(&kbtab->intf->dev, kbtab 78 drivers/input/tablet/kbtab.c dev_err(&kbtab->intf->dev, kbtab 92 drivers/input/tablet/kbtab.c struct kbtab *kbtab = input_get_drvdata(dev); kbtab 93 drivers/input/tablet/kbtab.c struct usb_device *udev = interface_to_usbdev(kbtab->intf); kbtab 95 drivers/input/tablet/kbtab.c kbtab->irq->dev = udev; kbtab 96 drivers/input/tablet/kbtab.c if (usb_submit_urb(kbtab->irq, GFP_KERNEL)) kbtab 104 drivers/input/tablet/kbtab.c struct kbtab *kbtab = input_get_drvdata(dev); kbtab 106 drivers/input/tablet/kbtab.c usb_kill_urb(kbtab->irq); kbtab 113 drivers/input/tablet/kbtab.c struct kbtab *kbtab; kbtab 124 drivers/input/tablet/kbtab.c kbtab = kzalloc(sizeof(struct kbtab), GFP_KERNEL); kbtab 126 drivers/input/tablet/kbtab.c if (!kbtab || !input_dev) kbtab 129 drivers/input/tablet/kbtab.c kbtab->data = usb_alloc_coherent(dev, 8, GFP_KERNEL, &kbtab->data_dma); kbtab 130 drivers/input/tablet/kbtab.c if (!kbtab->data) kbtab 133 drivers/input/tablet/kbtab.c kbtab->irq = usb_alloc_urb(0, GFP_KERNEL); kbtab 134 drivers/input/tablet/kbtab.c if (!kbtab->irq) kbtab 137 drivers/input/tablet/kbtab.c kbtab->intf = intf; kbtab 138 drivers/input/tablet/kbtab.c kbtab->dev = input_dev; kbtab 140 drivers/input/tablet/kbtab.c usb_make_path(dev, kbtab->phys, sizeof(kbtab->phys)); kbtab 141 drivers/input/tablet/kbtab.c strlcat(kbtab->phys, "/input0", sizeof(kbtab->phys)); kbtab 144 drivers/input/tablet/kbtab.c input_dev->phys = kbtab->phys; kbtab 148 drivers/input/tablet/kbtab.c input_set_drvdata(input_dev, kbtab); kbtab 162 drivers/input/tablet/kbtab.c usb_fill_int_urb(kbtab->irq, dev, kbtab 164 drivers/input/tablet/kbtab.c kbtab->data, 8, kbtab 165 drivers/input/tablet/kbtab.c kbtab_irq, kbtab, endpoint->bInterval); kbtab 166 drivers/input/tablet/kbtab.c kbtab->irq->transfer_dma = kbtab->data_dma; kbtab 167 drivers/input/tablet/kbtab.c kbtab->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; kbtab 169 drivers/input/tablet/kbtab.c error = input_register_device(kbtab->dev); kbtab 173 drivers/input/tablet/kbtab.c usb_set_intfdata(intf, kbtab); kbtab 177 drivers/input/tablet/kbtab.c fail3: usb_free_urb(kbtab->irq); kbtab 178 drivers/input/tablet/kbtab.c fail2: usb_free_coherent(dev, 8, kbtab->data, kbtab->data_dma); kbtab 180 drivers/input/tablet/kbtab.c kfree(kbtab); kbtab 186 drivers/input/tablet/kbtab.c struct kbtab *kbtab = usb_get_intfdata(intf); kbtab 191 drivers/input/tablet/kbtab.c input_unregister_device(kbtab->dev); kbtab 192 drivers/input/tablet/kbtab.c usb_free_urb(kbtab->irq); kbtab 193 drivers/input/tablet/kbtab.c usb_free_coherent(udev, 8, kbtab->data, kbtab->data_dma); kbtab 194 drivers/input/tablet/kbtab.c kfree(kbtab);