Lines Matching refs:cdev
324 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete() local
352 ERROR(cdev, "%s queue req: %d\n", ep->name, err); in f_audio_out_ep_complete()
386 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_intf_req() local
387 struct usb_request *req = cdev->req; in audio_set_intf_req()
396 DBG(cdev, "bRequest 0x%x, w_value 0x%04x, len %d, entity %d\n", in audio_set_intf_req()
422 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_intf_req() local
423 struct usb_request *req = cdev->req; in audio_get_intf_req()
433 DBG(cdev, "bRequest 0x%x, w_value 0x%04x, len %d, entity %d\n", in audio_get_intf_req()
459 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_endpoint_req() local
465 DBG(cdev, "bRequest 0x%x, w_value 0x%04x, len %d, endpoint %d\n", in audio_set_endpoint_req()
495 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_endpoint_req() local
501 DBG(cdev, "bRequest 0x%x, w_value 0x%04x, len %d, endpoint %d\n", in audio_get_endpoint_req()
523 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_setup() local
524 struct usb_request *req = cdev->req; in f_audio_setup()
551 ERROR(cdev, "invalid control req%02x.%02x v%04x i%04x l%d\n", in f_audio_setup()
558 DBG(cdev, "audio req%02x.%02x v%04x i%04x l%d\n", in f_audio_setup()
563 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); in f_audio_setup()
565 ERROR(cdev, "audio response on err %d\n", value); in f_audio_setup()
575 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_set_alt() local
582 DBG(cdev, "intf %d, alt %d\n", intf, alt); in f_audio_set_alt()
591 err = config_ep_by_speed(cdev->gadget, f, out_ep); in f_audio_set_alt()
617 ERROR(cdev, in f_audio_set_alt()
670 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind() local
678 audio->card.gadget = c->cdev->gadget; in f_audio_bind()
686 us = usb_gstrings_attach(cdev, uac1_strings, ARRAY_SIZE(strings_uac1)); in f_audio_bind()
715 ep = usb_ep_autoconfig(cdev->gadget, &as_out_ep_desc); in f_audio_bind()