Lines Matching refs:ep_ctrl_value
454 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()
496 ep_ctrl_value |= ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
498 ep_ctrl_value &= ~ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
503 ep_ctrl_value |= ENDPOINT_OUTDATA_SEQ_BIT; in it82xx2_usb_ep_ctrl()
505 ep_ctrl_value &= ~ENDPOINT_OUTDATA_SEQ_BIT; in it82xx2_usb_ep_ctrl()
512 ep_ctrl_value ^= ENDPOINT_OUTDATA_SEQ_BIT; in it82xx2_usb_ep_ctrl()
519 ep_regs[ep_idx].ep_ctrl.value = ep_ctrl_value; in it82xx2_usb_ep_ctrl()