Lines Matching refs:ep_hw_cfg
86 uint32_t ep_hw_cfg; /* BSP USBD driver EP configuration */ member
530 ep_cur->ep_hw_cfg = 0; in numaker_usbd_ep_config_major()
534 ep_cur->ep_hw_cfg |= USBD_CFG_CSTALL; in numaker_usbd_ep_config_major()
538 ep_cur->ep_hw_cfg &= ~USBD_CFG_DSQSYNC_Msk; in numaker_usbd_ep_config_major()
541 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_DISABLE; in numaker_usbd_ep_config_major()
545 ep_cur->ep_hw_cfg |= USBD_CFG_TYPE_ISO; in numaker_usbd_ep_config_major()
549 ep_cur->ep_hw_cfg |= in numaker_usbd_ep_config_major()
552 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_config_major()
565 ep_cur->ep_hw_cfg &= ~USBD_CFG_STATE_Msk; in numaker_usbd_ep_enable()
567 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_IN; in numaker_usbd_ep_enable()
569 ep_cur->ep_hw_cfg |= USBD_CFG_EPMODE_OUT; in numaker_usbd_ep_enable()
572 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_enable()
585 ep_cur->ep_hw_cfg = (ep_cur->ep_hw_cfg & ~USBD_CFG_STATE_Msk) | USBD_CFG_EPMODE_DISABLE; in numaker_usbd_ep_disable()
586 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_disable()