Lines Matching defs:cdev
101 static int g_dnl_unbind(struct usb_composite_dev *cdev)
103 struct usb_gadget *gadget = cdev->gadget;
126 const char *s = c->cdev->driver->name;
130 __func__, c, c->cdev);
138 static int g_dnl_config_register(struct usb_composite_dev *cdev)
155 return usb_add_config(cdev, config);
203 static int g_dnl_get_bcd_device_number(struct usb_composite_dev *cdev)
205 struct usb_gadget *gadget = cdev->gadget;
228 static int g_dnl_bind(struct usb_composite_dev *cdev)
230 struct usb_gadget *gadget = cdev->gadget;
234 debug("%s: gadget: 0x%p cdev: 0x%p\n", __func__, gadget, cdev);
236 id = usb_string_id(cdev);
243 id = usb_string_id(cdev);
250 g_dnl_bind_fixup(&device_desc, cdev->driver->name);
253 id = usb_string_id(cdev);
261 ret = g_dnl_config_register(cdev);
265 gcnum = g_dnl_get_bcd_device_number(cdev);
281 g_dnl_unbind(cdev);