Lines Matching refs:target_frame
124 hs_ep->target_frame += hs_ep->interval; in dwc2_gadget_incr_frame_num()
125 if (hs_ep->target_frame > limit) { in dwc2_gadget_incr_frame_num()
127 hs_ep->target_frame &= limit; in dwc2_gadget_incr_frame_num()
151 if (hs_ep->target_frame) in dwc2_gadget_dec_frame_num_by_one()
152 hs_ep->target_frame -= 1; in dwc2_gadget_dec_frame_num_by_one()
154 hs_ep->target_frame = limit; in dwc2_gadget_dec_frame_num_by_one()
954 ((hs_ep->target_frame << in dwc2_gadget_fill_isoc_desc()
994 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_gadget_start_isoc_ddma()
1194 if (hs_ep->target_frame & 0x1) in dwc2_hsotg_start_req()
1348 u32 target_frame = hs_ep->target_frame; in dwc2_gadget_target_frame_elapsed() local
1356 if (!frame_overrun && current_frame >= target_frame) in dwc2_gadget_target_frame_elapsed()
1359 if (frame_overrun && current_frame >= target_frame && in dwc2_gadget_target_frame_elapsed()
1360 ((current_frame - target_frame) < limit / 2)) in dwc2_gadget_target_frame_elapsed()
1481 if (hs_ep->target_frame != TARGET_FRAME_INITIAL) { in dwc2_hsotg_ep_queue()
1515 if (hs_ep->target_frame != TARGET_FRAME_INITIAL) in dwc2_hsotg_ep_queue()
2243 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_gadget_handle_isoc_bna()
2453 req->frame_number = hs_ep->target_frame; in dwc2_hsotg_handle_outdone()
2771 hs_req->req.frame_number = hs_ep->target_frame; in dwc2_hsotg_complete_in()
2890 if (ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_out_token_ep_disabled()
2892 ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_out_token_ep_disabled()
2898 if (ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_out_token_ep_disabled()
2901 ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_out_token_ep_disabled()
2904 if (ep->target_frame & 0x1) in dwc2_gadget_handle_out_token_ep_disabled()
2955 if (hs_ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_nak()
2958 hs_ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_nak()
2968 hs_ep->target_frame &= ~hs_ep->interval + 1; in dwc2_gadget_handle_nak()
2981 hs_ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_nak()
2985 if (hs_ep->target_frame & 0x1) in dwc2_gadget_handle_nak()
4099 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_hsotg_ep_enable()