Lines Matching refs:ep_hw_idx

85 	uint8_t ep_hw_idx;  /* BSP USBD driver EP index EP0, EP1, EP2, etc */  member
219 static inline USBD_EP_T *numaker_usbd_ep_base(const struct device *dev, uint32_t ep_hw_idx) in numaker_usbd_ep_base() argument
224 return base->EP + ep_hw_idx; in numaker_usbd_ep_base()
240 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); 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()
444 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); 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()
497 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); 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()
524 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); 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()
580 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); 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()
675 ep_cur->ep_hw_idx = EP0 + (ep_cur - priv->ep_pool); in numaker_usbd_ep_mgmt_init()
1321 uint32_t ep_hw_idx = u32_count_trailing_zeros(epintsts); in numaker_udbd_isr() local
1322 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_hw_idx); in numaker_udbd_isr()
1353 numaker_usbd_ep_base(dev, ep_ctrlout->ep_hw_idx); in numaker_udbd_isr()
1369 epintsts &= ~BIT(ep_hw_idx); in numaker_udbd_isr()