Lines Matching refs:ep0
1209 dev_dbg(hsotg->dev, "ep0 state:%d\n", hsotg->ep0_state);
1673 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1681 if (!ep0->dir_in) {
1715 ret = dwc2_hsotg_send_reply(hsotg, ep0, &reply, 2);
1777 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1816 ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0);
1839 ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0);
1888 * dwc2_hsotg_stall_ep0 - stall ep0
1891 * Set stall for ep0 as response for setup request.
1895 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1899 dev_dbg(hsotg->dev, "ep0 stall (dir=%d)\n", ep0->dir_in);
1900 reg = (ep0->dir_in) ? DIEPCTL0 : DOEPCTL0;
1935 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1945 ep0->dir_in = 1;
1948 ep0->dir_in = 1;
1951 ep0->dir_in = 0;
1967 ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0);
2085 /* Not specific buffer needed for ep0 ZLP */
2660 * for endpoints, excepting ep0
2758 /* Zlp for all endpoints in non DDMA, for ep0 only in DATA IN stage */
3255 /* Initialize ep0 for both in and out directions */
3393 /* Kill any ep0 requests as controller will be reinitialized */
3410 * we must now enable ep0 ready for host detection and then
4259 dev_err(hsotg->dev, "%s: called for ep0\n", __func__);
4403 "%s: can't clear halt on ep0\n", __func__);
4882 /* Add ep0 */
4890 /* Same dwc2_hsotg_ep is used in both directions for ep0 */
5043 /* hsotg->num_of_eps holds number of EPs other than ep0 */
5053 hsotg->gadget.ep0 = &hsotg->eps_out[0]->ep;