Lines Matching full:ep
18 * @param[in] ep Endpoint address
20 static inline void usbd_ep_bm_set(uint32_t *const ep_bm, const uint8_t ep) in usbd_ep_bm_set() argument
22 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_set()
23 *ep_bm |= BIT(USB_EP_GET_IDX(ep) + 16U); in usbd_ep_bm_set()
25 *ep_bm |= BIT(USB_EP_GET_IDX(ep)); in usbd_ep_bm_set()
35 * @param[in] ep Endpoint address
37 static inline void usbd_ep_bm_clear(uint32_t *const ep_bm, const uint8_t ep) in usbd_ep_bm_clear() argument
39 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_clear()
40 *ep_bm &= ~BIT(USB_EP_GET_IDX(ep) + 16U); in usbd_ep_bm_clear()
42 *ep_bm &= ~BIT(USB_EP_GET_IDX(ep)); in usbd_ep_bm_clear()
52 * @param[in] ep Endpoint address
56 static inline bool usbd_ep_bm_is_set(const uint32_t *const ep_bm, const uint8_t ep) in usbd_ep_bm_is_set() argument
60 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_is_set()
61 bit = USB_EP_GET_IDX(ep) + 16U; in usbd_ep_bm_is_set()
63 bit = USB_EP_GET_IDX(ep); in usbd_ep_bm_is_set()
90 * @param[in] ep Endpoint address
96 const uint8_t ep,