Lines Matching full:ep

36 		    const uint8_t ep,  in usbd_ep_disable()  argument
41 ret = udc_ep_disable(dev, ep); in usbd_ep_disable()
46 usbd_ep_bm_clear(ep_bm, ep); in usbd_ep_disable()
48 ret = udc_ep_dequeue(dev, ep); in usbd_ep_disable()
108 if (USB_EP_GET_IDX(bi->ep)) { in usbd_ep_ctrl_enqueue()
113 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_ctrl_enqueue()
126 const uint8_t ep, const size_t size) in usbd_ep_buf_alloc() argument
130 return udc_ep_buf_alloc(uds_ctx->dev, ep, size); in usbd_ep_buf_alloc()
139 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_enqueue()
155 int usbd_ep_dequeue(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_dequeue() argument
157 return udc_ep_dequeue(uds_ctx->dev, ep); in usbd_ep_dequeue()
160 int usbd_ep_set_halt(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_set_halt() argument
165 ret = udc_ep_set_halt(uds_ctx->dev, ep); in usbd_ep_set_halt()
167 LOG_WRN("Set halt 0x%02x failed", ep); in usbd_ep_set_halt()
171 usbd_ep_bm_set(&ch9_data->ep_halt, ep); in usbd_ep_set_halt()
176 int usbd_ep_clear_halt(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_clear_halt() argument
181 ret = udc_ep_clear_halt(uds_ctx->dev, ep); in usbd_ep_clear_halt()
183 LOG_WRN("Clear halt 0x%02x failed", ep); in usbd_ep_clear_halt()
187 usbd_ep_bm_clear(&ch9_data->ep_halt, ep); in usbd_ep_clear_halt()
192 bool usbd_ep_is_halted(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_is_halted() argument
196 return usbd_ep_bm_is_set(&ch9_data->ep_halt, ep); in usbd_ep_is_halted()