Home
last modified time | relevance | path

Searched refs:cur_alt (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/gadget/function/
Df_obex.c33 u8 cur_alt; member
233 obex->cur_alt = alt; in obex_set_alt()
245 return obex->cur_alt; in obex_get_alt()
Df_sourcesink.c41 int cur_alt; member
730 ss->cur_alt = alt; in enable_source_sink()
750 return ss->cur_alt; in sourcesink_get_alt()
/drivers/usb/core/
Dhcd.c1843 struct usb_host_interface *cur_alt, in usb_hcd_alloc_bandwidth() argument
1857 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth()
1912 if (cur_alt && new_alt) { in usb_hcd_alloc_bandwidth()
1914 cur_alt->desc.bInterfaceNumber); in usb_hcd_alloc_bandwidth()
1928 cur_alt = usb_altnum_to_altsetting(iface, 0); in usb_hcd_alloc_bandwidth()
1929 if (!cur_alt) in usb_hcd_alloc_bandwidth()
1930 cur_alt = &iface->altsetting[0]; in usb_hcd_alloc_bandwidth()
1934 for (i = 0; i < cur_alt->desc.bNumEndpoints; i++) { in usb_hcd_alloc_bandwidth()
1936 &cur_alt->endpoint[i]); in usb_hcd_alloc_bandwidth()
/drivers/usb/gadget/udc/
Damd5536udc.h566 u16 cur_alt; member
Dpch_udc.c265 u16 cur_alt; member
996 (cfg->cur_alt << UDC_CSR_NE_ALT_SHIFT) | in pch_udc_ep_enable()
2565 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt()
2572 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt()
2580 (dev->cfg_data.cur_alt << UDC_CSR_NE_ALT_SHIFT); in pch_udc_svc_intf_interrupt()
Dsnps_udc_core.c419 tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, UDC_CSR_NE_ALT); in udc_ep_enable()
1609 dev->cur_alt = 0; in udc_setup_endpoints()
2806 dev->cur_alt = AMD_GETBITS(tmp, UDC_DEVSTS_ALT); in udc_dev_isr()
2813 setup_data.request.wValue = cpu_to_le16(dev->cur_alt); in udc_dev_isr()
2817 dev->cur_alt, dev->cur_intf); in udc_dev_isr()
2842 tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, in udc_dev_isr()