Lines Matching defs:dev
45 static ssize_t bMaxPower_show(struct device *dev, in bMaxPower_show()
62 static ssize_t configuration_show(struct device *dev, in configuration_show()
82 static ssize_t bConfigurationValue_store(struct device *dev, in bConfigurationValue_store()
119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show()
151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show()
161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show()
171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show()
181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
193 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, in maxchild_show()
203 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, in quirks_show()
213 static ssize_t avoid_reset_quirk_show(struct device *dev, in avoid_reset_quirk_show()
222 static ssize_t avoid_reset_quirk_store(struct device *dev, in avoid_reset_quirk_store()
241 static ssize_t urbnum_show(struct device *dev, struct device_attribute *attr, in urbnum_show()
251 static ssize_t removable_show(struct device *dev, struct device_attribute *attr, in removable_show()
274 static ssize_t ltm_capable_show(struct device *dev, in ltm_capable_show()
285 static ssize_t persist_show(struct device *dev, struct device_attribute *attr, in persist_show()
293 static ssize_t persist_store(struct device *dev, struct device_attribute *attr, in persist_store()
313 static int add_persist_attributes(struct device *dev) in add_persist_attributes()
331 static void remove_persist_attributes(struct device *dev) in remove_persist_attributes()
338 static ssize_t connected_duration_show(struct device *dev, in connected_duration_show()
355 static ssize_t active_duration_show(struct device *dev, in active_duration_show()
369 static ssize_t autosuspend_show(struct device *dev, in autosuspend_show()
375 static ssize_t autosuspend_store(struct device *dev, in autosuspend_store()
404 static ssize_t level_show(struct device *dev, struct device_attribute *attr, in level_show()
416 static ssize_t level_store(struct device *dev, struct device_attribute *attr, in level_store()
447 static ssize_t usb2_hardware_lpm_show(struct device *dev, in usb2_hardware_lpm_show()
461 static ssize_t usb2_hardware_lpm_store(struct device *dev, in usb2_hardware_lpm_store()
487 static ssize_t usb2_lpm_l1_timeout_show(struct device *dev, in usb2_lpm_l1_timeout_show()
495 static ssize_t usb2_lpm_l1_timeout_store(struct device *dev, in usb2_lpm_l1_timeout_store()
511 static ssize_t usb2_lpm_besl_show(struct device *dev, in usb2_lpm_besl_show()
518 static ssize_t usb2_lpm_besl_store(struct device *dev, in usb2_lpm_besl_store()
557 static int add_power_attributes(struct device *dev) in add_power_attributes()
572 static void remove_power_attributes(struct device *dev) in remove_power_attributes()
580 #define add_persist_attributes(dev) 0 argument
581 #define remove_persist_attributes(dev) do {} while (0) argument
583 #define add_power_attributes(dev) 0 argument
584 #define remove_power_attributes(dev) do {} while (0) argument
627 static ssize_t authorized_show(struct device *dev, in authorized_show()
639 static ssize_t authorized_store(struct device *dev, in authorized_store()
659 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
728 struct device *dev = container_of(kobj, struct device, kobj); in dev_string_attrs_are_visible() local
762 struct device *dev = container_of(kobj, struct device, kobj); in read_descriptors() local
806 struct device *dev = &udev->dev; in usb_create_sysfs_dev_files() local
828 struct device *dev = &udev->dev; in usb_remove_sysfs_dev_files() local
874 static ssize_t interface_show(struct device *dev, struct device_attribute *attr, in interface_show()
888 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
914 static ssize_t supports_autosuspend_show(struct device *dev, in supports_autosuspend_show()
956 struct device *dev = container_of(kobj, struct device, kobj); in intf_assoc_attrs_are_visible() local