Home
last modified time | relevance | path

Searched refs:usb_interface (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h42 struct usb_interface;
67 int (*probe)(struct usb_interface *intf,
70 void (*disconnect)(struct usb_interface *intf);
72 int (*ioctl)(struct usb_interface *intf, unsigned int code, void *buf);
74 int (*suspend)(struct usb_interface *intf, pm_message_t message);
75 int (*resume)(struct usb_interface *intf);
79 void (*shutdown)(struct usb_interface *intf);
295 const struct usb_interface *intf, uint8_t alt_index);
296 struct usb_interface *usb_ifnum_to_if(struct usb_device *dev, uint8_t iface_no);
300 void *usbd_get_intfdata(struct usb_interface *intf);
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dusb.c27 static int mt76x2u_probe(struct usb_interface *intf, in mt76x2u_probe()
86 static void mt76x2u_disconnect(struct usb_interface *intf) in mt76x2u_disconnect()
100 static int __maybe_unused mt76x2u_suspend(struct usb_interface *intf, in mt76x2u_suspend()
110 static int __maybe_unused mt76x2u_resume(struct usb_interface *intf) in mt76x2u_resume()
/freebsd/sys/dev/usb/
H A Dusb_debug.h54 struct usb_interface;
59 void usb_dump_iface(struct usb_interface *iface);
H A Dusb_device.h204 struct usb_interface *ifaces;
206 struct usb_interface ifaces[USB_IFACE_MAX];
279 struct usb_interface *linux_iface_start;
280 struct usb_interface *linux_iface_end;
H A Dusbdi.h33 struct usb_interface;
172 struct usb_interface { struct
429 struct usb_interface *iface; /* current interface */
568 struct usb_interface *usbd_get_iface(struct usb_device *udev,
571 struct usb_interface *iface);
603 uint8_t usbd_get_interface_altindex(struct usb_interface *iface);
H A Dusb_device.c820 struct usb_interface *iface; in usb_config_parse()
1052 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_set_alt_interface_index()
1282 struct usb_interface *iface; in usb_detach_device()
1331 struct usb_interface *iface; in usb_probe_and_attach_sub()
1413 struct usb_interface *iface; in usbd_set_parent_iface()
1459 struct usb_interface *iface; in usb_probe_and_attach()
1603 struct usb_interface *iface; in usb_suspend_resume()
2386 struct usb_interface *
2389 struct usb_interface *iface = udev->ifaces + iface_index; in usbd_get_iface()
2418 struct usb_interface *iface; in usbd_find_descriptor()
[all …]
H A Dusb_handle_request.c192 struct usb_interface *iface, uint8_t alt_index) in usb_check_alt_setting()
221 struct usb_interface *iface; in usb_handle_iface_request()
222 struct usb_interface *iface_parent; /* parent interface */ in usb_handle_iface_request()
H A Dusb_hid.c116 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_hid_desc()
H A Dusb_dev.h58 struct usb_interface *iface;
H A Dusb_request.c1420 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_alt_interface_no()
1446 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_alt_interface_no()
1789 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_protocol()
1818 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_report()
1846 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_report()
1874 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_idle()
1902 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_report_descriptor()
H A Dusb_debug.c137 usb_dump_iface(struct usb_interface *iface) in usb_dump_iface()
/freebsd/sys/contrib/dev/rtw88/
H A Dusb.h97 int rtw_usb_probe(struct usb_interface *intf, const struct usb_device_id *id);
98 void rtw_usb_disconnect(struct usb_interface *intf);
H A Drtw8723du.c20 static int rtw8723du_probe(struct usb_interface *intf, in rtw8723du_probe()
H A Drtw8822cu.c28 static int rtw8822cu_probe(struct usb_interface *intf, in rtw8822bu_probe()
H A Drtw8821cu.c46 static int rtw_8821cu_probe(struct usb_interface *intf,
H A Dusb.c179 struct usb_interface *interface) in rtw_usb_parse()
810 struct usb_interface *intf) in rtw_usb_probe()
835 struct usb_interface *intf) in rtw_usb_probe()
844 int rtw_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) in rtw_usb_probe()
931 void rtw_usb_disconnect(struct usb_interface *intf)
H A Drtw8822bu.c74 static int rtw8822bu_probe(struct usb_interface *intf, in rtw8822bu_probe()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dusb.c112 static int mt7663u_probe(struct usb_interface *usb_intf, in mt7663u_probe()
202 static void mt7663u_disconnect(struct usb_interface *usb_intf) in mt7663u_disconnect()
219 static int mt7663u_suspend(struct usb_interface *intf, pm_message_t state) in mt7663u_suspend()
238 static int mt7663u_resume(struct usb_interface *intf) in mt7663u_resume()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c73 struct usb_interface *sc_ui;
96 struct usb_interface *);
745 struct usb_interface *p_ui = usb_ifnum_to_if(dev, iface_no); in usb_set_interface()
864 struct usb_interface *p_ui = NULL; in usb_linux_create_usb_device()
1023 struct usb_interface *ui; in usb_find_host_endpoint()
1079 usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t alt_index) in usb_altnum_to_altsetting()
1093 struct usb_interface *
1096 struct usb_interface *p_ui; in usb_ifnum_to_if()
1122 usbd_get_intfdata(struct usb_interface *intf) in usbd_get_intfdata()
1262 usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dusb.c146 static int mt7921u_probe(struct usb_interface *usb_intf, in mt7921u_probe()
258 static int mt7921u_suspend(struct usb_interface *intf, pm_message_t state) in mt7921u_suspend()
285 static int mt7921u_resume(struct usb_interface *intf) in mt7921u_resume()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dusb.c824 struct usb_interface *interface) in ath10k_usb_setup_pipe_resources()
934 struct usb_interface *interface) in ath10k_usb_create()
992 static int ath10k_usb_probe(struct usb_interface *interface, in ath10k_usb_probe()
1063 static void ath10k_usb_remove(struct usb_interface *interface) in ath10k_usb_remove()
1080 static int ath10k_usb_pm_suspend(struct usb_interface *interface, in ath10k_usb_pm_suspend()
1089 static int ath10k_usb_pm_resume(struct usb_interface *interface) in ath10k_usb_pm_resume()
H A Dusb.h97 struct usb_interface *interface;
/freebsd/lib/libusb/
H A Dusb.h140 struct usb_interface { struct
158 struct usb_interface *interface; argument
/freebsd/sys/dev/usb/net/
H A Duhso.c450 static int uhso_attach_muxserial(struct uhso_softc *, struct usb_interface *,
452 static int uhso_attach_bulkserial(struct uhso_softc *, struct usb_interface *,
454 static int uhso_attach_ifnet(struct uhso_softc *, struct usb_interface *,
728 struct usb_interface *iface; in uhso_test_autoinst()
892 struct usb_interface *iface; in uhso_probe_iface()
1035 uhso_attach_muxserial(struct uhso_softc *sc, struct usb_interface *iface, in uhso_attach_muxserial()
1265 uhso_attach_bulkserial(struct uhso_softc *sc, struct usb_interface *iface, in uhso_attach_bulkserial()
1551 uhso_attach_ifnet(struct uhso_softc *sc, struct usb_interface *iface, int type) in uhso_attach_ifnet()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dusb.c21 struct usb_interface *uintf = to_usb_interface(dev->dev); in __mt76u_vendor_request()
285 struct usb_interface *uintf = to_usb_interface(dev->dev); in mt76u_check_sg()
294 mt76u_set_endpoints(struct usb_interface *intf, in mt76u_set_endpoints()
423 struct usb_interface *uintf = to_usb_interface(dev->dev); in mt76u_fill_bulk_urb()
1068 int __mt76u_init(struct mt76_dev *dev, struct usb_interface *intf, in __mt76u_init()
1114 int mt76u_init(struct mt76_dev *dev, struct usb_interface *intf) in mt76u_init()

12