Lines Matching refs:control_interface
1178 struct usb_interface *control_interface; in acm_probe() local
1212 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1214 if (!data_interface || !control_interface) in acm_probe()
1250 control_interface = data_interface = intf; in acm_probe()
1256 control_interface = intf; in acm_probe()
1265 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1268 if (control_interface) in acm_probe()
1269 class = control_interface->cur_altsetting->desc.bInterfaceClass; in acm_probe()
1274 control_interface = data_interface = intf; in acm_probe()
1279 if (!control_interface || !data_interface) { in acm_probe()
1287 if (control_interface == data_interface) { in acm_probe()
1310 if (control_interface->cur_altsetting->desc.bInterfaceClass == USB_CLASS_CDC_DATA) { in acm_probe()
1313 swap(control_interface, data_interface); in acm_probe()
1320 if (!combined_interfaces && intf != control_interface) in acm_probe()
1324 control_interface->cur_altsetting->desc.bNumEndpoints == 0) in acm_probe()
1327 epctrl = &control_interface->cur_altsetting->endpoint[0].desc; in acm_probe()
1354 acm->control = control_interface; in acm_probe()
1513 &control_interface->dev); in acm_probe()