Searched refs:hs_ep (Results 1 – 1 of 1) sorted by relevance
116 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_incr_frame_num() argument118 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()120 hs_ep->frame_overrun = true; in dwc2_gadget_incr_frame_num()121 hs_ep->target_frame &= DSTS_SOFFN_LIMIT; in dwc2_gadget_incr_frame_num()123 hs_ep->frame_overrun = false; in dwc2_gadget_incr_frame_num()137 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_dec_frame_num_by_one() argument139 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()[all …]