• Home
  • Raw
  • Download

Lines Matching refs:endpoint

201 		if (usb_endpoint_xfer_bulk(dep->endpoint.desc)  in dwc3_gadget_resize_tx_fifos()
202 || usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_gadget_resize_tx_fifos()
216 tmp = mult * (dep->endpoint.maxpacket + mdwidth); in dwc3_gadget_resize_tx_fifos()
252 usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_gadget_giveback()
283 usb_gadget_giveback_request(&dep->endpoint, &req->request); in dwc3_gadget_giveback()
483 u32 burst = dep->endpoint.maxburst - 1; in dwc3_gadget_set_ep_config()
592 dep->endpoint.desc = desc; in __dwc3_gadget_ep_enable()
685 dep->endpoint.desc = NULL; in __dwc3_gadget_ep_disable()
830 usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_prepare_one_trb()
837 switch (usb_endpoint_type(dep->endpoint.desc)) { in dwc3_prepare_one_trb()
864 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_prepare_one_trb()
874 if (usb_endpoint_xfer_bulk(dep->endpoint.desc) && dep->stream_capable) in dwc3_prepare_one_trb()
904 if (!usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_prepare_trbs()
930 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_prepare_trbs()
940 if ((trbs_left <= 1) && usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_prepare_trbs()
1146 if (!usb_endpoint_xfer_isoc(dep->endpoint.desc) && in __dwc3_gadget_ep_queue()
1147 !usb_endpoint_xfer_int(dep->endpoint.desc) && in __dwc3_gadget_ep_queue()
1171 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in __dwc3_gadget_ep_queue()
1191 if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && in __dwc3_gadget_ep_queue()
1228 struct usb_ep *ep = &dep->endpoint; in __dwc3_gadget_ep_queue_zlp()
1256 if (!dep->endpoint.desc) { in dwc3_gadget_ep_queue()
1340 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in __dwc3_gadget_ep_set_halt()
1808 dep->endpoint.name = dep->name; in dwc3_gadget_init_hw_endpoints()
1813 usb_ep_set_maxpacket_limit(&dep->endpoint, 512); in dwc3_gadget_init_hw_endpoints()
1814 dep->endpoint.maxburst = 1; in dwc3_gadget_init_hw_endpoints()
1815 dep->endpoint.ops = &dwc3_gadget_ep0_ops; in dwc3_gadget_init_hw_endpoints()
1817 dwc->gadget.ep0 = &dep->endpoint; in dwc3_gadget_init_hw_endpoints()
1821 usb_ep_set_maxpacket_limit(&dep->endpoint, 1024); in dwc3_gadget_init_hw_endpoints()
1822 dep->endpoint.max_streams = 15; in dwc3_gadget_init_hw_endpoints()
1823 dep->endpoint.ops = &dwc3_gadget_ep_ops; in dwc3_gadget_init_hw_endpoints()
1824 list_add_tail(&dep->endpoint.ep_list, in dwc3_gadget_init_hw_endpoints()
1833 dep->endpoint.caps.type_control = true; in dwc3_gadget_init_hw_endpoints()
1835 dep->endpoint.caps.type_iso = true; in dwc3_gadget_init_hw_endpoints()
1836 dep->endpoint.caps.type_bulk = true; in dwc3_gadget_init_hw_endpoints()
1837 dep->endpoint.caps.type_int = true; in dwc3_gadget_init_hw_endpoints()
1840 dep->endpoint.caps.dir_in = !!direction; in dwc3_gadget_init_hw_endpoints()
1841 dep->endpoint.caps.dir_out = !direction; in dwc3_gadget_init_hw_endpoints()
1893 list_del(&dep->endpoint.ep_list); in dwc3_gadget_free_endpoints()
1992 usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_cleanup_done_reqs()
2019 if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && in dwc3_cleanup_done_reqs()
2036 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_cleanup_done_reqs()
2057 usb_endpoint_xfer_isoc(dep->endpoint.desc))) in dwc3_endpoint_transfer_complete()
2085 if (!usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_endpoint_transfer_complete()
2114 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_endpoint_interrupt()
2126 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in dwc3_endpoint_interrupt()
2148 if (!usb_endpoint_xfer_bulk(dep->endpoint.desc)) { in dwc3_endpoint_interrupt()
2448 dwc->eps[1]->endpoint.maxpacket = dwc->gadget.ep0->maxpacket; in dwc3_gadget_conndone_interrupt()