Lines Matching refs:control_interface
1154 struct usb_interface *control_interface; in acm_probe() local
1188 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1190 if (!data_interface || !control_interface) in acm_probe()
1226 control_interface = data_interface = intf; in acm_probe()
1232 control_interface = intf; in acm_probe()
1241 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1244 if (control_interface) in acm_probe()
1245 class = control_interface->cur_altsetting->desc.bInterfaceClass; in acm_probe()
1250 control_interface = data_interface = intf; in acm_probe()
1255 if (!control_interface || !data_interface) { in acm_probe()
1263 if (control_interface == data_interface) { in acm_probe()
1286 if (control_interface->cur_altsetting->desc.bInterfaceClass == USB_CLASS_CDC_DATA) { in acm_probe()
1289 swap(control_interface, data_interface); in acm_probe()
1296 if (!combined_interfaces && intf != control_interface) in acm_probe()
1307 control_interface->cur_altsetting->desc.bNumEndpoints == 0) in acm_probe()
1310 epctrl = &control_interface->cur_altsetting->endpoint[0].desc; in acm_probe()
1337 acm->control = control_interface; in acm_probe()
1493 &control_interface->dev); in acm_probe()