Lines Matching refs:altptr
802 const struct libusb_interface_descriptor *altptr = NULL; in find_device() local
880 for (altset = 0, altptr = ifaceptr->altsetting; in find_device()
882 altset ++, altptr ++) in find_device()
890 if (((altptr->bInterfaceClass != LIBUSB_CLASS_PRINTER || in find_device()
891 altptr->bInterfaceSubClass != 1) && in find_device()
893 (altptr->bInterfaceProtocol != 1 && /* Unidirectional */ in find_device()
894 altptr->bInterfaceProtocol != 2) || /* Bidirectional */ in find_device()
895 altptr->bInterfaceProtocol < protocol) in find_device()
905 for (endp = 0, endpptr = altptr->endpoint; in find_device()
906 endp < altptr->bNumEndpoints; in find_device()
923 protocol = altptr->bInterfaceProtocol; in find_device()