Searched refs:hwep (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/chipidea/ |
| H A D | udc.c | 354 static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, in add_td_to_list() argument 365 node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); in add_td_to_list() 374 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list() 375 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list() 378 || hwreq->req.length % hwep->ep.maxpacket) in add_td_to_list() 423 static int prepare_td_for_non_sg(struct ci_hw_ep *hwep, in prepare_td_for_non_sg() argument 431 ret = add_td_to_list(hwep, hwreq, 0, NULL); in prepare_td_for_non_sg() 447 ret = add_td_to_list(hwep, hwreq, count, NULL); in prepare_td_for_non_sg() 454 if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX in prepare_td_for_non_sg() 455 && (hwreq->req.length % hwep->ep.maxpacket == 0)) { in prepare_td_for_non_sg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | lpc32xx_udc.c | 783 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_enable_hwepint() argument 785 udc->enabled_hwepints |= (1 << hwep); in uda_enable_hwepint() 790 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_disable_hwepint() argument 792 udc->enabled_hwepints &= ~(1 << hwep); in uda_disable_hwepint() 797 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_clear_hwepint() argument 799 writel((1 << hwep), USBD_EPINTCLR(udc->udp_baseaddr)); in uda_clear_hwepint() 803 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_enable() argument 805 writel((1 << hwep), USBD_EPDMAEN(udc->udp_baseaddr)); in udc_ep_dma_enable() 809 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_disable() argument 811 writel((1 << hwep), USBD_EPDMADIS(udc->udp_baseaddr)); in udc_ep_dma_disable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/musb/ |
| H A D | musb_trace.h | 302 __field(u8, hwep) 312 __entry->hwep = ch->hw_ep->epnum; 320 __get_str(name), __entry->ch, __entry->hwep,
|