Searched refs:cur_intf (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/atm/ |
D | xusbatm.c | 139 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind() local 141 if (cur_intf && (usb_get_intfdata(cur_intf) == usbatm)) { in xusbatm_unbind() 142 usb_set_intfdata(cur_intf, NULL); in xusbatm_unbind() 143 usb_driver_release_interface(&xusbatm_usb_driver, cur_intf); in xusbatm_unbind()
|
D | speedtch.c | 749 struct usb_interface *cur_intf; in speedtch_release_interfaces() local 753 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_release_interfaces() 754 if (cur_intf) { in speedtch_release_interfaces() 755 usb_set_intfdata(cur_intf, NULL); in speedtch_release_interfaces() 756 usb_driver_release_interface(&speedtch_usb_driver, cur_intf); in speedtch_release_interfaces() 766 struct usb_interface *cur_intf, *data_intf; in speedtch_bind() local 791 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_bind() 793 if ((i != ifnum) && cur_intf) { in speedtch_bind() 794 ret = usb_driver_claim_interface(&speedtch_usb_driver, cur_intf, usbatm); in speedtch_bind()
|
/drivers/usb/gadget/udc/ |
D | amd5536udc.h | 565 u16 cur_intf; member
|
D | pch_udc.c | 265 u16 cur_intf; member 999 (cfg->cur_intf << UDC_CSR_NE_INTF_SHIFT) | in pch_udc_ep_enable() 2668 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt() 2678 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt() 2683 (dev->cfg_data.cur_intf << UDC_CSR_NE_INTF_SHIFT); in pch_udc_svc_intf_interrupt()
|
D | snps_udc_core.c | 417 tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, UDC_CSR_NE_INTF); in udc_ep_enable() 1608 dev->cur_intf = 0; in udc_setup_endpoints() 2808 dev->cur_intf = AMD_GETBITS(tmp, UDC_DEVSTS_INTF); in udc_dev_isr() 2815 setup_data.request.wIndex = cpu_to_le16(dev->cur_intf); in udc_dev_isr() 2818 dev->cur_alt, dev->cur_intf); in udc_dev_isr() 2839 tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, in udc_dev_isr()
|