/linux-master/drivers/usb/chipidea/ |
H A 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, argument 368 node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); 377 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { 378 u32 mul = hwreq->req.length / hwep->ep.maxpacket; 381 || hwreq->req.length % hwep->ep.maxpacket) 426 static int prepare_td_for_non_sg(struct ci_hw_ep *hwep, argument 434 ret = add_td_to_list(hwep, hwreq, 0, NULL); 450 ret = add_td_to_list(hwep, hwre 467 prepare_td_per_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct scatterlist *s) argument 507 prepare_td_for_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) argument 550 _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) argument 645 free_pending_td(struct ci_hw_ep *hwep) argument 654 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) argument 672 _hardware_dequeue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) argument 785 free_pending_td(hwep); variable 792 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 932 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 989 struct ci_hw_ep *hwep = ci->ep0in; variable in typeref:struct:ci_hw_ep 1076 struct ci_hw_ep *hwep; local 1148 struct ci_hw_ep *hwep = &ci->ci_hw_ep[0]; variable in typeref:struct:ci_hw_ep 1322 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; variable in typeref:struct:ci_hw_ep 1360 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1427 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1488 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1522 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1546 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1600 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1620 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); local 1772 struct ci_hw_ep *hwep = ci->ep0in; local 1852 struct ci_hw_ep *hwep = &ci->ci_hw_ep[k]; local 1915 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; local [all...] |
H A 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-master/drivers/usb/gadget/udc/ |
H A D | lpc32xx_udc.c | 782 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep) argument 784 udc->enabled_hwepints |= (1 << hwep); 789 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep) argument 791 udc->enabled_hwepints &= ~(1 << hwep); 796 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep) argument 798 writel((1 << hwep), USBD_EPINTCLR(udc->udp_baseaddr)); 802 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep) argument 804 writel((1 << hwep), USBD_EPDMAEN(udc->udp_baseaddr)); 808 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep) argument 810 writel((1 << hwep), USBD_EPDMADI 821 udc_realize_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 maxpacket) argument 843 udc_unrealize_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 855 udc_selep_clrint(struct lpc32xx_udc *udc, u32 hwep) argument 862 udc_disable_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 869 udc_stall_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 876 udc_clrstall_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 883 udc_select_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 894 udc_clr_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 901 udc_val_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) argument 907 udc_clearep_getsts(struct lpc32xx_udc *udc, u32 hwep) argument 978 u32 hwep = ep->hwep_num; local 1004 u32 hwep = ep->hwep_num; local 1202 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) argument 1306 udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) argument [all...] |
/linux-master/drivers/usb/musb/ |
H A D | musb_trace.h | 319 __field(u8, hwep) 329 __entry->hwep = ch->hw_ep->epnum; 336 TP_printk("%s: %p, hwep%d ch%d%s, prog_len %d, len %d/%d", 337 __get_str(name), __entry->ch, __entry->hwep,
|