onetouch 90 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch = urb->context; onetouch 91 drivers/usb/storage/onetouch.c signed char *data = onetouch->data; onetouch 92 drivers/usb/storage/onetouch.c struct input_dev *dev = onetouch->dev; onetouch 115 drivers/usb/storage/onetouch.c "retval %d\n", onetouch->udev->bus->bus_name, onetouch 116 drivers/usb/storage/onetouch.c onetouch->udev->devpath, retval); onetouch 121 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch = input_get_drvdata(dev); onetouch 123 drivers/usb/storage/onetouch.c onetouch->is_open = 1; onetouch 124 drivers/usb/storage/onetouch.c onetouch->irq->dev = onetouch->udev; onetouch 125 drivers/usb/storage/onetouch.c if (usb_submit_urb(onetouch->irq, GFP_KERNEL)) { onetouch 135 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch = input_get_drvdata(dev); onetouch 137 drivers/usb/storage/onetouch.c usb_kill_urb(onetouch->irq); onetouch 138 drivers/usb/storage/onetouch.c onetouch->is_open = 0; onetouch 144 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch = (struct usb_onetouch *) us->extra; onetouch 146 drivers/usb/storage/onetouch.c if (onetouch->is_open) { onetouch 149 drivers/usb/storage/onetouch.c usb_kill_urb(onetouch->irq); onetouch 152 drivers/usb/storage/onetouch.c if (usb_submit_urb(onetouch->irq, GFP_NOIO) != 0) onetouch 153 drivers/usb/storage/onetouch.c dev_err(&onetouch->irq->dev->dev, onetouch 168 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch; onetouch 186 drivers/usb/storage/onetouch.c onetouch = kzalloc(sizeof(struct usb_onetouch), GFP_KERNEL); onetouch 188 drivers/usb/storage/onetouch.c if (!onetouch || !input_dev) onetouch 191 drivers/usb/storage/onetouch.c onetouch->data = usb_alloc_coherent(udev, ONETOUCH_PKT_LEN, onetouch 192 drivers/usb/storage/onetouch.c GFP_KERNEL, &onetouch->data_dma); onetouch 193 drivers/usb/storage/onetouch.c if (!onetouch->data) onetouch 196 drivers/usb/storage/onetouch.c onetouch->irq = usb_alloc_urb(0, GFP_KERNEL); onetouch 197 drivers/usb/storage/onetouch.c if (!onetouch->irq) onetouch 200 drivers/usb/storage/onetouch.c onetouch->udev = udev; onetouch 201 drivers/usb/storage/onetouch.c onetouch->dev = input_dev; onetouch 204 drivers/usb/storage/onetouch.c strlcpy(onetouch->name, udev->manufacturer, onetouch 205 drivers/usb/storage/onetouch.c sizeof(onetouch->name)); onetouch 208 drivers/usb/storage/onetouch.c strlcat(onetouch->name, " ", sizeof(onetouch->name)); onetouch 209 drivers/usb/storage/onetouch.c strlcat(onetouch->name, udev->product, sizeof(onetouch->name)); onetouch 212 drivers/usb/storage/onetouch.c if (!strlen(onetouch->name)) onetouch 213 drivers/usb/storage/onetouch.c snprintf(onetouch->name, sizeof(onetouch->name), onetouch 218 drivers/usb/storage/onetouch.c usb_make_path(udev, onetouch->phys, sizeof(onetouch->phys)); onetouch 219 drivers/usb/storage/onetouch.c strlcat(onetouch->phys, "/input0", sizeof(onetouch->phys)); onetouch 221 drivers/usb/storage/onetouch.c input_dev->name = onetouch->name; onetouch 222 drivers/usb/storage/onetouch.c input_dev->phys = onetouch->phys; onetouch 230 drivers/usb/storage/onetouch.c input_set_drvdata(input_dev, onetouch); onetouch 235 drivers/usb/storage/onetouch.c usb_fill_int_urb(onetouch->irq, udev, pipe, onetouch->data, maxp, onetouch 236 drivers/usb/storage/onetouch.c usb_onetouch_irq, onetouch, endpoint->bInterval); onetouch 237 drivers/usb/storage/onetouch.c onetouch->irq->transfer_dma = onetouch->data_dma; onetouch 238 drivers/usb/storage/onetouch.c onetouch->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; onetouch 241 drivers/usb/storage/onetouch.c ss->extra = onetouch; onetouch 246 drivers/usb/storage/onetouch.c error = input_register_device(onetouch->dev); onetouch 252 drivers/usb/storage/onetouch.c fail3: usb_free_urb(onetouch->irq); onetouch 254 drivers/usb/storage/onetouch.c onetouch->data, onetouch->data_dma); onetouch 255 drivers/usb/storage/onetouch.c fail1: kfree(onetouch); onetouch 262 drivers/usb/storage/onetouch.c struct usb_onetouch *onetouch = (struct usb_onetouch *) onetouch_; onetouch 264 drivers/usb/storage/onetouch.c if (onetouch) { onetouch 265 drivers/usb/storage/onetouch.c usb_kill_urb(onetouch->irq); onetouch 266 drivers/usb/storage/onetouch.c input_unregister_device(onetouch->dev); onetouch 267 drivers/usb/storage/onetouch.c usb_free_urb(onetouch->irq); onetouch 268 drivers/usb/storage/onetouch.c usb_free_coherent(onetouch->udev, ONETOUCH_PKT_LEN, onetouch 269 drivers/usb/storage/onetouch.c onetouch->data, onetouch->data_dma);