Lines Matching refs:u32Ep
196 __STATIC_INLINE void HSUSBD_SetEpBufAddr(uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) in HSUSBD_SetEpBufAddr() argument
198 if (u32Ep == CEP) in HSUSBD_SetEpBufAddr()
205 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
206 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
218 __STATIC_INLINE void HSUSBD_ConfigEp(uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_… in HSUSBD_ConfigEp() argument
222 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_AUTO); in HSUSBD_ConfigEp()
226 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_MANUAL); in HSUSBD_ConfigEp()
230 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_FLY); in HSUSBD_ConfigEp()
233 HSUSBD->EP[u32Ep].EPCFG = (u32EpType|u32EpDir|HSUSBD_EP_CFG_VALID|(u32EpNum << 4)); in HSUSBD_ConfigEp()
242 __STATIC_INLINE void HSUSBD_SetEpStall(uint32_t u32Ep) in HSUSBD_SetEpStall() argument
244 if (u32Ep == CEP) in HSUSBD_SetEpStall()
250 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD->EP[u32Ep].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetEpStall()
288 __STATIC_INLINE void HSUSBD_ClearEpStall(uint32_t u32Ep) in HSUSBD_ClearEpStall() argument
290 HSUSBD->EP[u32Ep].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearEpStall()
321 __STATIC_INLINE uint32_t HSUSBD_GetEpStall(uint32_t u32Ep) in HSUSBD_GetEpStall() argument
323 return (HSUSBD->EP[u32Ep].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetEpStall()