Lines Matching refs:info
57 usb_ifc_info info;
171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 ||
172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 ||
173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0)
179 handle->info.has_bulk_in = 0;
180 handle->info.has_bulk_out = 0;
201 handle->info.has_bulk_in = 1;
204 handle->info.has_bulk_out = 1;
208 if (handle->info.ifc_protocol == 0x01) {
215 if (handle->info.has_bulk_in && handle->info.has_bulk_out) {
220 if (handle->callback(&handle->info) == 0) {
230 if (handle->info.has_bulk_in) {
238 if (handle->info.has_bulk_out) {
296 kr = (*dev)->GetDeviceVendor(dev, &handle->info.dev_vendor);
302 kr = (*dev)->GetDeviceProduct(dev, &handle->info.dev_product);
308 kr = (*dev)->GetDeviceClass(dev, &handle->info.dev_class);
314 kr = (*dev)->GetDeviceSubClass(dev, &handle->info.dev_subclass);
320 kr = (*dev)->GetDeviceProtocol(dev, &handle->info.dev_protocol);
331 snprintf(handle->info.device_path, sizeof(handle->info.device_path), "usb:%lX", locationId);
354 handle->info.serial_number[i] = buffer[i + 1];
355 handle->info.serial_number[i] = 0;
359 handle->info.serial_number[0] = 0;
361 handle->info.writable = 1;