Lines Matching refs:ep_base

240 	USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx);  in numaker_usbd_ep_set_stall()  local
243 ep_base->CFGP |= USBD_CFGP_SSTALL_Msk; in numaker_usbd_ep_set_stall()
251 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_clear_stall_n_data_toggle() local
254 ep_base->CFGP &= ~USBD_CFGP_SSTALL_Msk; in numaker_usbd_ep_clear_stall_n_data_toggle()
258 ep_base->CFG &= ~USBD_CFG_DSQSYNC_Msk; in numaker_usbd_ep_clear_stall_n_data_toggle()
392 USBD_EP_T *ep_base; in numaker_usbd_bus_reset_th() local
395 ep_base = numaker_usbd_ep_base(dev, EP0 + i); in numaker_usbd_bus_reset_th()
398 ep_base->CFGP |= USBD_CFGP_CLRRDY_Msk; in numaker_usbd_bus_reset_th()
401 ep_base->CFGP &= ~USBD_CFGP_SSTALL_Msk; in numaker_usbd_bus_reset_th()
404 ep_base->CFG &= ~USBD_CFG_DSQSYNC_Msk; in numaker_usbd_bus_reset_th()
408 ep_base->CFG = 0; in numaker_usbd_bus_reset_th()
444 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_copy_to_user() local
451 dmabuf_addr = numaker_usbd_buf_base(dev) + ep_base->BUFSEG; in numaker_usbd_ep_copy_to_user()
457 data_rmn = ep_base->MXPLD; in numaker_usbd_ep_copy_to_user()
478 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_copy_from_user() local
486 dmabuf_addr = numaker_usbd_buf_base(dev) + ep_base->BUFSEG; in numaker_usbd_ep_copy_from_user()
497 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_config_dmabuf() local
499 ep_base->BUFSEG = dmabuf_base; in numaker_usbd_ep_config_dmabuf()
509 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_abort() local
512 ep_base->CFGP |= USBD_CFGP_CLRRDY_Msk; in numaker_usbd_ep_abort()
524 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_config_major() local
552 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_config_major()
558 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_enable() local
572 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_enable()
580 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_disable() local
586 ep_base->CFG = ep_cur->ep_hw_cfg; in numaker_usbd_ep_disable()
593 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in udc_numaker_ep_trigger() local
599 ep_base->MXPLD = len; in udc_numaker_ep_trigger()
1322 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_hw_idx); in numaker_udbd_isr() local
1334 ep_dir = ((ep_base->CFG & USBD_CFG_STATE_Msk) == USBD_CFG_EPMODE_IN) in numaker_udbd_isr()
1337 ep_idx = (ep_base->CFG & USBD_CFG_EPNUM_Msk) >> USBD_CFG_EPNUM_Pos; in numaker_udbd_isr()