Home
last modified time | relevance | path

Searched refs:ep_hw_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/udc/
Dudc_numaker.c85 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()
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_numaker.c94 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()
[all …]