Home
last modified time | relevance | path

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

12345678910>>...19

/kernel/linux/linux-5.10/include/linux/usb/
Dusbnet.h30 struct usb_interface *intf;
90 static inline struct usb_driver *driver_of(struct usb_interface *intf) in driver_of()
128 int (*bind)(struct usbnet *, struct usb_interface *);
131 void (*unbind)(struct usbnet *, struct usb_interface *);
183 extern int usbnet_probe(struct usb_interface *, const struct usb_device_id *);
184 extern int usbnet_suspend(struct usb_interface *, pm_message_t);
185 extern int usbnet_resume(struct usb_interface *);
186 extern void usbnet_disconnect(struct usb_interface *);
208 struct usb_interface *control;
209 struct usb_interface *data;
[all …]
Dcdc_ncm.h106 struct usb_interface *control;
107 struct usb_interface *data;
153 u8 cdc_ncm_select_altsetting(struct usb_interface *intf);
155 int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drv…
156 void cdc_ncm_unbind(struct usbnet *dev, struct usb_interface *intf);
/kernel/linux/linux-5.10/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);
283 const struct usb_interface *intf, const u8 *ep_addrs);
285 const struct usb_interface *intf, const u8 *ep_addrs);
390 struct usb_interface *interface[USB_MAXINTERFACES];
722 static inline struct usb_device *interface_to_usbdev(struct usb_interface *intf) in interface_to_usbdev()
[all …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/usb/misc/
Dusbsevseg.c36 struct usb_interface *intf;
171 struct usb_interface *intf = to_usb_interface(dev); \
180 struct usb_interface *intf = to_usb_interface(dev); \
193 struct usb_interface *intf = to_usb_interface(dev); in text_show()
202 struct usb_interface *intf = to_usb_interface(dev); in text_store()
224 struct usb_interface *intf = to_usb_interface(dev); in decimals_show()
246 struct usb_interface *intf = to_usb_interface(dev); in decimals_store()
273 struct usb_interface *intf = to_usb_interface(dev); in textmode_show()
299 struct usb_interface *intf = to_usb_interface(dev); in textmode_store()
330 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
116 struct usb_interface *intf) in huawei_cdc_ncm_unbind()
128 static int huawei_cdc_ncm_suspend(struct usb_interface *intf, in huawei_cdc_ncm_suspend()
156 static int huawei_cdc_ncm_resume(struct usb_interface *intf) in huawei_cdc_ncm_resume()
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_usb.c24 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev) in comedi_to_usb_interface()
42 struct usb_interface *intf = comedi_to_usb_interface(dev); in comedi_to_usb_dev()
63 int comedi_usb_auto_config(struct usb_interface *intf, in comedi_usb_auto_config()
85 void comedi_usb_auto_unconfig(struct usb_interface *intf) in comedi_usb_auto_unconfig()
Dcomedi_usb.h16 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev);
19 int comedi_usb_auto_config(struct usb_interface *intf,
21 void comedi_usb_auto_unconfig(struct usb_interface *intf);
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
Dudl_drv.c20 static int udl_usb_suspend(struct usb_interface *interface, in udl_usb_suspend()
28 static int udl_usb_resume(struct usb_interface *interface) in udl_usb_resume()
71 static struct udl_device *udl_driver_create(struct usb_interface *interface) in udl_driver_create()
93 static int udl_usb_probe(struct usb_interface *interface, in udl_usb_probe()
114 static void udl_usb_disconnect(struct usb_interface *interface) in udl_usb_disconnect()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/usb/line6/
Ddriver.h202 int line6_probe(struct usb_interface *interface,
209 void line6_disconnect(struct usb_interface *interface);
212 int line6_suspend(struct usb_interface *interface, pm_message_t message);
213 int line6_resume(struct usb_interface *interface);
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h368 struct usb_interface *intf;
390 extern int dvb_usbv2_probe(struct usb_interface *,
392 extern void dvb_usbv2_disconnect(struct usb_interface *);
393 extern int dvb_usbv2_suspend(struct usb_interface *, pm_message_t);
394 extern int dvb_usbv2_resume(struct usb_interface *);
395 extern int dvb_usbv2_reset_resume(struct usb_interface *);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dgspca.h219 int gspca_dev_probe(struct usb_interface *intf,
224 int gspca_dev_probe2(struct usb_interface *intf,
229 void gspca_disconnect(struct usb_interface *intf);
235 int gspca_suspend(struct usb_interface *intf, pm_message_t message);
236 int gspca_resume(struct usb_interface *intf);
/kernel/linux/linux-5.10/sound/usb/
Dquirks.h10 struct usb_interface *iface,
19 struct usb_interface *intf,
24 struct usb_interface *intf,
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_mux.h70 struct usb_interface *control_intf;
71 struct usb_interface *data_intf;
74 struct usb_interface *intf;

12345678910>>...19