Lines Matching refs:target_frame

118 	hs_ep->target_frame += hs_ep->interval;  in dwc2_gadget_incr_frame_num()
119 if (hs_ep->target_frame > DSTS_SOFFN_LIMIT) { in dwc2_gadget_incr_frame_num()
121 hs_ep->target_frame &= DSTS_SOFFN_LIMIT; in dwc2_gadget_incr_frame_num()
139 if (hs_ep->target_frame) in dwc2_gadget_dec_frame_num_by_one()
140 hs_ep->target_frame -= 1; in dwc2_gadget_dec_frame_num_by_one()
142 hs_ep->target_frame = DSTS_SOFFN_LIMIT; in dwc2_gadget_dec_frame_num_by_one()
924 ((hs_ep->target_frame << in dwc2_gadget_fill_isoc_desc()
964 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_gadget_start_isoc_ddma()
1167 hs_ep->target_frame = dwc2_hsotg_read_frameno(hsotg); in dwc2_hsotg_start_req()
1170 if (hs_ep->target_frame & 0x1) in dwc2_hsotg_start_req()
1317 u32 target_frame = hs_ep->target_frame; in dwc2_gadget_target_frame_elapsed() local
1321 if (!frame_overrun && current_frame >= target_frame) in dwc2_gadget_target_frame_elapsed()
1324 if (frame_overrun && current_frame >= target_frame && in dwc2_gadget_target_frame_elapsed()
1325 ((current_frame - target_frame) < DSTS_SOFFN_LIMIT / 2)) in dwc2_gadget_target_frame_elapsed()
1439 if (hs_ep->target_frame != TARGET_FRAME_INITIAL) { in dwc2_hsotg_ep_queue()
1473 if (hs_ep->target_frame != TARGET_FRAME_INITIAL) in dwc2_hsotg_ep_queue()
2206 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_gadget_handle_isoc_bna()
2860 if (ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_out_token_ep_disabled()
2862 ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_out_token_ep_disabled()
2869 ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_out_token_ep_disabled()
2872 ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_out_token_ep_disabled()
2876 if (ep->target_frame & 0x1) in dwc2_gadget_handle_out_token_ep_disabled()
2912 if (hs_ep->target_frame == TARGET_FRAME_INITIAL) { in dwc2_gadget_handle_nak()
2915 hs_ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_nak()
2925 hs_ep->target_frame &= ~hs_ep->interval + 1; in dwc2_gadget_handle_nak()
2938 hs_ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_nak()
2942 if (hs_ep->target_frame & 0x1) in dwc2_gadget_handle_nak()
4020 hs_ep->target_frame = TARGET_FRAME_INITIAL; in dwc2_hsotg_ep_enable()