Lines Matching refs:ep_hw_idx

94 	uint8_t ep_hw_idx;  /* BSP USBD driver EP index EP0, EP1, EP2, etc */  member
241 static inline USBD_EP_T *numaker_usbd_ep_base(const struct device *dev, uint32_t ep_hw_idx) in numaker_usbd_ep_base() argument
246 return base->EP + ep_hw_idx; in numaker_usbd_ep_base()
289 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_set_stall()
299 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_clear_stall_n_data_toggle()
311 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_is_stalled()
543 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_fifo_copy_from_user()
573 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_fifo_update()
600 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_config_dmabuf()
612 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_abort()
626 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_config_major()
660 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_enable()
683 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_disable()
696 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_cur->ep_hw_idx); in numaker_usbd_ep_trigger()
772 ep_cur->ep_hw_idx = EP0 + (ep_cur - ep_mgmt->ep_pool); in numaker_usbd_ep_mgmt_init()
1188 uint32_t ep_hw_idx = u32_count_trailing_zeros(epintsts); in numaker_udbd_isr() local
1189 USBD_EP_T *ep_base = numaker_usbd_ep_base(dev, ep_hw_idx); in numaker_udbd_isr()
1220 numaker_usbd_ep_base(dev, ep_ctrlout->ep_hw_idx); in numaker_udbd_isr()
1233 epintsts &= ~BIT(ep_hw_idx); in numaker_udbd_isr()