Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dusb.c112 static int mt7663u_probe(struct usb_interface *usb_intf, in mt7663u_probe() argument
135 struct usb_device *udev = interface_to_usbdev(usb_intf); in mt7663u_probe()
141 ops = devm_kmemdup(&usb_intf->dev, &mt7615_ops, sizeof(mt7615_ops), in mt7663u_probe()
148 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops); in mt7663u_probe()
156 usb_set_intfdata(usb_intf, dev); in mt7663u_probe()
161 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7663u_probe()
194 usb_set_intfdata(usb_intf, NULL); in mt7663u_probe()
195 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7663u_probe()
202 static void mt7663u_disconnect(struct usb_interface *usb_intf) in mt7663u_disconnect() argument
204 struct mt7615_dev *dev = usb_get_intfdata(usb_intf); in mt7663u_disconnect()
[all …]
/linux-6.6.21/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
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dusb.c146 static int mt7921u_probe(struct usb_interface *usb_intf, in mt7921u_probe() argument
179 struct usb_device *udev = interface_to_usbdev(usb_intf); in mt7921u_probe()
187 ops = mt792x_get_mac80211_ops(&usb_intf->dev, &mt7921_ops, in mt7921u_probe()
193 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops); in mt7921u_probe()
204 usb_set_intfdata(usb_intf, dev); in mt7921u_probe()
206 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7921u_probe()
249 usb_set_intfdata(usb_intf, NULL); in mt7921u_probe()
250 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7921u_probe()
/linux-6.6.21/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.c1255 static int rt2800usb_probe(struct usb_interface *usb_intf, in rt2800usb_probe() argument
1258 return rt2x00usb_probe(usb_intf, &rt2800usb_ops); in rt2800usb_probe()
Drt2500usb.c1963 static int rt2500usb_probe(struct usb_interface *usb_intf, in rt2500usb_probe() argument
1966 return rt2x00usb_probe(usb_intf, &rt2500usb_ops); in rt2500usb_probe()
Drt73usb.c2522 static int rt73usb_probe(struct usb_interface *usb_intf, in rt73usb_probe() argument
2525 return rt2x00usb_probe(usb_intf, &rt73usb_ops); in rt73usb_probe()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt792x_usb.c290 void mt792xu_disconnect(struct usb_interface *usb_intf) in mt792xu_disconnect() argument
292 struct mt792x_dev *dev = usb_get_intfdata(usb_intf); in mt792xu_disconnect()
301 usb_set_intfdata(usb_intf, NULL); in mt792xu_disconnect()
302 usb_put_dev(interface_to_usbdev(usb_intf)); in mt792xu_disconnect()
Dmt792x.h338 void mt792xu_disconnect(struct usb_interface *usb_intf);
/linux-6.6.21/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()
/linux-6.6.21/drivers/staging/rtl8712/
DMakefile25 usb_intf.o \
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/
Dusb.c306 struct usb_interface *usb_intf = rtlusb->intf; in _rtl_usb_init() local
307 u8 epnums = usb_intf->cur_altsetting->desc.bNumEndpoints; in _rtl_usb_init()
313 pep_desc = &usb_intf->cur_altsetting->endpoint[epidx].desc; in _rtl_usb_init()
/linux-6.6.21/drivers/greybus/
Des2.c102 struct usb_interface *usb_intf; member
1279 es2->usb_intf = interface; in ap_probe()