Lines Matching defs:dev
44 static ssize_t show_configuration_string(struct device *dev, in show_configuration_string()
62 set_bConfigurationValue(struct device *dev, struct device_attribute *attr, in set_bConfigurationValue()
100 show_speed(struct device *dev, struct device_attribute *attr, char *buf) in show_speed()
132 show_busnum(struct device *dev, struct device_attribute *attr, char *buf) in show_busnum()
142 show_devnum(struct device *dev, struct device_attribute *attr, char *buf) in show_devnum()
152 show_devpath(struct device *dev, struct device_attribute *attr, char *buf) in show_devpath()
162 show_version(struct device *dev, struct device_attribute *attr, char *buf) in show_version()
174 show_maxchild(struct device *dev, struct device_attribute *attr, char *buf) in show_maxchild()
184 show_quirks(struct device *dev, struct device_attribute *attr, char *buf) in show_quirks()
194 show_avoid_reset_quirk(struct device *dev, struct device_attribute *attr, char *buf) in show_avoid_reset_quirk()
203 set_avoid_reset_quirk(struct device *dev, struct device_attribute *attr, in set_avoid_reset_quirk()
224 show_urbnum(struct device *dev, struct device_attribute *attr, char *buf) in show_urbnum()
237 show_persist(struct device *dev, struct device_attribute *attr, char *buf) in show_persist()
245 set_persist(struct device *dev, struct device_attribute *attr, in set_persist()
266 static int add_persist_attributes(struct device *dev) in add_persist_attributes()
284 static void remove_persist_attributes(struct device *dev) in remove_persist_attributes()
292 #define add_persist_attributes(dev) 0 argument
293 #define remove_persist_attributes(dev) do {} while (0) argument
300 show_connected_duration(struct device *dev, struct device_attribute *attr, in show_connected_duration()
319 show_active_duration(struct device *dev, struct device_attribute *attr, in show_active_duration()
335 show_autosuspend(struct device *dev, struct device_attribute *attr, char *buf) in show_autosuspend()
341 set_autosuspend(struct device *dev, struct device_attribute *attr, in set_autosuspend()
371 show_level(struct device *dev, struct device_attribute *attr, char *buf) in show_level()
383 set_level(struct device *dev, struct device_attribute *attr, in set_level()
416 show_usb2_hardware_lpm(struct device *dev, struct device_attribute *attr, in show_usb2_hardware_lpm()
431 set_usb2_hardware_lpm(struct device *dev, struct device_attribute *attr, in set_usb2_hardware_lpm()
477 static int add_power_attributes(struct device *dev) in add_power_attributes()
492 static void remove_power_attributes(struct device *dev) in remove_power_attributes()
500 #define add_power_attributes(dev) 0 argument
501 #define remove_power_attributes(dev) do {} while (0) argument
545 static ssize_t usb_dev_authorized_show(struct device *dev, in usb_dev_authorized_show()
559 static ssize_t usb_dev_authorized_store(struct device *dev, in usb_dev_authorized_store()
580 static ssize_t usb_remove_store(struct device *dev, in usb_remove_store()
648 struct device *dev = container_of(kobj, struct device, kobj); in dev_string_attrs_are_visible() local
682 struct device *dev = container_of(kobj, struct device, kobj); in read_descriptors() local
724 struct device *dev = &udev->dev; in usb_create_sysfs_dev_files() local
746 struct device *dev = &udev->dev; in usb_remove_sysfs_dev_files() local
792 static ssize_t show_interface_string(struct device *dev, in show_interface_string()
808 static ssize_t show_modalias(struct device *dev, in show_modalias()
833 static ssize_t show_supports_autosuspend(struct device *dev, in show_supports_autosuspend()
883 struct device *dev = container_of(kobj, struct device, kobj); in intf_assoc_attrs_are_visible() local