• Home
  • Raw
  • Download

Lines Matching refs:udev

20 				struct usb_device *udev);
37 extern void usb_detect_quirks(struct usb_device *udev);
38 extern void usb_detect_interface_quirks(struct usb_device *udev);
40 extern bool usb_endpoint_is_ignored(struct usb_device *udev,
43 extern int usb_remove_device(struct usb_device *udev);
46 struct usb_device *udev);
50 extern char *usb_cache_string(struct usb_device *udev, int index);
52 extern int usb_choose_configuration(struct usb_device *udev);
53 extern int usb_generic_driver_probe(struct usb_device *udev);
54 extern void usb_generic_driver_disconnect(struct usb_device *udev);
55 extern int usb_generic_driver_suspend(struct usb_device *udev,
57 extern int usb_generic_driver_resume(struct usb_device *udev,
60 static inline unsigned usb_get_max_power(struct usb_device *udev, in usb_get_max_power() argument
64 unsigned mul = (udev->speed >= USB_SPEED_SUPER ? 8 : 2); in usb_get_max_power()
75 extern const struct usb_device_id *usb_device_match_id(struct usb_device *udev,
77 extern bool usb_driver_applicable(struct usb_device *udev,
80 extern void usb_unbind_and_rebind_marked_interfaces(struct usb_device *udev);
84 extern bool usb_device_is_owned(struct usb_device *udev);
90 extern int usb_device_supports_lpm(struct usb_device *udev);
91 extern int usb_port_disable(struct usb_device *udev);
102 extern void usb_autosuspend_device(struct usb_device *udev);
103 extern int usb_autoresume_device(struct usb_device *udev);
108 extern int usb_enable_usb2_hardware_lpm(struct usb_device *udev);
109 extern int usb_disable_usb2_hardware_lpm(struct usb_device *udev);
111 extern void usbfs_notify_suspend(struct usb_device *udev);
112 extern void usbfs_notify_resume(struct usb_device *udev);
116 static inline int usb_port_suspend(struct usb_device *udev, pm_message_t msg) in usb_port_suspend() argument
121 static inline int usb_port_resume(struct usb_device *udev, pm_message_t msg) in usb_port_resume() argument
126 #define usb_autosuspend_device(udev) do {} while (0) argument
127 static inline int usb_autoresume_device(struct usb_device *udev) in usb_autoresume_device() argument
132 static inline int usb_enable_usb2_hardware_lpm(struct usb_device *udev) in usb_enable_usb2_hardware_lpm() argument
137 static inline int usb_disable_usb2_hardware_lpm(struct usb_device *udev) in usb_disable_usb2_hardware_lpm() argument
172 static inline int is_root_hub(struct usb_device *udev) in is_root_hub() argument
174 return (udev->parent == NULL); in is_root_hub()
207 extern void usb_notify_add_device(struct usb_device *udev);
208 extern void usb_notify_remove_device(struct usb_device *udev);