Home
last modified time | relevance | path

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

12345678910>>...20

/linux-6.1.9/include/linux/usb/
Dusbnet.h22 struct usb_interface *intf;
81 static inline struct usb_driver *driver_of(struct usb_interface *intf) in driver_of()
119 int (*bind)(struct usbnet *, struct usb_interface *);
122 void (*unbind)(struct usbnet *, struct usb_interface *);
174 extern int usbnet_probe(struct usb_interface *, const struct usb_device_id *);
175 extern int usbnet_suspend(struct usb_interface *, pm_message_t);
176 extern int usbnet_resume(struct usb_interface *);
177 extern void usbnet_disconnect(struct usb_interface *);
199 struct usb_interface *control;
200 struct usb_interface *data;
[all …]
Dcdc_ncm.h108 struct usb_interface *control;
109 struct usb_interface *data;
155 u8 cdc_ncm_select_altsetting(struct usb_interface *intf);
157 int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drv…
158 void cdc_ncm_unbind(struct usbnet *dev, struct usb_interface *intf);
/linux-6.1.9/include/linux/
Dusb.h232 struct usb_interface { struct
261 #define to_usb_interface(d) container_of(d, struct usb_interface, dev) argument
263 static inline void *usb_get_intfdata(struct usb_interface *intf) in usb_get_intfdata()
268 static inline void usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata()
273 struct usb_interface *usb_get_intf(struct usb_interface *intf);
274 void usb_put_intf(struct usb_interface *intf);
385 struct usb_interface *interface[USB_MAXINTERFACES];
714 static inline struct usb_device *interface_to_usbdev(struct usb_interface *intf) in interface_to_usbdev()
742 const struct usb_interface *iface);
746 extern void usb_queue_reset_device(struct usb_interface *dev);
[all …]
/linux-6.1.9/drivers/usb/storage/
Dusb.h95 struct usb_interface *pusb_intf; /* this interface */
174 extern int usb_stor_suspend(struct usb_interface *iface, pm_message_t message);
175 extern int usb_stor_resume(struct usb_interface *iface);
176 extern int usb_stor_reset_resume(struct usb_interface *iface);
183 extern int usb_stor_pre_reset(struct usb_interface *iface);
184 extern int usb_stor_post_reset(struct usb_interface *iface);
187 struct usb_interface *intf,
192 extern void usb_stor_disconnect(struct usb_interface *intf);
/linux-6.1.9/drivers/net/wireless/purelifi/plfxlc/
Dusb.h57 int plfxlc_usb_wreq(struct usb_interface *ez_usb, void *buffer, int buffer_len,
130 struct usb_interface *intf;
131 struct usb_interface *ez_usb;
167 plfxlc_intf_to_hw(struct usb_interface *intf) in plfxlc_intf_to_hw()
179 struct usb_interface *intf);
191 int plfxlc_download_xl_firmware(struct usb_interface *intf);
192 int plfxlc_download_fpga(struct usb_interface *intf);
194 int plfxlc_upload_mac_and_serial(struct usb_interface *intf,
/linux-6.1.9/drivers/usb/misc/
Dusbsevseg.c36 struct usb_interface *intf;
145 struct usb_interface *intf = to_usb_interface(dev); \
154 struct usb_interface *intf = to_usb_interface(dev); \
167 struct usb_interface *intf = to_usb_interface(dev); in text_show()
176 struct usb_interface *intf = to_usb_interface(dev); in text_store()
198 struct usb_interface *intf = to_usb_interface(dev); in decimals_show()
220 struct usb_interface *intf = to_usb_interface(dev); in decimals_store()
247 struct usb_interface *intf = to_usb_interface(dev); in textmode_show()
273 struct usb_interface *intf = to_usb_interface(dev); in textmode_store()
304 static int sevseg_probe(struct usb_interface *interface, in sevseg_probe()
[all …]
Dcytherm.c34 struct usb_interface *interface; /* the interface for this device */
69 struct usb_interface *intf = to_usb_interface(dev); in brightness_show()
78 struct usb_interface *intf = to_usb_interface(dev); in brightness_store()
119 struct usb_interface *intf = to_usb_interface(dev); in temp_show()
156 struct usb_interface *intf = to_usb_interface(dev); in button_show()
185 struct usb_interface *intf = to_usb_interface(dev); in port0_show()
209 struct usb_interface *intf = to_usb_interface(dev); in port0_store()
240 struct usb_interface *intf = to_usb_interface(dev); in port1_show()
264 struct usb_interface *intf = to_usb_interface(dev); in port1_store()
303 static int cytherm_probe(struct usb_interface *interface, in cytherm_probe()
[all …]
Didmouse.c68 struct usb_interface *interface; /* the interface for this device */
88 static int idmouse_probe(struct usb_interface *interface,
91 static void idmouse_disconnect(struct usb_interface *interface);
92 static int idmouse_suspend(struct usb_interface *intf, pm_message_t message);
93 static int idmouse_resume(struct usb_interface *intf);
202 static int idmouse_suspend(struct usb_interface *intf, pm_message_t message) in idmouse_suspend()
207 static int idmouse_resume(struct usb_interface *intf) in idmouse_resume()
221 struct usb_interface *interface; in idmouse_open()
315 static int idmouse_probe(struct usb_interface *interface, in idmouse_probe()
377 static void idmouse_disconnect(struct usb_interface *interface) in idmouse_disconnect()
Dlvstest.c23 struct usb_interface *intf;
40 static struct usb_device *create_lvs_device(struct usb_interface *intf) in create_lvs_device()
104 struct usb_interface *intf = to_usb_interface(dev); in u3_entry_store()
133 struct usb_interface *intf = to_usb_interface(dev); in u3_exit_store()
162 struct usb_interface *intf = to_usb_interface(dev); in hot_reset_store()
181 struct usb_interface *intf = to_usb_interface(dev); in warm_reset_store()
200 struct usb_interface *intf = to_usb_interface(dev); in u2_timeout_store()
229 struct usb_interface *intf = to_usb_interface(dev); in u1_timeout_store()
258 struct usb_interface *intf = to_usb_interface(dev); in get_dev_desc_store()
296 struct usb_interface *intf = to_usb_interface(dev); in enable_compliance_store()
[all …]
Dtrancevibrator.c36 struct usb_interface *intf = to_usb_interface(dev); in speed_show()
45 struct usb_interface *intf = to_usb_interface(dev); in speed_store()
82 static int tv_probe(struct usb_interface *interface, in tv_probe()
105 static void tv_disconnect(struct usb_interface *interface) in tv_disconnect()
/linux-6.1.9/drivers/usb/atm/
Dusbatm.h77 int (*bind) (struct usbatm_data *, struct usb_interface *,
81 int (*heavy_init) (struct usbatm_data *, struct usb_interface *);
84 void (*unbind) (struct usbatm_data *, struct usb_interface *);
100 extern int usbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id,
102 extern void usbatm_usb_disconnect(struct usb_interface *intf);
132 struct usb_interface *usb_intf;
170 static inline void *to_usbatm_driver_data(struct usb_interface *intf) in to_usbatm_driver_data()
Dxusbatm.c38 static struct usb_interface *xusbatm_find_intf(struct usb_device *usb_dev, int altsetting, u8 ep) in xusbatm_find_intf()
41 struct usb_interface *intf; in xusbatm_find_intf()
53 struct usb_interface *intf, int altsetting, int claim) in xusbatm_capture_intf()
70 static void xusbatm_release_intf(struct usb_device *usb_dev, struct usb_interface *intf, int claime… in xusbatm_release_intf()
79 struct usb_interface *intf, const struct usb_device_id *id) in xusbatm_bind()
85 struct usb_interface *rx_intf = xusbatm_find_intf(usb_dev, rx_alt, rx_endpoint[drv_ix]); in xusbatm_bind()
86 struct usb_interface *tx_intf = xusbatm_find_intf(usb_dev, tx_alt, tx_endpoint[drv_ix]); in xusbatm_bind()
131 struct usb_interface *intf) in xusbatm_unbind()
139 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind()
160 static int xusbatm_usb_probe(struct usb_interface *intf, in xusbatm_usb_probe()
/linux-6.1.9/drivers/gpu/drm/udl/
Dudl_drv.c20 static int udl_usb_suspend(struct usb_interface *interface, in udl_usb_suspend()
34 static int udl_usb_resume(struct usb_interface *interface) in udl_usb_resume()
41 static int udl_usb_reset_resume(struct usb_interface *interface) in udl_usb_reset_resume()
85 static struct udl_device *udl_driver_create(struct usb_interface *interface) in udl_driver_create()
104 static int udl_usb_probe(struct usb_interface *interface, in udl_usb_probe()
125 static void udl_usb_disconnect(struct usb_interface *interface) in udl_usb_disconnect()
/linux-6.1.9/drivers/net/usb/
Dhuawei_cdc_ncm.c33 struct usb_interface *control;
34 struct usb_interface *data;
52 static int huawei_cdc_ncm_wdm_manage_power(struct usb_interface *intf, in huawei_cdc_ncm_wdm_manage_power()
66 struct usb_interface *intf) in huawei_cdc_ncm_bind()
117 struct usb_interface *intf) in huawei_cdc_ncm_unbind()
129 static int huawei_cdc_ncm_suspend(struct usb_interface *intf, in huawei_cdc_ncm_suspend()
157 static int huawei_cdc_ncm_resume(struct usb_interface *intf) in huawei_cdc_ncm_resume()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dusb_intf.c16 static int rtw_suspend(struct usb_interface *intf, pm_message_t message);
17 static int rtw_resume(struct usb_interface *intf);
19 static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device_id *pdid);
20 static void rtw_dev_remove(struct usb_interface *pusb_intf);
67 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) in usb_dvobj_init()
129 static void usb_dvobj_deinit(struct usb_interface *usb_intf) in usb_dvobj_deinit()
193 static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message) in rtw_suspend()
242 static int rtw_resume(struct usb_interface *pusb_intf) in rtw_resume()
289 static int rtw_usb_if1_init(struct dvobj_priv *dvobj, struct usb_interface *pusb_intf) in rtw_usb_if1_init()
411 static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device_id *pdid) in rtw_drv_init()
[all …]
/linux-6.1.9/drivers/comedi/
Dcomedi_usb.c23 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev) in comedi_to_usb_interface()
41 struct usb_interface *intf = comedi_to_usb_interface(dev); in comedi_to_usb_dev()
62 int comedi_usb_auto_config(struct usb_interface *intf, in comedi_usb_auto_config()
84 void comedi_usb_auto_unconfig(struct usb_interface *intf) in comedi_usb_auto_unconfig()
/linux-6.1.9/drivers/usb/core/
Dusb.h16 extern void usb_create_sysfs_intf_files(struct usb_interface *intf);
17 extern void usb_remove_sysfs_intf_files(struct usb_interface *intf);
26 struct usb_interface *intf, bool reset_toggles);
30 struct usb_interface *intf, bool reset_hardware);
35 extern void usb_deauthorize_interface(struct usb_interface *);
36 extern void usb_authorize_interface(struct usb_interface *);
79 extern void usb_forced_unbind_intf(struct usb_interface *intf);
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dusb.h80 struct usb_interface *intf;
135 int rtl_usb_probe(struct usb_interface *intf,
138 void rtl_usb_disconnect(struct usb_interface *intf);
139 int rtl_usb_suspend(struct usb_interface *pusb_intf, pm_message_t message);
140 int rtl_usb_resume(struct usb_interface *pusb_intf);
/linux-6.1.9/drivers/input/joystick/
Dpxrc.c23 struct usb_interface *intf;
120 static int pxrc_probe(struct usb_interface *intf, in pxrc_probe()
202 static void pxrc_disconnect(struct usb_interface *intf) in pxrc_disconnect()
207 static int pxrc_suspend(struct usb_interface *intf, pm_message_t message) in pxrc_suspend()
219 static int pxrc_resume(struct usb_interface *intf) in pxrc_resume()
232 static int pxrc_pre_reset(struct usb_interface *intf) in pxrc_pre_reset()
241 static int pxrc_post_reset(struct usb_interface *intf) in pxrc_post_reset()
254 static int pxrc_reset_resume(struct usb_interface *intf) in pxrc_reset_resume()
/linux-6.1.9/include/linux/comedi/
Dcomedi_usb.h15 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev);
18 int comedi_usb_auto_config(struct usb_interface *intf,
20 void comedi_usb_auto_unconfig(struct usb_interface *intf);
/linux-6.1.9/sound/usb/line6/
Ddriver.h200 int line6_probe(struct usb_interface *interface,
207 void line6_disconnect(struct usb_interface *interface);
210 int line6_suspend(struct usb_interface *interface, pm_message_t message);
211 int line6_resume(struct usb_interface *interface);
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c186 struct usb_interface *intf[2];
207 static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id);
208 static void ati_remote2_disconnect(struct usb_interface *interface);
209 static int ati_remote2_suspend(struct usb_interface *interface, pm_message_t message);
210 static int ati_remote2_resume(struct usb_interface *interface);
211 static int ati_remote2_reset_resume(struct usb_interface *interface);
212 static int ati_remote2_pre_reset(struct usb_interface *interface);
213 static int ati_remote2_post_reset(struct usb_interface *interface);
705 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_channel_mask()
716 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_channel_mask()
[all …]
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h380 struct usb_interface *intf;
402 extern int dvb_usbv2_probe(struct usb_interface *,
404 extern void dvb_usbv2_disconnect(struct usb_interface *);
405 extern int dvb_usbv2_suspend(struct usb_interface *, pm_message_t);
406 extern int dvb_usbv2_resume(struct usb_interface *);
407 extern int dvb_usbv2_reset_resume(struct usb_interface *);
/linux-6.1.9/drivers/media/rc/
Dstreamzap.c83 static int streamzap_probe(struct usb_interface *interface,
85 static void streamzap_disconnect(struct usb_interface *interface);
87 static int streamzap_suspend(struct usb_interface *intf, pm_message_t message);
88 static int streamzap_resume(struct usb_interface *intf);
269 static int streamzap_probe(struct usb_interface *intf, in streamzap_probe()
378 static void streamzap_disconnect(struct usb_interface *interface) in streamzap_disconnect()
396 static int streamzap_suspend(struct usb_interface *intf, pm_message_t message) in streamzap_suspend()
405 static int streamzap_resume(struct usb_interface *intf) in streamzap_resume()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.h20 struct usb_interface *intf = to_usb_interface(d); \
398 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);

12345678910>>...20