Home
last modified time | relevance | path

Searched refs:cur_intf (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/usb/atm/
Dxusbatm.c151 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind() local
153 if (cur_intf && (usb_get_intfdata(cur_intf) == usbatm)) { in xusbatm_unbind()
154 usb_set_intfdata(cur_intf, NULL); in xusbatm_unbind()
155 usb_driver_release_interface(&xusbatm_usb_driver, cur_intf); in xusbatm_unbind()
Dspeedtch.c760 struct usb_interface *cur_intf; in speedtch_release_interfaces() local
764 if ((cur_intf = usb_ifnum_to_if(usb_dev, i))) { in speedtch_release_interfaces()
765 usb_set_intfdata(cur_intf, NULL); in speedtch_release_interfaces()
766 usb_driver_release_interface(&speedtch_usb_driver, cur_intf); in speedtch_release_interfaces()
775 struct usb_interface *cur_intf, *data_intf; in speedtch_bind() local
799 cur_intf = usb_ifnum_to_if(usb_dev, i); in speedtch_bind()
801 if ((i != ifnum) && cur_intf) { in speedtch_bind()
802 ret = usb_driver_claim_interface(&speedtch_usb_driver, cur_intf, usbatm); in speedtch_bind()
/linux-3.4.99/drivers/usb/gadget/
Damd5536udc.h563 u16 cur_intf; member
Dpch_udc.c270 u16 cur_intf; member
1008 (cfg->cur_intf << UDC_CSR_NE_INTF_SHIFT) | in pch_udc_ep_enable()
2646 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt()
2656 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt()
2661 (dev->cfg_data.cur_intf << UDC_CSR_NE_INTF_SHIFT); in pch_udc_svc_intf_interrupt()
Damd5536udc.c410 tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, UDC_CSR_NE_INTF); in udc_ep_enable()
1585 dev->cur_intf = 0; in udc_setup_endpoints()
2836 dev->cur_intf = AMD_GETBITS(tmp, UDC_DEVSTS_INTF); in udc_dev_isr()
2843 setup_data.request.wIndex = cpu_to_le16(dev->cur_intf); in udc_dev_isr()
2846 dev->cur_alt, dev->cur_intf); in udc_dev_isr()
2867 tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, in udc_dev_isr()