Searched refs:hwep (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/drivers/usb/chipidea/ |
| D | udc.c | 52 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, 357 static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, in add_td_to_list() argument 368 node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); in add_td_to_list() 377 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list() 378 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list() 381 || hwreq->req.length % hwep->ep.maxpacket) in add_td_to_list() 426 static int prepare_td_for_non_sg(struct ci_hw_ep *hwep, in prepare_td_for_non_sg() argument 434 ret = add_td_to_list(hwep, hwreq, 0, NULL); in prepare_td_for_non_sg() 450 ret = add_td_to_list(hwep, hwreq, count, NULL); in prepare_td_for_non_sg() 457 if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX in prepare_td_for_non_sg() [all …]
|
| D | trace.h | 41 TP_PROTO(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct td_node *td), 42 TP_ARGS(hwep, hwreq, td), 44 __string(name, hwep->name) 54 __assign_str(name, hwep->name); 61 __entry->type = usb_endpoint_type(hwep->ep.desc); 73 TP_PROTO(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct td_node *td), 74 TP_ARGS(hwep, hwreq, td) 78 TP_PROTO(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct td_node *td), 79 TP_ARGS(hwep, hwreq, td)
|
| /Linux-v6.6/drivers/usb/gadget/udc/ |
| D | lpc32xx_udc.c | 782 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_enable_hwepint() argument 784 udc->enabled_hwepints |= (1 << hwep); in uda_enable_hwepint() 789 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_disable_hwepint() argument 791 udc->enabled_hwepints &= ~(1 << hwep); in uda_disable_hwepint() 796 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_clear_hwepint() argument 798 writel((1 << hwep), USBD_EPINTCLR(udc->udp_baseaddr)); in uda_clear_hwepint() 802 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_enable() argument 804 writel((1 << hwep), USBD_EPDMAEN(udc->udp_baseaddr)); in udc_ep_dma_enable() 808 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_disable() argument 810 writel((1 << hwep), USBD_EPDMADIS(udc->udp_baseaddr)); in udc_ep_dma_disable() [all …]
|
| /Linux-v6.6/drivers/usb/musb/ |
| D | musb_trace.h | 319 __field(u8, hwep) 329 __entry->hwep = ch->hw_ep->epnum; 337 __get_str(name), __entry->ch, __entry->hwep,
|