Lines Matching defs:usb
61 static const char* kBasePublishPath = "input/wacom/usb/";
71 static usb_module_info* usb;
125 conf = usb->get_configuration(dev);
131 udd = usb->get_device_descriptor(dev);
139 conf = usb->get_nth_configuration(dev, 0);
187 if ((st = usb->set_configuration(dev, conf)) != B_OK) {
197 if ((st = usb->set_alt_interface(dev, ii)) != B_OK) {
212 // par. 7.2 (available at www.usb.org/developers/hidpage)
219 st = usb->send_request(dev, 0x21, 0x0b, 1, 0, 0, 0,
235 st = usb->send_request(dev, 0x21, 0x09, (3 << 8) + 2, 0, 2,
248 st = usb->send_request(dev, 0xA1, 0x01, (3 << 8) + 2, 0, 2,
307 usb->cancel_queued_transfers(device->pipe);
542 // read more than "sizeof(wacom_device_header)" bytes, a usb interupt
546 ret = usb->queue_interrupt(device->pipe, device->data,
554 usb->cancel_queued_transfers(device->pipe);
668 if (get_module(B_USB_MODULE_NAME, (module_info**) &usb) != B_OK) {
678 usb->register_driver(kDriverName, kSupportedDevices, 1, NULL);
679 usb->install_notify(kDriverName, ¬ify_hooks);
692 usb->uninstall_notify(kDriverName);