Home
last modified time | relevance | path

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

12345678910>>...18

/drivers/usb/storage/
Dusb.h109 struct usb_interface *pusb_intf; /* this interface */
185 extern int usb_stor_suspend(struct usb_interface *iface, pm_message_t message);
186 extern int usb_stor_resume(struct usb_interface *iface);
187 extern int usb_stor_reset_resume(struct usb_interface *iface);
194 extern int usb_stor_pre_reset(struct usb_interface *iface);
195 extern int usb_stor_post_reset(struct usb_interface *iface);
198 struct usb_interface *intf,
202 extern void usb_stor_disconnect(struct usb_interface *intf);
Dusb.c155 struct usb_interface *intf) in us_set_lock_class()
174 struct usb_interface *intf) in us_set_lock_class()
182 int usb_stor_suspend(struct usb_interface *iface, pm_message_t message) in usb_stor_suspend()
200 int usb_stor_resume(struct usb_interface *iface) in usb_stor_resume()
214 int usb_stor_reset_resume(struct usb_interface *iface) in usb_stor_reset_resume()
234 int usb_stor_pre_reset(struct usb_interface *iface) in usb_stor_pre_reset()
244 int usb_stor_post_reset(struct usb_interface *iface) in usb_stor_post_reset()
433 static int associate_dev(struct us_data *us, struct usb_interface *intf) in associate_dev()
908 static unsigned int usb_stor_sg_tablesize(struct usb_interface *intf) in usb_stor_sg_tablesize()
920 struct usb_interface *intf, in usb_stor_probe1()
[all …]
/drivers/usb/misc/
Dusbsevseg.c40 struct usb_interface *intf;
177 struct usb_interface *intf = to_usb_interface(dev); \
186 struct usb_interface *intf = to_usb_interface(dev); \
199 struct usb_interface *intf = to_usb_interface(dev); in show_attr_text()
208 struct usb_interface *intf = to_usb_interface(dev); in set_attr_text()
230 struct usb_interface *intf = to_usb_interface(dev); in show_attr_decimals()
252 struct usb_interface *intf = to_usb_interface(dev); in set_attr_decimals()
279 struct usb_interface *intf = to_usb_interface(dev); in show_attr_textmode()
305 struct usb_interface *intf = to_usb_interface(dev); in set_attr_textmode()
341 static int sevseg_probe(struct usb_interface *interface, in sevseg_probe()
[all …]
Dcytherm.c39 struct usb_interface *interface; /* the interface for this device */
45 static int cytherm_probe(struct usb_interface *interface,
47 static void cytherm_disconnect(struct usb_interface *interface);
88 struct usb_interface *intf = to_usb_interface(dev); in show_brightness()
97 struct usb_interface *intf = to_usb_interface(dev); in set_brightness()
142 struct usb_interface *intf = to_usb_interface(dev); in show_temp()
188 struct usb_interface *intf = to_usb_interface(dev); in show_button()
226 struct usb_interface *intf = to_usb_interface(dev); in show_port0()
252 struct usb_interface *intf = to_usb_interface(dev); in set_port0()
286 struct usb_interface *intf = to_usb_interface(dev); in show_port1()
[all …]
Didmouse.c74 struct usb_interface *interface; /* the interface for this device */
94 static int idmouse_probe(struct usb_interface *interface,
97 static void idmouse_disconnect(struct usb_interface *interface);
98 static int idmouse_suspend(struct usb_interface *intf, pm_message_t message);
99 static int idmouse_resume(struct usb_interface *intf);
208 static int idmouse_suspend(struct usb_interface *intf, pm_message_t message) in idmouse_suspend()
213 static int idmouse_resume(struct usb_interface *intf) in idmouse_resume()
227 struct usb_interface *interface; in idmouse_open()
335 static int idmouse_probe(struct usb_interface *interface, in idmouse_probe()
403 static void idmouse_disconnect(struct usb_interface *interface) in idmouse_disconnect()
Dlvstest.c26 struct usb_interface *intf;
45 static struct usb_device *create_lvs_device(struct usb_interface *intf) in create_lvs_device()
109 struct usb_interface *intf = to_usb_interface(dev); in u3_entry_store()
138 struct usb_interface *intf = to_usb_interface(dev); in u3_exit_store()
167 struct usb_interface *intf = to_usb_interface(dev); in hot_reset_store()
186 struct usb_interface *intf = to_usb_interface(dev); in u2_timeout_store()
215 struct usb_interface *intf = to_usb_interface(dev); in u1_timeout_store()
244 struct usb_interface *intf = to_usb_interface(dev); in get_dev_desc_store()
298 struct usb_interface *intf = lvs->intf; in lvs_rh_work()
361 static int lvs_rh_probe(struct usb_interface *intf, in lvs_rh_probe()
[all …]
Dtrancevibrator.c51 struct usb_interface *intf = to_usb_interface(dev); in show_speed()
60 struct usb_interface *intf = to_usb_interface(dev); in set_speed()
90 static int tv_probe(struct usb_interface *interface, in tv_probe()
120 static void tv_disconnect(struct usb_interface *interface) in tv_disconnect()
/drivers/usb/atm/
Dxusbatm.c52 static struct usb_interface *xusbatm_find_intf(struct usb_device *usb_dev, int altsetting, u8 ep) in xusbatm_find_intf()
55 struct usb_interface *intf; in xusbatm_find_intf()
67 struct usb_interface *intf, int altsetting, int claim) in xusbatm_capture_intf()
83 static void xusbatm_release_intf(struct usb_device *usb_dev, struct usb_interface *intf, int claime… in xusbatm_release_intf()
92 struct usb_interface *intf, const struct usb_device_id *id) in xusbatm_bind()
98 struct usb_interface *rx_intf = xusbatm_find_intf(usb_dev, rx_alt, rx_endpoint[drv_ix]); in xusbatm_bind()
99 struct usb_interface *tx_intf = xusbatm_find_intf(usb_dev, tx_alt, tx_endpoint[drv_ix]); in xusbatm_bind()
143 struct usb_interface *intf) in xusbatm_unbind()
151 struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; in xusbatm_unbind()
172 static int xusbatm_usb_probe(struct usb_interface *intf, in xusbatm_usb_probe()
Dusbatm.h91 int (*bind) (struct usbatm_data *, struct usb_interface *,
95 int (*heavy_init) (struct usbatm_data *, struct usb_interface *);
98 void (*unbind) (struct usbatm_data *, struct usb_interface *);
114 extern int usbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id,
116 extern void usbatm_usb_disconnect(struct usb_interface *intf);
146 struct usb_interface *usb_intf;
184 static inline void *to_usbatm_driver_data(struct usb_interface *intf) in to_usbatm_driver_data()
/drivers/net/usb/
Dhuawei_cdc_ncm.c37 struct usb_interface *control;
38 struct usb_interface *data;
56 static int huawei_cdc_ncm_wdm_manage_power(struct usb_interface *intf, in huawei_cdc_ncm_wdm_manage_power()
70 struct usb_interface *intf) in huawei_cdc_ncm_bind()
111 struct usb_interface *intf) in huawei_cdc_ncm_unbind()
123 static int huawei_cdc_ncm_suspend(struct usb_interface *intf, in huawei_cdc_ncm_suspend()
151 static int huawei_cdc_ncm_resume(struct usb_interface *intf) in huawei_cdc_ncm_resume()
/drivers/usb/wusbcore/
Dcbaf.c106 struct usb_interface *usb_iface;
317 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_show()
330 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_store()
364 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_show()
375 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_store()
391 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_show()
402 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_store()
430 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_show()
443 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_store()
473 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_device_band_groups_show()
[all …]
/drivers/staging/comedi/
Dcomedi_usb.c27 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev) in comedi_to_usb_interface()
39 struct usb_interface *intf = comedi_to_usb_interface(dev); in comedi_to_usb_dev()
53 int comedi_usb_auto_config(struct usb_interface *intf, in comedi_usb_auto_config()
67 void comedi_usb_auto_unconfig(struct usb_interface *intf) in comedi_usb_auto_unconfig()
/drivers/usb/core/
Ddriver.c227 static const struct usb_device_id *usb_match_dynamic_id(struct usb_interface *intf, in usb_match_dynamic_id()
282 struct usb_interface *intf = to_usb_interface(dev); in usb_probe_interface()
388 struct usb_interface *intf = to_usb_interface(dev); in usb_unbind_interface()
504 struct usb_interface *iface, void *priv) in usb_driver_claim_interface()
577 struct usb_interface *iface) in usb_driver_release_interface()
676 int usb_match_one_id(struct usb_interface *interface, in usb_match_one_id()
769 const struct usb_device_id *usb_match_id(struct usb_interface *interface, in usb_match_id()
804 struct usb_interface *intf; in usb_device_match()
834 struct usb_interface *intf = to_usb_interface(dev); in usb_uevent()
1010 void usb_forced_unbind_intf(struct usb_interface *intf) in usb_forced_unbind_intf()
[all …]
Dusb.h11 extern void usb_create_sysfs_intf_files(struct usb_interface *intf);
12 extern void usb_remove_sysfs_intf_files(struct usb_interface *intf);
21 struct usb_interface *intf, bool reset_toggles);
25 struct usb_interface *intf, bool reset_hardware);
57 extern void usb_forced_unbind_intf(struct usb_interface *intf);
/drivers/net/wireless/rtlwifi/
Dusb.h105 struct usb_interface *intf;
162 int rtl_usb_probe(struct usb_interface *intf,
165 void rtl_usb_disconnect(struct usb_interface *intf);
166 int rtl_usb_suspend(struct usb_interface *pusb_intf, pm_message_t message);
167 int rtl_usb_resume(struct usb_interface *pusb_intf);
/drivers/input/misc/
Dati_remote2.c191 struct usb_interface *intf[2];
212 static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id);
213 static void ati_remote2_disconnect(struct usb_interface *interface);
214 static int ati_remote2_suspend(struct usb_interface *interface, pm_message_t message);
215 static int ati_remote2_resume(struct usb_interface *interface);
216 static int ati_remote2_reset_resume(struct usb_interface *interface);
217 static int ati_remote2_pre_reset(struct usb_interface *interface);
218 static int ati_remote2_post_reset(struct usb_interface *interface);
710 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_show_channel_mask()
721 struct usb_interface *intf = usb_ifnum_to_if(udev, 0); in ati_remote2_store_channel_mask()
[all …]
/drivers/staging/line6/
Dpodhd.c80 static void podhd_destruct(struct usb_interface *interface) in podhd_destruct()
92 static int podhd_try_init(struct usb_interface *interface, in podhd_try_init()
124 int line6_podhd_init(struct usb_interface *interface, in line6_podhd_init()
138 void line6_podhd_disconnect(struct usb_interface *interface) in line6_podhd_disconnect()
Dpod.c198 struct usb_interface *interface = to_usb_interface(dev); in serial_number_show()
210 struct usb_interface *interface = to_usb_interface(dev); in firmware_version_show()
223 struct usb_interface *interface = to_usb_interface(dev); in device_id_show()
336 static void pod_destruct(struct usb_interface *interface) in pod_destruct()
364 static int pod_try_init(struct usb_interface *interface, in pod_try_init()
421 int line6_pod_init(struct usb_interface *interface, struct usb_line6_pod *pod) in line6_pod_init()
434 void line6_pod_disconnect(struct usb_interface *interface) in line6_pod_disconnect()
Dvariax.c158 static void variax_destruct(struct usb_interface *interface) in variax_destruct()
176 static int variax_try_init(struct usb_interface *interface, in variax_try_init()
215 int line6_variax_init(struct usb_interface *interface, in line6_variax_init()
229 void line6_variax_disconnect(struct usb_interface *interface) in line6_variax_disconnect()
/drivers/media/rc/
Dstreamzap.c83 struct usb_interface *interface;
109 static int streamzap_probe(struct usb_interface *interface,
111 static void streamzap_disconnect(struct usb_interface *interface);
113 static int streamzap_suspend(struct usb_interface *intf, pm_message_t message);
114 static int streamzap_resume(struct usb_interface *intf);
336 static int streamzap_probe(struct usb_interface *intf, in streamzap_probe()
468 static void streamzap_disconnect(struct usb_interface *interface) in streamzap_disconnect()
487 static int streamzap_suspend(struct usb_interface *intf, pm_message_t message) in streamzap_suspend()
496 static int streamzap_resume(struct usb_interface *intf) in streamzap_resume()
/drivers/net/wireless/rt2x00/
Drt2x00usb.h31 struct usb_interface *intf = to_usb_interface(d); \
430 int rt2x00usb_probe(struct usb_interface *usb_intf,
432 void rt2x00usb_disconnect(struct usb_interface *usb_intf);
434 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state);
435 int rt2x00usb_resume(struct usb_interface *usb_intf);
/drivers/media/usb/gspca/
Dgspca.h216 int gspca_dev_probe(struct usb_interface *intf,
221 int gspca_dev_probe2(struct usb_interface *intf,
226 void gspca_disconnect(struct usb_interface *intf);
232 int gspca_suspend(struct usb_interface *intf, pm_message_t message);
233 int gspca_resume(struct usb_interface *intf);
/drivers/staging/rtl8723au/os_dep/
Dusb_intf.c27 static int rtw_suspend(struct usb_interface *intf, pm_message_t message);
28 static int rtw_resume(struct usb_interface *intf);
29 static int rtw_drv_init(struct usb_interface *pusb_intf,
31 static void rtw_disconnect(struct usb_interface *pusb_intf);
91 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) in usb_dvobj_init()
204 static void usb_dvobj_deinit(struct usb_interface *usb_intf) in usb_dvobj_deinit()
390 static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message) in rtw_suspend()
459 static int rtw_resume(struct usb_interface *pusb_intf) in rtw_resume()
515 struct usb_interface *pusb_intf, in rtw_usb_if1_init()
648 static int rtw_drv_init(struct usb_interface *pusb_intf, in rtw_drv_init()
[all …]
/drivers/staging/gdm724x/
Dgdm_mux.h80 struct usb_interface *control_intf;
81 struct usb_interface *data_intf;
84 struct usb_interface *intf;
/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h394 extern int dvb_usbv2_probe(struct usb_interface *,
396 extern void dvb_usbv2_disconnect(struct usb_interface *);
397 extern int dvb_usbv2_suspend(struct usb_interface *, pm_message_t);
398 extern int dvb_usbv2_resume(struct usb_interface *);
399 extern int dvb_usbv2_reset_resume(struct usb_interface *);

12345678910>>...18