Lines Matching refs:u32Ep
225 __STATIC_INLINE void HSUSBD_SetEpBufAddr(uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) in HSUSBD_SetEpBufAddr() argument
227 if (u32Ep == CEP) in HSUSBD_SetEpBufAddr()
234 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
235 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
247 __STATIC_INLINE void HSUSBD_ConfigEp(uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_… in HSUSBD_ConfigEp() argument
251 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_AUTO); in HSUSBD_ConfigEp()
255 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_MANUAL); in HSUSBD_ConfigEp()
259 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_FLY); in HSUSBD_ConfigEp()
262 HSUSBD->EP[u32Ep].EPCFG = (u32EpType|u32EpDir|HSUSBD_EP_CFG_VALID|(u32EpNum << 4)); in HSUSBD_ConfigEp()
271 __STATIC_INLINE void HSUSBD_SetEpStall(uint32_t u32Ep) in HSUSBD_SetEpStall() argument
273 if (u32Ep == CEP) in HSUSBD_SetEpStall()
279 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD->EP[u32Ep].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetEpStall()
317 __STATIC_INLINE void HSUSBD_ClearEpStall(uint32_t u32Ep) in HSUSBD_ClearEpStall() argument
319 HSUSBD->EP[u32Ep].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearEpStall()
350 __STATIC_INLINE uint32_t HSUSBD_GetEpStall(uint32_t u32Ep) in HSUSBD_GetEpStall() argument
352 return (HSUSBD->EP[u32Ep].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetEpStall()