Home
last modified time | relevance | path

Searched refs:ep_ctrl_value (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c454 uint8_t ep_ctrl_value; in it82xx2_usb_ep_ctrl() local
461 ep_ctrl_value = ep_regs[ep_idx].ep_ctrl.value & ~ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
466 ep_ctrl_value |= ENDPOINT_DIRECTION_BIT; in it82xx2_usb_ep_ctrl()
468 ep_ctrl_value &= ~ENDPOINT_DIRECTION_BIT; in it82xx2_usb_ep_ctrl()
473 ep_ctrl_value |= ENDPOINT_SEND_STALL_BIT; in it82xx2_usb_ep_ctrl()
475 ep_ctrl_value &= ~ENDPOINT_SEND_STALL_BIT; in it82xx2_usb_ep_ctrl()
482 ep_ctrl_value |= ENDPOINT_ISO_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
484 ep_ctrl_value &= ~ENDPOINT_ISO_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
489 ep_ctrl_value |= ENDPOINT_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
491 ep_ctrl_value &= ~ENDPOINT_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c292 uint8_t ep_ctrl_value; in it82xx2_usb_ep_ctrl() local
298 ep_ctrl_value = ep_regs[ep_idx].ep_ctrl.value & ~ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
303 ep_ctrl_value |= ENDPOINT_SEND_STALL_BIT; in it82xx2_usb_ep_ctrl()
305 ep_ctrl_value &= ~ENDPOINT_SEND_STALL_BIT; in it82xx2_usb_ep_ctrl()
310 ep_ctrl_value |= ENDPOINT_DIRECTION_BIT; in it82xx2_usb_ep_ctrl()
312 ep_ctrl_value &= ~ENDPOINT_DIRECTION_BIT; in it82xx2_usb_ep_ctrl()
317 ep_ctrl_value |= ENDPOINT_ISO_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
319 ep_ctrl_value &= ~ENDPOINT_ISO_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
324 ep_ctrl_value |= ENDPOINT_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
326 ep_ctrl_value &= ~ENDPOINT_ENABLE_BIT; in it82xx2_usb_ep_ctrl()
[all …]