Lines Matching defs:cdev
138 if (gadget_is_otg(c->cdev->gadget)) {
185 static __ref int rndis_config_register(struct usb_composite_dev *cdev)
195 return usb_add_config(cdev, &config, rndis_do_config);
200 static __ref int rndis_config_register(struct usb_composite_dev *cdev)
220 if (gadget_is_otg(c->cdev->gadget)) {
268 static __ref int cdc_config_register(struct usb_composite_dev *cdev)
278 return usb_add_config(cdev, &config, cdc_do_config);
283 static __ref int cdc_config_register(struct usb_composite_dev *cdev)
294 static int __ref multi_bind(struct usb_composite_dev *cdev)
296 struct usb_gadget *gadget = cdev->gadget;
307 if (!can_support_ecm(cdev->gadget)) {
350 gether_set_gadget(ecm_opts->net, cdev->gadget);
380 status = fsg_common_set_cdev(fsg_opts->common, cdev, config.can_stall);
393 status = usb_string_ids_tab(cdev, strings_dev);
410 status = rndis_config_register(cdev);
414 status = cdc_config_register(cdev);
417 usb_composite_overwrite_options(cdev, &coverwrite);
447 static int multi_unbind(struct usb_composite_dev *cdev)