Searched refs:ep_dir (Results 1 – 3 of 3) sorted by relevance
322 uint8_t ep_dir = USB_EP_GET_DIR(ep) ? 1 : 0; in usb_dc_get_ep_state() local324 return (ep_idx < EP_MAX) ? &dev_state.ep_state[ep_dir][ep_idx] : NULL; in usb_dc_get_ep_state()1363 uint8_t ep_dir = USB_EP_GET_DIR(ep); in usb_dc_ep_clear_stall() local1381 if (ep_dir == USB_EP_DIR_OUT) { in usb_dc_ep_clear_stall()1397 uint8_t ep_dir = USB_EP_GET_DIR(ep); in usb_dc_ep_enable() local1415 } else if (ep_dir == USB_EP_DIR_OUT) { in usb_dc_ep_enable()1439 uint8_t ep_dir = USB_EP_GET_DIR(ep_cfg->ep_addr); in usb_dc_ep_configure() local1459 if (ep_dir == USB_EP_DIR_OUT) { in usb_dc_ep_configure()1534 uint8_t ep_dir = USB_EP_GET_DIR(ep); in usb_dc_ep_set_stall() local1554 if (ep_dir == USB_EP_DIR_OUT) { in usb_dc_ep_set_stall()[all …]
437 uint32_t ep_dir = USB_EP_DIR_IS_IN(ep) ? USBIP_DIR_IN : USBIP_DIR_OUT; in usbip_send_common() local443 rsp.common.direction = htonl(ep_dir); in usbip_send_common()
1190 uint8_t ep_dir; in numaker_udbd_isr() local1201 ep_dir = ((ep_base->CFG & USBD_CFG_STATE_Msk) == USBD_CFG_EPMODE_IN) in numaker_udbd_isr()1205 ep = USB_EP_GET_ADDR(ep_idx, ep_dir); in numaker_udbd_isr()