Lines Matching defs:info
106 struct usb_ifc_info info;
127 info.dev_vendor = dev->idVendor;
128 info.dev_product = dev->idProduct;
129 info.dev_class = dev->bDeviceClass;
130 info.dev_subclass = dev->bDeviceSubClass;
131 info.dev_protocol = dev->bDeviceProtocol;
132 info.writable = writable;
135 info.serial_number[0] = 0;
159 info.serial_number[i - 1] = buffer[i];
160 info.serial_number[i - 1] = 0;
182 info.device_path[0] = '\0';
196 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", slash+1);
209 info.ifc_class = ifc->bInterfaceClass;
210 info.ifc_subclass = ifc->bInterfaceSubClass;
211 info.ifc_protocol = ifc->bInterfaceProtocol;
230 info.has_bulk_in = (in != -1);
231 info.has_bulk_out = (out != -1);
233 if(callback(&info) == 0) {