Lines Matching refs:ep0
1016 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; in s3c_hsotg_process_req_status() local
1023 if (!ep0->dir_in) { in s3c_hsotg_process_req_status()
1054 ret = s3c_hsotg_send_reply(hsotg, ep0, &reply, 2); in s3c_hsotg_process_req_status()
1087 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; in s3c_hsotg_process_req_feature() local
1109 ret = s3c_hsotg_send_reply(hsotg, ep0, NULL, 0); in s3c_hsotg_process_req_feature()
1161 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; in s3c_hsotg_process_control() local
1165 ep0->sent_zlp = 0; in s3c_hsotg_process_control()
1176 ep0->dir_in = (ctrl->bRequestType & USB_DIR_IN) ? 1 : 0; in s3c_hsotg_process_control()
1177 dev_dbg(hsotg->dev, "ctrl: dir_in=%d\n", ep0->dir_in); in s3c_hsotg_process_control()
1184 ep0->dir_in = 1; in s3c_hsotg_process_control()
1196 ret = s3c_hsotg_send_reply(hsotg, ep0, NULL, 0); in s3c_hsotg_process_control()
1227 dev_dbg(hsotg->dev, "ep0 stall (dir=%d)\n", ep0->dir_in); in s3c_hsotg_process_control()
1228 reg = (ep0->dir_in) ? DIEPCTL0 : DOEPCTL0; in s3c_hsotg_process_control()
3576 hsotg->gadget.ep0 = &hsotg->eps[0].ep; in s3c_hsotg_probe()