Lines Matching refs:EP

174 #define HSUSBD_SET_MAX_PAYLOAD(ep, size)  (HSUSBD->EP[(ep)].EPMPS = (size)) /*!<Set EPx Maximum Pac…
175 #define HSUSBD_ENABLE_EP_INT(ep, intr) (HSUSBD->EP[(ep)].EPINTEN = (intr)) /*!<Enable EPx Interr…
176 #define HSUSBD_GET_EP_INT_FLAG(ep) (HSUSBD->EP[(ep)].EPINTSTS) /*!<Get EPx interrupt flag \…
177 #define HSUSBD_CLR_EP_INT_FLAG(ep, flag) (HSUSBD->EP[(ep)].EPINTSTS = (flag)) /*!<Clear EPx interr…
234 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
235 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
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()
279 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD->EP[u32Ep].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetEpStall()
303 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_SetStall()
305 HSUSBD->EP[i].EPRSPCTL = (HSUSBD->EP[i].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetStall()
319 HSUSBD->EP[u32Ep].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearEpStall()
336 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_ClearStall()
338 HSUSBD->EP[i].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearStall()
352 return (HSUSBD->EP[u32Ep].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetEpStall()
371 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_GetStall()
373 val = (HSUSBD->EP[i].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetStall()