Home
last modified time | relevance | path

Searched refs:usb_intf (Results 1 – 21 of 21) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt76x0/
Dusb.c209 static int mt76x0u_probe(struct usb_interface *usb_intf, in mt76x0u_probe() argument
224 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt76x0u_probe()
230 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), &mt76x0u_ops, in mt76x0u_probe()
245 usb_set_intfdata(usb_intf, dev); in mt76x0u_probe()
248 ret = mt76u_init(mdev, usb_intf); in mt76x0u_probe()
280 usb_set_intfdata(usb_intf, NULL); in mt76x0u_probe()
281 usb_put_dev(interface_to_usbdev(usb_intf)); in mt76x0u_probe()
288 static void mt76x0_disconnect(struct usb_interface *usb_intf) in mt76x0_disconnect() argument
290 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_disconnect()
299 usb_set_intfdata(usb_intf, NULL); in mt76x0_disconnect()
[all …]
/drivers/net/wireless/mediatek/mt7601u/
Dusb.c228 static int mt7601u_assign_pipes(struct usb_interface *usb_intf, in mt7601u_assign_pipes() argument
232 struct usb_host_interface *intf_desc = usb_intf->cur_altsetting; in mt7601u_assign_pipes()
265 static int mt7601u_probe(struct usb_interface *usb_intf, in mt7601u_probe() argument
268 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt7601u_probe()
273 dev = mt7601u_alloc_device(&usb_intf->dev); in mt7601u_probe()
280 usb_set_intfdata(usb_intf, dev); in mt7601u_probe()
288 ret = mt7601u_assign_pipes(usb_intf, dev); in mt7601u_probe()
321 usb_set_intfdata(usb_intf, NULL); in mt7601u_probe()
322 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7601u_probe()
329 static void mt7601u_disconnect(struct usb_interface *usb_intf) in mt7601u_disconnect() argument
[all …]
/drivers/net/wireless/mediatek/mt76/mt7615/
Dusb.c112 static int mt7663u_probe(struct usb_interface *usb_intf, in mt7663u_probe() argument
136 struct usb_device *udev = interface_to_usbdev(usb_intf); in mt7663u_probe()
142 ops = devm_kmemdup(&usb_intf->dev, &mt7615_ops, sizeof(mt7615_ops), in mt7663u_probe()
149 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops); in mt7663u_probe()
157 usb_set_intfdata(usb_intf, dev); in mt7663u_probe()
162 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7663u_probe()
195 usb_set_intfdata(usb_intf, NULL); in mt7663u_probe()
196 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7663u_probe()
203 static void mt7663u_disconnect(struct usb_interface *usb_intf) in mt7663u_disconnect() argument
205 struct mt7615_dev *dev = usb_get_intfdata(usb_intf); in mt7663u_disconnect()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7921/
Dusb.c168 static int mt7921u_probe(struct usb_interface *usb_intf, in mt7921u_probe() argument
201 struct usb_device *udev = interface_to_usbdev(usb_intf); in mt7921u_probe()
208 ops = devm_kmemdup(&usb_intf->dev, &mt7921_ops, sizeof(mt7921_ops), in mt7921u_probe()
215 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops); in mt7921u_probe()
225 usb_set_intfdata(usb_intf, dev); in mt7921u_probe()
227 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7921u_probe()
270 usb_set_intfdata(usb_intf, NULL); in mt7921u_probe()
271 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7921u_probe()
278 static void mt7921u_disconnect(struct usb_interface *usb_intf) in mt7921u_disconnect() argument
280 struct mt7921_dev *dev = usb_get_intfdata(usb_intf); in mt7921u_disconnect()
[all …]
/drivers/staging/r8188eu/os_dep/
Dusb_intf.c67 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) in usb_dvobj_init() argument
83 pdvobjpriv->pusbintf = usb_intf; in usb_dvobj_init()
84 pusbd = interface_to_usbdev(usb_intf); in usb_dvobj_init()
86 usb_set_intfdata(usb_intf, pdvobjpriv); in usb_dvobj_init()
93 phost_iface = &usb_intf->altsetting[0]; in usb_dvobj_init()
129 static void usb_dvobj_deinit(struct usb_interface *usb_intf) in usb_dvobj_deinit() argument
131 struct dvobj_priv *dvobj = usb_get_intfdata(usb_intf); in usb_dvobj_deinit()
133 usb_set_intfdata(usb_intf, NULL); in usb_dvobj_deinit()
139 if (interface_to_usbdev(usb_intf)->state != in usb_dvobj_deinit()
146 usb_reset_device(interface_to_usbdev(usb_intf)); in usb_dvobj_deinit()
[all …]
/drivers/usb/atm/
Dusbatm.h30 dev_err(&(instance)->usb_intf->dev , format , ## arg)
32 dev_info(&(instance)->usb_intf->dev , format , ## arg)
34 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
132 struct usb_interface *usb_intf; member
Dusbatm.c366 vdbg(&instance->usb_intf->dev, in usbatm_extract_one_cell()
379 vdbg(&instance->usb_intf->dev, in usbatm_extract_one_cell()
395 vdbg(&instance->usb_intf->dev, in usbatm_extract_one_cell()
521 vdbg(&instance->usb_intf->dev, in usbatm_rx_process()
595 vdbg(&instance->usb_intf->dev, in usbatm_tx_process()
911 &instance->usb_intf->dev, &usbatm_atm_devops, in usbatm_atm_init()
963 ret = instance->driver->heavy_init(instance, instance->usb_intf); in usbatm_do_heavy_init()
1033 instance->usb_intf = intf; in usbatm_usb_probe()
1324 dev_dbg(&instance->usb_intf->dev, "%s", buffer); in usbatm_print_packet()
Dcxacru.c773 struct usb_interface *intf = usbatm_instance->usb_intf; in cxacru_atm_start()
1076 struct device *dev = &usbatm->usb_intf->dev; in cxacru_find_firmware()
1093 struct usb_interface *usb_intf) in cxacru_heavy_init() argument
/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.c797 int rt2x00usb_probe(struct usb_interface *usb_intf, in rt2x00usb_probe() argument
800 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in rt2x00usb_probe()
815 usb_set_intfdata(usb_intf, hw); in rt2x00usb_probe()
818 rt2x00dev->dev = &usb_intf->dev; in rt2x00usb_probe()
860 usb_set_intfdata(usb_intf, NULL); in rt2x00usb_probe()
866 void rt2x00usb_disconnect(struct usb_interface *usb_intf) in rt2x00usb_disconnect() argument
868 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); in rt2x00usb_disconnect()
881 usb_set_intfdata(usb_intf, NULL); in rt2x00usb_disconnect()
882 usb_put_dev(interface_to_usbdev(usb_intf)); in rt2x00usb_disconnect()
887 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state) in rt2x00usb_suspend() argument
[all …]
Drt2x00usb.h398 int rt2x00usb_probe(struct usb_interface *usb_intf,
400 void rt2x00usb_disconnect(struct usb_interface *usb_intf);
402 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state);
403 int rt2x00usb_resume(struct usb_interface *usb_intf);
Drt2800usb.c1254 static int rt2800usb_probe(struct usb_interface *usb_intf, in rt2800usb_probe() argument
1257 return rt2x00usb_probe(usb_intf, &rt2800usb_ops); in rt2800usb_probe()
Drt2500usb.c1962 static int rt2500usb_probe(struct usb_interface *usb_intf, in rt2500usb_probe() argument
1965 return rt2x00usb_probe(usb_intf, &rt2500usb_ops); in rt2500usb_probe()
Drt73usb.c2521 static int rt73usb_probe(struct usb_interface *usb_intf, in rt73usb_probe() argument
2524 return rt2x00usb_probe(usb_intf, &rt73usb_ops); in rt73usb_probe()
/drivers/usb/image/
Dmicrotek.h35 struct usb_interface *usb_intf; member
Dmicrotek.c356 result = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); in mts_scsi_host_reset()
745 new_desc->usb_intf = intf; in mts_usb_probe()
/drivers/staging/rtl8712/
DMakefile25 usb_intf.o \
/drivers/staging/r8188eu/
DMakefile26 os_dep/usb_intf.o \
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h150 struct usb_interface *usb_intf; member
Dpvrusb2-hdw.c2092 (hdw->usb_intf->cur_altsetting->desc.bNumEndpoints in pvr2_hdw_setup_low()
2594 hdw->usb_intf = intf; in pvr2_hdw_create()
2599 ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber; in pvr2_hdw_create()
2656 hdw->usb_intf = NULL; in pvr2_hdw_remove_usb_stuff()
/drivers/net/wireless/realtek/rtlwifi/
Dusb.c325 struct usb_interface *usb_intf = rtlusb->intf; in _rtl_usb_init() local
326 u8 epnums = usb_intf->cur_altsetting->desc.bNumEndpoints; in _rtl_usb_init()
332 pep_desc = &usb_intf->cur_altsetting->endpoint[epidx].desc; in _rtl_usb_init()
/drivers/greybus/
Des2.c102 struct usb_interface *usb_intf; member
1279 es2->usb_intf = interface; in ap_probe()