Home
last modified time | relevance | path

Searched refs:hs_ep (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dgadget.c134 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_incr_frame_num() argument
136 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_incr_frame_num()
143 hs_ep->target_frame += hs_ep->interval; in dwc2_gadget_incr_frame_num()
144 if (hs_ep->target_frame > limit) { in dwc2_gadget_incr_frame_num()
145 hs_ep->frame_overrun = true; in dwc2_gadget_incr_frame_num()
146 hs_ep->target_frame &= limit; in dwc2_gadget_incr_frame_num()
147 } else if (current_frame <= hs_ep->target_frame) { in dwc2_gadget_incr_frame_num()
148 hs_ep->frame_overrun = false; in dwc2_gadget_incr_frame_num()
162 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_dec_frame_num_by_one() argument
164 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_dec_frame_num_by_one()
[all …]