Lines Matching refs:interface
870 struct usb_interface_descriptor *interface; in probe_scanner() local
932 interface = dev->config[0].interface[ifnum].altsetting; in probe_scanner()
934 if (interface[0].bInterfaceClass != USB_CLASS_VENDOR_SPEC && in probe_scanner()
935 interface[0].bInterfaceClass != USB_CLASS_PER_INTERFACE && in probe_scanner()
936 interface[0].bInterfaceClass != USB_CLASS_CDC_DATA && in probe_scanner()
937 interface[0].bInterfaceClass != SCN_CLASS_SCANJET) { in probe_scanner()
938 …dbg("probe_scanner: This interface doesn't look like a scanner (class=0x%x).", interface[0].bInter… in probe_scanner()
942 endpoint = interface[0].endpoint; in probe_scanner()
950 dbg("probe_scanner: Number of Endpoints:%d", (int) interface->bNumEndpoints); in probe_scanner()
954 while (ep_cnt < interface->bNumEndpoints) { in probe_scanner()
1143 &scn->scn_dev->actconfig->interface[scn->ifnum]); in disconnect_scanner()