Lines Matching refs:gadget
334 data[0] = cpu_to_le32(ecm_bitrate(cdev->gadget));
337 DBG(cdev, "notify speed %d\n", ecm_bitrate(cdev->gadget));
439 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
466 ecm->notify_desc = ep_choose(cdev->gadget,
485 ecm->port.in = ep_choose(cdev->gadget,
487 ecm->port.out = ep_choose(cdev->gadget,
500 ecm->port.is_zlp_ok = !(gadget_is_musbhdrc(cdev->gadget)
626 ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_in_desc);
632 ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_out_desc);
642 ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_notify_desc);
676 if (gadget_is_dualspeed(c->cdev->gadget)) {
706 gadget_is_dualspeed(c->cdev->gadget) ? "dual" : "full",
740 if (gadget_is_dualspeed(c->cdev->gadget))
756 * Context: single threaded during gadget setup
769 if (!can_support_ecm(c->cdev->gadget) || !ethaddr)