Home
last modified time | relevance | path

Searched refs:ep_dir (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_smartbond.c322 uint8_t ep_dir = USB_EP_GET_DIR(ep) ? 1 : 0; in usb_dc_get_ep_state() local
324 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() local
1381 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() local
1415 } 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() local
1459 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() local
1554 if (ep_dir == USB_EP_DIR_OUT) { in usb_dc_ep_set_stall()
[all …]
Dusb_dc_native_posix_adapt.c437 uint32_t ep_dir = USB_EP_DIR_IS_IN(ep) ? USBIP_DIR_IN : USBIP_DIR_OUT; in usbip_send_common() local
443 rsp.common.direction = htonl(ep_dir); in usbip_send_common()
Dusb_dc_numaker.c1190 uint8_t ep_dir; in numaker_udbd_isr() local
1201 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()