Searched refs:ifd (Results 1 – 1 of 1) sorted by relevance
1265 struct usb_host_interface *ifd; in usblp_select_alts() local1277 ifd = &if_alt->altsetting[i]; in usblp_select_alts()1279 if (ifd->desc.bInterfaceClass != USB_CLASS_PRINTER || in usblp_select_alts()1280 ifd->desc.bInterfaceSubClass != 1) in usblp_select_alts()1284 if (ifd->desc.bInterfaceProtocol < USBLP_FIRST_PROTOCOL || in usblp_select_alts()1285 ifd->desc.bInterfaceProtocol > USBLP_LAST_PROTOCOL) in usblp_select_alts()1289 if (ifd->desc.bInterfaceProtocol > 1) { in usblp_select_alts()1290 res = usb_find_common_endpoints(ifd, in usblp_select_alts()1294 res = usb_find_bulk_out_endpoint(ifd, &epwrite); in usblp_select_alts()1309 usblp->protocol[ifd->desc.bInterfaceProtocol].alt_setting = in usblp_select_alts()[all …]