Lines Matching defs:cdev
1803 static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev)
1812 first_id = usb_string_ids_n(cdev, ffs->strings_count);
1816 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL);
1832 ffs->gadget = cdev->gadget;
2891 /* String' IDs are allocated when fsf_data is bound to cdev */
3026 func->gadget = c->cdev->gadget;
3036 ret = functionfs_bind(func->ffs, c->cdev);
3070 c->cdev->use_os_string ? ffs->interfaces_count : 0);
3072 c->cdev->use_os_string ? ffs->interfaces_count : 0);
3074 c->cdev->use_os_string ? ffs->interfaces_count : 0);
3176 if (c->cdev->use_os_string) {
3197 c->cdev->use_os_string ? ffs->interfaces_count : 0;