Lines Matching refs:ep_hw_cfg
95 uint32_t ep_hw_cfg; /* BSP USBD driver EP configuration */ member
632 ep_cur->ep_hw_cfg = 0; in numaker_usbd_ep_config_major()
636 ep_cur->ep_hw_cfg |= USBD_CFG_CSTALL; in numaker_usbd_ep_config_major()
640 ep_cur->ep_hw_cfg &= ~USBD_CFG_DSQSYNC_Msk; in numaker_usbd_ep_config_major()
643 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_DISABLE; in numaker_usbd_ep_config_major()
647 ep_cur->ep_hw_cfg |= USBD_CFG_TYPE_ISO; in numaker_usbd_ep_config_major()
651 ep_cur->ep_hw_cfg |= in numaker_usbd_ep_config_major()
654 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_config_major()
668 ep_cur->ep_hw_cfg &= ~USBD_CFG_STATE_Msk; in numaker_usbd_ep_enable()
670 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_IN; in numaker_usbd_ep_enable()
672 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_OUT; in numaker_usbd_ep_enable()
675 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_enable()
688 ep_cur->ep_hw_cfg = (ep_cur->ep_hw_cfg & ~USBD_CFG_STATE_Msk) | USBD_CFG_EPMODE_DISABLE; in numaker_usbd_ep_disable()
689 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_disable()