Lines Matching refs:cdev
161 static int gfs_bind(struct usb_composite_dev *cdev);
162 static int gfs_unbind(struct usb_composite_dev *cdev);
330 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind() argument
342 if (can_support_ecm(cdev->gadget)) { in gfs_bind()
388 gether_set_gadget(net, cdev->gadget); in gfs_bind()
393 if (can_support_ecm(cdev->gadget)) { in gfs_bind()
410 ret = usb_string_ids_tab(cdev, gfs_strings); in gfs_bind()
426 ret = usb_add_config(cdev, &c->c, gfs_do_config); in gfs_bind()
430 usb_composite_overwrite_options(cdev, &coverwrite); in gfs_bind()
441 if (can_support_ecm(cdev->gadget)) in gfs_bind()
452 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind() argument
465 if (can_support_ecm(cdev->gadget)) { in gfs_unbind()
493 if (gadget_is_otg(c->cdev->gadget)) { in gfs_do_config()
546 if (can_support_ecm(c->cdev->gadget)) { in eth_bind_config()