Lines Matching refs:attr
22 struct device_attribute *attr, char *buf) \
48 struct device_attribute *attr, char *buf) in bMaxPower_show() argument
67 struct device_attribute *attr, char *buf) in configuration_show() argument
89 struct device_attribute *attr, in bConfigurationValue_store() argument
110 struct device_attribute *attr, char *buf) \
129 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() argument
164 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() argument
174 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() argument
184 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() argument
194 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() argument
206 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, in maxchild_show() argument
216 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, in quirks_show() argument
227 struct device_attribute *attr, char *buf) in avoid_reset_quirk_show() argument
236 struct device_attribute *attr, in avoid_reset_quirk_store() argument
256 static ssize_t urbnum_show(struct device *dev, struct device_attribute *attr, in urbnum_show() argument
266 static ssize_t removable_show(struct device *dev, struct device_attribute *attr, in removable_show() argument
290 struct device_attribute *attr, char *buf) in ltm_capable_show() argument
300 static ssize_t persist_show(struct device *dev, struct device_attribute *attr, in persist_show() argument
308 static ssize_t persist_store(struct device *dev, struct device_attribute *attr, in persist_store() argument
342 &dev_attr_persist.attr, in add_persist_attributes()
351 &dev_attr_persist.attr, in remove_persist_attributes()
356 struct device_attribute *attr, char *buf) in connected_duration_show() argument
373 struct device_attribute *attr, char *buf) in active_duration_show() argument
387 struct device_attribute *attr, char *buf) in autosuspend_show() argument
393 struct device_attribute *attr, const char *buf, in autosuspend_store() argument
421 static ssize_t level_show(struct device *dev, struct device_attribute *attr, in level_show() argument
433 static ssize_t level_store(struct device *dev, struct device_attribute *attr, in level_store() argument
468 struct device_attribute *attr, char *buf) in usb2_hardware_lpm_show() argument
482 struct device_attribute *attr, in usb2_hardware_lpm_store() argument
510 struct device_attribute *attr, in usb2_lpm_l1_timeout_show() argument
518 struct device_attribute *attr, in usb2_lpm_l1_timeout_store() argument
534 struct device_attribute *attr, char *buf) in usb2_lpm_besl_show() argument
541 struct device_attribute *attr, in usb2_lpm_besl_store() argument
557 struct device_attribute *attr, char *buf) in usb3_hardware_lpm_u1_show() argument
579 struct device_attribute *attr, char *buf) in usb3_hardware_lpm_u2_show() argument
601 &dev_attr_usb2_hardware_lpm.attr,
602 &dev_attr_usb2_lpm_l1_timeout.attr,
603 &dev_attr_usb2_lpm_besl.attr,
612 &dev_attr_usb3_hardware_lpm_u1.attr,
613 &dev_attr_usb3_hardware_lpm_u2.attr,
622 &dev_attr_autosuspend.attr,
623 &dev_attr_level.attr,
624 &dev_attr_connected_duration.attr,
625 &dev_attr_active_duration.attr,
672 field##_show(struct device *dev, struct device_attribute *attr, \
689 field##_show(struct device *dev, struct device_attribute *attr, \
708 struct device_attribute *attr, char *buf) in authorized_show() argument
720 struct device_attribute *attr, const char *buf, in authorized_store() argument
739 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store() argument
762 &dev_attr_configuration.attr,
763 &dev_attr_bNumInterfaces.attr,
764 &dev_attr_bConfigurationValue.attr,
765 &dev_attr_bmAttributes.attr,
766 &dev_attr_bMaxPower.attr,
768 &dev_attr_urbnum.attr,
769 &dev_attr_idVendor.attr,
770 &dev_attr_idProduct.attr,
771 &dev_attr_bcdDevice.attr,
772 &dev_attr_bDeviceClass.attr,
773 &dev_attr_bDeviceSubClass.attr,
774 &dev_attr_bDeviceProtocol.attr,
775 &dev_attr_bNumConfigurations.attr,
776 &dev_attr_bMaxPacketSize0.attr,
777 &dev_attr_speed.attr,
778 &dev_attr_busnum.attr,
779 &dev_attr_devnum.attr,
780 &dev_attr_devpath.attr,
781 &dev_attr_version.attr,
782 &dev_attr_maxchild.attr,
783 &dev_attr_quirks.attr,
784 &dev_attr_avoid_reset_quirk.attr,
785 &dev_attr_authorized.attr,
786 &dev_attr_remove.attr,
787 &dev_attr_removable.attr,
788 &dev_attr_ltm_capable.attr,
799 &dev_attr_manufacturer.attr,
800 &dev_attr_product.attr,
801 &dev_attr_serial.attr,
811 if (a == &dev_attr_manufacturer.attr) { in dev_string_attrs_are_visible()
814 } else if (a == &dev_attr_product.attr) { in dev_string_attrs_are_visible()
817 } else if (a == &dev_attr_serial.attr) { in dev_string_attrs_are_visible()
839 struct bin_attribute *attr, in read_descriptors() argument
877 .attr = {.name = "descriptors", .mode = 0444},
916 iad_##field##_show(struct device *dev, struct device_attribute *attr, \
935 field##_show(struct device *dev, struct device_attribute *attr, \
952 static ssize_t interface_show(struct device *dev, struct device_attribute *attr, in interface_show() argument
966 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
993 struct device_attribute *attr, in supports_autosuspend_show() argument
1014 struct device_attribute *attr, char *buf) in interface_authorized_show() argument
1025 struct device_attribute *attr, const char *buf, size_t count) in interface_authorized_store() argument
1045 &dev_attr_bInterfaceNumber.attr,
1046 &dev_attr_bAlternateSetting.attr,
1047 &dev_attr_bNumEndpoints.attr,
1048 &dev_attr_bInterfaceClass.attr,
1049 &dev_attr_bInterfaceSubClass.attr,
1050 &dev_attr_bInterfaceProtocol.attr,
1051 &dev_attr_modalias.attr,
1052 &dev_attr_supports_autosuspend.attr,
1053 &dev_attr_interface_authorized.attr,
1061 &dev_attr_iad_bFirstInterface.attr,
1062 &dev_attr_iad_bInterfaceCount.attr,
1063 &dev_attr_iad_bFunctionClass.attr,
1064 &dev_attr_iad_bFunctionSubClass.attr,
1065 &dev_attr_iad_bFunctionProtocol.attr,