Lines Matching +full:0 +full:x1d6b
33 #define VENDOR 0x1d6b
34 #define PRODUCT 0x0105
68 state->attached = 0; in test_init()
77 if (cnt <= 0) { in test_init()
82 for (i = 0; i < cnt; ++i) { in test_init()
108 if (libusb_claim_interface(state->handle, 0)) { in test_init()
109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init()
116 ret = libusb_claim_interface(state->handle, 0); in test_init()
124 return 0; in test_init()
128 libusb_attach_kernel_driver(state->handle, 0); in test_init()
147 libusb_release_interface(state->handle, 0); in test_exit()
149 libusb_attach_kernel_driver(state->handle, 0); in test_exit()
164 libusb_get_config_descriptor(state.found, 0, &conf); in main()
165 iface = &conf->interface[0].altsetting[0]; in main()
166 in_addr = iface->endpoint[0].bEndpointAddress; in main()