Searched refs:usb_intf (Results 1 - 20 of 20) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8712/
H A DMakefile24 usb_intf.o \
H A Dusb_intf.c2 * usb_intf.c
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c213 static int mt7601u_assign_pipes(struct usb_interface *usb_intf, mt7601u_assign_pipes() argument
217 struct usb_host_interface *intf_desc = usb_intf->cur_altsetting; mt7601u_assign_pipes()
250 static int mt7601u_probe(struct usb_interface *usb_intf, mt7601u_probe() argument
253 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); mt7601u_probe()
258 dev = mt7601u_alloc_device(&usb_intf->dev); mt7601u_probe()
265 usb_set_intfdata(usb_intf, dev); mt7601u_probe()
273 ret = mt7601u_assign_pipes(usb_intf, dev); mt7601u_probe()
302 usb_set_intfdata(usb_intf, NULL); mt7601u_probe()
303 usb_put_dev(interface_to_usbdev(usb_intf)); mt7601u_probe()
310 static void mt7601u_disconnect(struct usb_interface *usb_intf) mt7601u_disconnect() argument
312 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); mt7601u_disconnect()
317 usb_set_intfdata(usb_intf, NULL); mt7601u_disconnect()
318 usb_put_dev(interface_to_usbdev(usb_intf)); mt7601u_disconnect()
324 static int mt7601u_suspend(struct usb_interface *usb_intf, pm_message_t state) mt7601u_suspend() argument
326 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); mt7601u_suspend()
333 static int mt7601u_resume(struct usb_interface *usb_intf) mt7601u_resume() argument
335 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); mt7601u_resume()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
H A Dusb_intf.c56 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) usb_dvobj_init() argument
71 pdvobjpriv->pusbintf = usb_intf; usb_dvobj_init()
72 pusbd = interface_to_usbdev(usb_intf); usb_dvobj_init()
74 usb_set_intfdata(usb_intf, pdvobjpriv); usb_dvobj_init()
82 phost_iface = &usb_intf->altsetting[0]; usb_dvobj_init()
118 usb_set_intfdata(usb_intf, NULL); usb_dvobj_init()
127 static void usb_dvobj_deinit(struct usb_interface *usb_intf) usb_dvobj_deinit() argument
129 struct dvobj_priv *dvobj = usb_get_intfdata(usb_intf); usb_dvobj_deinit()
131 usb_set_intfdata(usb_intf, NULL); usb_dvobj_deinit()
137 if (interface_to_usbdev(usb_intf)->state != usb_dvobj_deinit()
145 usb_reset_device(interface_to_usbdev(usb_intf)); usb_dvobj_deinit()
154 usb_put_dev(interface_to_usbdev(usb_intf)); usb_dvobj_deinit()
/linux-4.4.14/drivers/usb/image/
H A Dmicrotek.h34 struct usb_interface *usb_intf; member in struct:mts_desc
H A Dmicrotek.c355 result = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); mts_scsi_host_reset()
747 new_desc->usb_intf = intf; mts_usb_probe()
/linux-4.4.14/drivers/staging/rtl8188eu/
H A DMakefile50 os_dep/usb_intf.o \
/linux-4.4.14/drivers/staging/rtl8723au/
H A DMakefile43 os_dep/usb_intf.o \
/linux-4.4.14/drivers/usb/atm/
H A Dusbatm.h44 dev_err(&(instance)->usb_intf->dev , format , ## arg)
46 dev_info(&(instance)->usb_intf->dev , format , ## arg)
48 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
50 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
146 struct usb_interface *usb_intf; member in struct:usbatm_data
H A Dusbatm.c381 vdbg(&instance->usb_intf->dev, usbatm_extract_one_cell()
394 vdbg(&instance->usb_intf->dev, usbatm_extract_one_cell()
410 vdbg(&instance->usb_intf->dev, usbatm_extract_one_cell()
535 vdbg(&instance->usb_intf->dev, usbatm_rx_process()
608 vdbg(&instance->usb_intf->dev, usbatm_tx_process()
925 &instance->usb_intf->dev, &usbatm_atm_devops, usbatm_atm_init()
977 ret = instance->driver->heavy_init(instance, instance->usb_intf); usbatm_do_heavy_init()
1047 instance->usb_intf = intf; usbatm_usb_probe()
1342 dev_dbg(&instance->usb_intf->dev, "%s", buffer); usbatm_print_packet()
H A Dcxacru.c749 struct usb_interface *intf = usbatm_instance->usb_intf; cxacru_remove_device_files()
761 struct usb_interface *intf = usbatm_instance->usb_intf; cxacru_atm_start()
1078 struct device *dev = &usbatm->usb_intf->dev; cxacru_find_firmware()
1095 struct usb_interface *usb_intf) cxacru_heavy_init()
1094 cxacru_heavy_init(struct usbatm_data *usbatm_instance, struct usb_interface *usb_intf) cxacru_heavy_init() argument
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
H A Dusb_intf.c76 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) usb_dvobj_init() argument
96 pdvobjpriv->pusbintf = usb_intf; usb_dvobj_init()
97 pusbd = interface_to_usbdev(usb_intf); usb_dvobj_init()
99 usb_set_intfdata(usb_intf, pdvobjpriv); usb_dvobj_init()
107 phost_iface = &usb_intf->altsetting[0]; usb_dvobj_init()
171 usb_set_intfdata(usb_intf, NULL); usb_dvobj_init()
183 static void usb_dvobj_deinit(struct usb_interface *usb_intf) usb_dvobj_deinit() argument
185 struct dvobj_priv *dvobj = usb_get_intfdata(usb_intf); usb_dvobj_deinit()
187 usb_set_intfdata(usb_intf, NULL); usb_dvobj_deinit()
192 if (interface_to_usbdev(usb_intf)->state != usb_dvobj_deinit()
201 usb_reset_device(interface_to_usbdev(usb_intf)); usb_dvobj_deinit()
211 usb_put_dev(interface_to_usbdev(usb_intf)); usb_dvobj_deinit()
/linux-4.4.14/drivers/net/wireless/rt2x00/
H A Drt2x00usb.c781 int rt2x00usb_probe(struct usb_interface *usb_intf, rt2x00usb_probe() argument
784 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); rt2x00usb_probe()
799 usb_set_intfdata(usb_intf, hw); rt2x00usb_probe()
802 rt2x00dev->dev = &usb_intf->dev; rt2x00usb_probe()
832 usb_set_intfdata(usb_intf, NULL); rt2x00usb_probe()
838 void rt2x00usb_disconnect(struct usb_interface *usb_intf) rt2x00usb_disconnect() argument
840 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); rt2x00usb_disconnect()
853 usb_set_intfdata(usb_intf, NULL); rt2x00usb_disconnect()
854 usb_put_dev(interface_to_usbdev(usb_intf)); rt2x00usb_disconnect()
859 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state) rt2x00usb_suspend() argument
861 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); rt2x00usb_suspend()
868 int rt2x00usb_resume(struct usb_interface *usb_intf) rt2x00usb_resume() argument
870 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); rt2x00usb_resume()
H A Drt2x00usb.h413 int rt2x00usb_probe(struct usb_interface *usb_intf,
415 void rt2x00usb_disconnect(struct usb_interface *usb_intf);
417 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state);
418 int rt2x00usb_resume(struct usb_interface *usb_intf);
H A Drt2800usb.c1445 static int rt2800usb_probe(struct usb_interface *usb_intf, rt2800usb_probe() argument
1448 return rt2x00usb_probe(usb_intf, &rt2800usb_ops); rt2800usb_probe()
H A Drt2500usb.c1984 static int rt2500usb_probe(struct usb_interface *usb_intf, rt2500usb_probe() argument
1987 return rt2x00usb_probe(usb_intf, &rt2500usb_ops); rt2500usb_probe()
H A Drt73usb.c2531 static int rt73usb_probe(struct usb_interface *usb_intf, rt73usb_probe() argument
2534 return rt2x00usb_probe(usb_intf, &rt73usb_ops); rt73usb_probe()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c352 struct usb_interface *usb_intf = rtlusb->intf; _rtl_usb_init() local
353 u8 epnums = usb_intf->cur_altsetting->desc.bNumEndpoints; _rtl_usb_init()
358 pep_desc = &usb_intf->cur_altsetting->endpoint[epidx].desc; _rtl_usb_init()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h164 struct usb_interface *usb_intf; member in struct:pvr2_hdw
H A Dpvrusb2-hdw.c2123 (hdw->usb_intf->cur_altsetting->desc.bNumEndpoints pvr2_hdw_setup_low()
2636 hdw->usb_intf = intf; pvr2_hdw_create()
2641 ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber; pvr2_hdw_create()
2701 hdw->usb_intf = NULL; pvr2_hdw_remove_usb_stuff()

Completed in 498 milliseconds