Lines Matching refs:control_interface
1149 struct usb_interface *control_interface; in acm_probe() local
1183 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1185 if (!data_interface || !control_interface) in acm_probe()
1221 control_interface = data_interface = intf; in acm_probe()
1227 control_interface = intf; in acm_probe()
1236 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1239 if (control_interface) in acm_probe()
1240 class = control_interface->cur_altsetting->desc.bInterfaceClass; in acm_probe()
1245 control_interface = data_interface = intf; in acm_probe()
1250 if (!control_interface || !data_interface) { in acm_probe()
1258 if (control_interface == data_interface) { in acm_probe()
1281 if (control_interface->cur_altsetting->desc.bInterfaceClass == USB_CLASS_CDC_DATA) { in acm_probe()
1284 swap(control_interface, data_interface); in acm_probe()
1291 if (!combined_interfaces && intf != control_interface) in acm_probe()
1295 control_interface->cur_altsetting->desc.bNumEndpoints == 0) in acm_probe()
1298 epctrl = &control_interface->cur_altsetting->endpoint[0].desc; in acm_probe()
1325 acm->control = control_interface; in acm_probe()
1484 &control_interface->dev); in acm_probe()