Lines Matching refs:info
50 int printifc(usb_ifc_info *info)
53 info->dev_class, info->dev_subclass, info->dev_protocol,
54 info->dev_vendor, info->dev_product);
56 info->ifc_class, info->ifc_subclass, info->ifc_protocol,
57 info->has_bulk_in ? " in" : "",
58 info->has_bulk_out ? " out" : "");
62 int match_null(usb_ifc_info *info)
64 if(info->dev_vendor != 0x18d1) return -1;
65 if(info->ifc_class != 0xff) return -1;
66 if(info->ifc_subclass != 0xfe) return -1;
67 if(info->ifc_protocol != 0x01) return -1;
71 int match_zero(usb_ifc_info *info)
73 if(info->dev_vendor != 0x18d1) return -1;
74 if(info->ifc_class != 0xff) return -1;
75 if(info->ifc_subclass != 0xfe) return -1;
76 if(info->ifc_protocol != 0x02) return -1;
80 int match_loop(usb_ifc_info *info)
82 if(info->dev_vendor != 0x18d1) return -1;
83 if(info->ifc_class != 0xff) return -1;
84 if(info->ifc_subclass != 0xfe) return -1;
85 if(info->ifc_protocol != 0x03) return -1;