Lines Matching refs:EP

149 #define HSUSBD_SET_MAX_PAYLOAD(ep, size)  (HSUSBD->EP[(ep)].EPMPS = (size)) /*!<Set EPx Maximum Pac…
150 #define HSUSBD_ENABLE_EP_INT(ep, intr) (HSUSBD->EP[(ep)].EPINTEN = (intr)) /*!<Enable EPx Interr…
151 #define HSUSBD_GET_EP_INT_FLAG(ep) (HSUSBD->EP[(ep)].EPINTSTS) /*!<Get EPx interrupt flag \…
152 #define HSUSBD_CLR_EP_INT_FLAG(ep, flag) (HSUSBD->EP[(ep)].EPINTSTS = (flag)) /*!<Clear EPx interr…
205 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
206 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
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()
250 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD->EP[u32Ep].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetEpStall()
274 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_SetStall()
276 HSUSBD->EP[i].EPRSPCTL = (HSUSBD->EP[i].EPRSPCTL & 0xf7ul) | HSUSBD_EP_RSPCTL_HALT; in HSUSBD_SetStall()
290 HSUSBD->EP[u32Ep].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearEpStall()
307 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_ClearStall()
309 HSUSBD->EP[i].EPRSPCTL = HSUSBD_EP_RSPCTL_TOGGLE; in HSUSBD_ClearStall()
323 return (HSUSBD->EP[u32Ep].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetEpStall()
342 if (((HSUSBD->EP[i].EPCFG & 0xf0ul) >> 4) == u32EpNum) in HSUSBD_GetStall()
344 val = (HSUSBD->EP[i].EPRSPCTL & HSUSBD_EP_RSPCTL_HALT); in HSUSBD_GetStall()