Lines Matching refs:data_interface
1179 struct usb_interface *data_interface; in acm_probe() local
1211 data_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe()
1214 if (!data_interface || !control_interface) in acm_probe()
1250 control_interface = data_interface = intf; in acm_probe()
1255 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
1266 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); 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()
1293 if (data_interface->cur_altsetting->desc.bNumEndpoints != 3) { in acm_probe()
1298 res = usb_find_common_endpoints(data_interface->cur_altsetting, in acm_probe()
1309 if (data_interface->cur_altsetting->desc.bInterfaceClass != USB_CLASS_CDC_DATA) { in acm_probe()
1313 swap(control_interface, data_interface); in acm_probe()
1323 if (data_interface->cur_altsetting->desc.bNumEndpoints < 2 || in acm_probe()
1328 epread = &data_interface->cur_altsetting->endpoint[0].desc; in acm_probe()
1329 epwrite = &data_interface->cur_altsetting->endpoint[1].desc; in acm_probe()
1355 acm->data = data_interface; in acm_probe()
1507 rv = usb_driver_claim_interface(&acm_driver, data_interface, acm); in acm_probe()
1531 usb_set_intfdata(data_interface, NULL); in acm_probe()
1532 usb_driver_release_interface(&acm_driver, data_interface); in acm_probe()