Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.6/include/linux/
Dusb.h241 struct usb_interface { struct
273 #define to_usb_interface(__dev) container_of_const(__dev, struct usb_interface, dev) argument
275 static inline void *usb_get_intfdata(struct usb_interface *intf) in usb_get_intfdata()
291 static inline void usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata()
296 struct usb_interface *usb_get_intf(struct usb_interface *intf);
297 void usb_put_intf(struct usb_interface *intf);
306 const struct usb_interface *intf, const u8 *ep_addrs);
308 const struct usb_interface *intf, const u8 *ep_addrs);
413 struct usb_interface *interface[USB_MAXINTERFACES];
736 static inline struct usb_device *__intf_to_usbdev(struct usb_interface *intf) in __intf_to_usbdev()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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);
18 extern int usb_update_wireless_status_attr(struct usb_interface *intf);
27 struct usb_interface *intf, bool reset_toggles);
31 struct usb_interface *intf, bool reset_hardware);
36 extern void usb_deauthorize_interface(struct usb_interface *);
37 extern void usb_authorize_interface(struct usb_interface *);
79 extern void usb_forced_unbind_intf(struct usb_interface *intf);
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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);
/Linux-v6.6/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);

12345678910>>...20