Home
last modified time | relevance | path

Searched refs:comp_desc (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/udc/bdc/
Dbdc_cmd.c136 const struct usb_ss_ep_comp_descriptor *comp_desc; in bdc_config_ep() local
143 comp_desc = ep->comp_desc; in bdc_config_ep()
164 if (usb_endpoint_xfer_isoc(desc) && comp_desc) in bdc_config_ep()
165 mul = comp_desc->bmAttributes; in bdc_config_ep()
169 if (comp_desc) in bdc_config_ep()
170 mbs = comp_desc->bMaxBurst; in bdc_config_ep()
Dbdc_ep.c594 ep->comp_desc = NULL; in bdc_ep_disable()
628 ep->usb_ep.comp_desc = ep->comp_desc; in bdc_ep_enable()
1890 ep->comp_desc = _ep->comp_desc; in bdc_gadget_ep_enable()
1968 ep->comp_desc = NULL; in init_ep()
Dbdc.h357 const struct usb_ss_ep_comp_descriptor *comp_desc; member
/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_gadget.c62 const struct usb_ss_ep_comp_descriptor *comp_desc; in mtu3_ep_enable() local
70 comp_desc = mep->comp_desc; in mtu3_ep_enable()
81 if (usb_endpoint_xfer_isoc(desc) && comp_desc) in mtu3_ep_enable()
82 mult = comp_desc->bmAttributes; in mtu3_ep_enable()
84 if (comp_desc) in mtu3_ep_enable()
85 burst = comp_desc->bMaxBurst; in mtu3_ep_enable()
112 mep->ep.comp_desc = comp_desc; in mtu3_ep_enable()
145 mep->comp_desc = NULL; in mtu3_ep_disable()
189 mep->comp_desc = ep->comp_desc; in mtu3_gadget_ep_enable()
Dmtu3.h289 const struct usb_ss_ep_comp_descriptor *comp_desc; member
/linux-6.1.9/drivers/usb/gadget/
Depautoconf.c111 ep->comp_desc = NULL; in usb_ep_autoconfig_ss()
Dcomposite.c158 struct usb_ss_ep_comp_descriptor *comp_desc = NULL; in config_ep_by_speed_and_alt() local
233 _ep->comp_desc = NULL; in config_ep_by_speed_and_alt()
248 comp_desc = (struct usb_ss_ep_comp_descriptor *)*(++d_spd); in config_ep_by_speed_and_alt()
249 if (!comp_desc || in config_ep_by_speed_and_alt()
250 (comp_desc->bDescriptorType != USB_DT_SS_ENDPOINT_COMP)) in config_ep_by_speed_and_alt()
252 _ep->comp_desc = comp_desc; in config_ep_by_speed_and_alt()
257 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt()
261 _ep->maxburst = comp_desc->bMaxBurst + 1; in config_ep_by_speed_and_alt()
264 if (comp_desc->bMaxBurst != 0) in config_ep_by_speed_and_alt()
/linux-6.1.9/drivers/usb/gadget/udc/
Dtegra-xudc.c416 const struct usb_ss_ep_comp_descriptor *comp_desc; member
1126 } else if (usb_ss_max_streams(ep->comp_desc)) { in tegra_xudc_queue_one_trb()
1214 } else if (usb_ss_max_streams(ep->comp_desc) > 0) { in tegra_xudc_ep_ring_doorbell()
1616 const struct usb_ss_ep_comp_descriptor *comp_desc = ep->comp_desc; in tegra_xudc_ep_context_setup() local
1624 maxburst = comp_desc->bMaxBurst; in tegra_xudc_ep_context_setup()
1627 esit = le16_to_cpu(comp_desc->wBytesPerInterval); in tegra_xudc_ep_context_setup()
1649 comp_desc->bmAttributes & 0x3); in tegra_xudc_ep_context_setup()
1654 comp_desc->bmAttributes & in tegra_xudc_ep_context_setup()
1723 ep->comp_desc = NULL; in __tegra_xudc_ep_disable()
1787 !usb_endpoint_xfer_control(desc) && !ep->usb_ep.comp_desc) in __tegra_xudc_ep_enable()
[all …]
Ddummy_hcd.c610 if (usb_ss_max_streams(_ep->comp_desc)) { in dummy_enable()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-mem.c872 return pep->endpoint.comp_desc->bmAttributes; in cdnsp_get_endpoint_mult()
880 return pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_endpoint_max_burst()
929 return le16_to_cpu(pep->endpoint.comp_desc->wBytesPerInterval); in cdnsp_get_max_esit_payload()
932 return le16_to_cpu(pep->endpoint.comp_desc->wBytesPerInterval); in cdnsp_get_max_esit_payload()
Dcdns3-gadget.c2204 struct usb_ss_ep_comp_descriptor *comp_desc) in cdns3_gadget_match_ep() argument
2281 const struct usb_ss_ep_comp_descriptor *comp_desc; in cdns3_gadget_ep_enable() local
2296 comp_desc = priv_ep->endpoint.comp_desc; in cdns3_gadget_ep_enable()
2341 if (usb_ss_max_streams(comp_desc) && usb_endpoint_xfer_bulk(desc)) { in cdns3_gadget_ep_enable()
Dcdnsp-gadget.c767 unsigned int num_streams = usb_ss_max_streams(pep->endpoint.comp_desc); in cdnsp_alloc_streams()
1638 pep->endpoint.comp_desc = NULL; in cdnsp_gadget_init_endpoints()
Dcdnsp-ring.c2154 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_burst_count()
2176 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_last_burst_packet_count()
/linux-6.1.9/include/linux/usb/
Dgadget.h240 const struct usb_ss_ep_comp_descriptor *comp_desc; member
/linux-6.1.9/drivers/usb/dwc3/
Dgadget.c580 const struct usb_ss_ep_comp_descriptor *comp_desc; in dwc3_gadget_set_ep_config() local
585 comp_desc = dep->endpoint.comp_desc; in dwc3_gadget_set_ep_config()
610 if (usb_ss_max_streams(comp_desc) && usb_endpoint_xfer_bulk(desc)) { in dwc3_gadget_set_ep_config()
1043 dep->endpoint.comp_desc = NULL; in __dwc3_gadget_ep_disable()
3122 dep->endpoint.comp_desc = NULL; in dwc3_gadget_init_endpoint()
/linux-6.1.9/drivers/usb/chipidea/
Dudc.c1805 struct usb_ss_ep_comp_descriptor *comp_desc) in ci_udc_match_ep() argument