Searched refs:hwep (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/usb/chipidea/ |
| D | udc.c | 340 static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, in add_td_to_list() argument 351 node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); in add_td_to_list() 360 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list() 361 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list() 364 || hwreq->req.length % hwep->ep.maxpacket) in add_td_to_list() 410 static int _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) in _hardware_enqueue() argument 412 struct ci_hdrc *ci = hwep->ci; in _hardware_enqueue() 425 &hwreq->req, hwep->dir); in _hardware_enqueue() 437 ret = add_td_to_list(hwep, hwreq, 0); in _hardware_enqueue() 445 ret = add_td_to_list(hwep, hwreq, count); in _hardware_enqueue() [all …]
|
| /Linux-v5.4/drivers/usb/gadget/udc/ |
| D | lpc32xx_udc.c | 794 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_enable_hwepint() argument 796 udc->enabled_hwepints |= (1 << hwep); in uda_enable_hwepint() 801 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_disable_hwepint() argument 803 udc->enabled_hwepints &= ~(1 << hwep); in uda_disable_hwepint() 808 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_clear_hwepint() argument 810 writel((1 << hwep), USBD_EPINTCLR(udc->udp_baseaddr)); in uda_clear_hwepint() 814 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_enable() argument 816 writel((1 << hwep), USBD_EPDMAEN(udc->udp_baseaddr)); in udc_ep_dma_enable() 820 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_disable() argument 822 writel((1 << hwep), USBD_EPDMADIS(udc->udp_baseaddr)); in udc_ep_dma_disable() [all …]
|
| /Linux-v5.4/drivers/usb/musb/ |
| D | musb_trace.h | 293 __field(u8, hwep) 303 __entry->hwep = ch->hw_ep->epnum; 311 __get_str(name), __entry->ch, __entry->hwep,
|