Home
last modified time | relevance | path

Searched refs:hwep (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/chipidea/
H A Dudc.c52 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, hwre in prepare_td_for_non_sg()
467 prepare_td_per_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct scatterlist *s) prepare_td_per_sg() argument
507 prepare_td_for_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) prepare_td_for_sg() argument
550 _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) _hardware_enqueue() argument
645 free_pending_td(struct ci_hw_ep *hwep) free_pending_td() argument
654 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) reprime_dtd() argument
672 _hardware_dequeue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) _hardware_dequeue() argument
784 free_pending_td(hwep); global() variable
791 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_set_halt() local
931 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_queue() local
988 struct ci_hw_ep *hwep = ci->ep0in; global() variable
1075 struct ci_hw_ep *hwep; isr_setup_status_phase() local
1147 struct ci_hw_ep *hwep = &ci->ci_hw_ep[0]; global() variable
1321 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; global() variable
1359 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_enable() local
1426 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_disable() local
1487 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_free_request() local
1521 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_queue() local
1545 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_dequeue() local
1599 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_set_wedge() local
1619 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_fifo_flush() local
1771 struct ci_hw_ep *hwep = ci->ep0in; ci_udc_selfpowered() local
1851 struct ci_hw_ep *hwep = &ci->ci_hw_ep[k]; init_eps() local
1914 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; destroy_eps() local
[all...]
H A Dtrace.h41 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)
/kernel/linux/linux-5.10/drivers/usb/chipidea/
H A Dudc.c354 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 in prepare_td_for_non_sg()
464 prepare_td_per_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct scatterlist *s) prepare_td_per_sg() argument
504 prepare_td_for_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) prepare_td_for_sg() argument
547 _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) _hardware_enqueue() argument
632 free_pending_td(struct ci_hw_ep *hwep) free_pending_td() argument
641 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) reprime_dtd() argument
659 _hardware_dequeue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) _hardware_dequeue() argument
770 free_pending_td(hwep); global() variable
777 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_set_halt() local
917 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); _ep_queue() local
974 struct ci_hw_ep *hwep = ci->ep0in; global() variable
1061 struct ci_hw_ep *hwep; isr_setup_status_phase() local
1133 struct ci_hw_ep *hwep = &ci->ci_hw_ep[0]; global() variable
1307 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; global() variable
1345 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_enable() local
1412 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_disable() local
1473 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_free_request() local
1507 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_queue() local
1531 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_dequeue() local
1585 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_set_wedge() local
1605 struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep); ep_fifo_flush() local
1737 struct ci_hw_ep *hwep = ci->ep0in; ci_udc_selfpowered() local
1816 struct ci_hw_ep *hwep = &ci->ci_hw_ep[k]; init_eps() local
1879 struct ci_hw_ep *hwep = &ci->ci_hw_ep[i]; destroy_eps() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c783 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_EPDMADI in udc_ep_dma_disable()
822 udc_realize_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 maxpacket) udc_realize_hwep() argument
844 udc_unrealize_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_unrealize_hwep() argument
856 udc_selep_clrint(struct lpc32xx_udc *udc, u32 hwep) udc_selep_clrint() argument
863 udc_disable_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_disable_hwep() argument
870 udc_stall_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_stall_hwep() argument
877 udc_clrstall_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_clrstall_hwep() argument
884 udc_select_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_select_hwep() argument
895 udc_clr_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_clr_buffer_hwep() argument
902 udc_val_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_val_buffer_hwep() argument
908 udc_clearep_getsts(struct lpc32xx_udc *udc, u32 hwep) udc_clearep_getsts() argument
979 u32 hwep = ep->hwep_num; udc_ep_in_req_dma() local
1005 u32 hwep = ep->hwep_num; udc_ep_out_req_dma() local
1203 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) udc_read_hwep() argument
1307 udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) udc_write_hwep() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c782 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_EPDMADI in udc_ep_dma_disable()
821 udc_realize_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 maxpacket) udc_realize_hwep() argument
843 udc_unrealize_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_unrealize_hwep() argument
855 udc_selep_clrint(struct lpc32xx_udc *udc, u32 hwep) udc_selep_clrint() argument
862 udc_disable_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_disable_hwep() argument
869 udc_stall_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_stall_hwep() argument
876 udc_clrstall_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_clrstall_hwep() argument
883 udc_select_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_select_hwep() argument
894 udc_clr_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_clr_buffer_hwep() argument
901 udc_val_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) udc_val_buffer_hwep() argument
907 udc_clearep_getsts(struct lpc32xx_udc *udc, u32 hwep) udc_clearep_getsts() argument
978 u32 hwep = ep->hwep_num; udc_ep_in_req_dma() local
1004 u32 hwep = ep->hwep_num; udc_ep_out_req_dma() local
1202 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) udc_read_hwep() argument
1306 udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) udc_write_hwep() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/musb/
H A Dmusb_trace.h302 __field(u8, hwep)
312 __entry->hwep = ch->hw_ep->epnum;
319 TP_printk("%s: %p, hwep%d ch%d%s, prog_len %d, len %d/%d",
320 __get_str(name), __entry->ch, __entry->hwep,
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_trace.h319 __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,

Completed in 10 milliseconds