Lines Matching refs:ifd
1265 struct usb_host_interface *ifd; in usblp_select_alts() local
1277 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()
1310 ifd->desc.bAlternateSetting; in usblp_select_alts()
1311 usblp->protocol[ifd->desc.bInterfaceProtocol].epwrite = epwrite; in usblp_select_alts()
1312 usblp->protocol[ifd->desc.bInterfaceProtocol].epread = epread; in usblp_select_alts()