Lines Matching refs:attr

22 			    struct device_attribute *attr, char *buf)	\
46 struct device_attribute *attr, char *buf) in bMaxPower_show() argument
63 struct device_attribute *attr, char *buf) in configuration_show() argument
83 struct device_attribute *attr, in bConfigurationValue_store() argument
102 struct device_attribute *attr, char *buf) \
119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() argument
151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() argument
161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() argument
171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() argument
181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() argument
193 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, in maxchild_show() argument
203 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, in quirks_show() argument
214 struct device_attribute *attr, char *buf) in avoid_reset_quirk_show() argument
223 struct device_attribute *attr, in avoid_reset_quirk_store() argument
241 static ssize_t urbnum_show(struct device *dev, struct device_attribute *attr, in urbnum_show() argument
251 static ssize_t removable_show(struct device *dev, struct device_attribute *attr, in removable_show() argument
275 struct device_attribute *attr, char *buf) in ltm_capable_show() argument
285 static ssize_t persist_show(struct device *dev, struct device_attribute *attr, in persist_show() argument
293 static ssize_t persist_store(struct device *dev, struct device_attribute *attr, in persist_store() argument
325 &dev_attr_persist.attr, in add_persist_attributes()
334 &dev_attr_persist.attr, in remove_persist_attributes()
339 struct device_attribute *attr, char *buf) in connected_duration_show() argument
356 struct device_attribute *attr, char *buf) in active_duration_show() argument
370 struct device_attribute *attr, char *buf) in autosuspend_show() argument
376 struct device_attribute *attr, const char *buf, in autosuspend_store() argument
404 static ssize_t level_show(struct device *dev, struct device_attribute *attr, in level_show() argument
416 static ssize_t level_store(struct device *dev, struct device_attribute *attr, in level_store() argument
448 struct device_attribute *attr, char *buf) in usb2_hardware_lpm_show() argument
462 struct device_attribute *attr, in usb2_hardware_lpm_store() argument
488 struct device_attribute *attr, in usb2_lpm_l1_timeout_show() argument
496 struct device_attribute *attr, in usb2_lpm_l1_timeout_store() argument
512 struct device_attribute *attr, char *buf) in usb2_lpm_besl_show() argument
519 struct device_attribute *attr, in usb2_lpm_besl_store() argument
535 &dev_attr_usb2_hardware_lpm.attr,
536 &dev_attr_usb2_lpm_l1_timeout.attr,
537 &dev_attr_usb2_lpm_besl.attr,
546 &dev_attr_autosuspend.attr,
547 &dev_attr_level.attr,
548 &dev_attr_connected_duration.attr,
549 &dev_attr_active_duration.attr,
592 field##_show(struct device *dev, struct device_attribute *attr, \
609 field##_show(struct device *dev, struct device_attribute *attr, \
628 struct device_attribute *attr, char *buf) in authorized_show() argument
640 struct device_attribute *attr, const char *buf, in authorized_store() argument
659 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store() argument
682 &dev_attr_configuration.attr,
683 &dev_attr_bNumInterfaces.attr,
684 &dev_attr_bConfigurationValue.attr,
685 &dev_attr_bmAttributes.attr,
686 &dev_attr_bMaxPower.attr,
688 &dev_attr_urbnum.attr,
689 &dev_attr_idVendor.attr,
690 &dev_attr_idProduct.attr,
691 &dev_attr_bcdDevice.attr,
692 &dev_attr_bDeviceClass.attr,
693 &dev_attr_bDeviceSubClass.attr,
694 &dev_attr_bDeviceProtocol.attr,
695 &dev_attr_bNumConfigurations.attr,
696 &dev_attr_bMaxPacketSize0.attr,
697 &dev_attr_speed.attr,
698 &dev_attr_busnum.attr,
699 &dev_attr_devnum.attr,
700 &dev_attr_devpath.attr,
701 &dev_attr_version.attr,
702 &dev_attr_maxchild.attr,
703 &dev_attr_quirks.attr,
704 &dev_attr_avoid_reset_quirk.attr,
705 &dev_attr_authorized.attr,
706 &dev_attr_remove.attr,
707 &dev_attr_removable.attr,
708 &dev_attr_ltm_capable.attr,
719 &dev_attr_manufacturer.attr,
720 &dev_attr_product.attr,
721 &dev_attr_serial.attr,
731 if (a == &dev_attr_manufacturer.attr) { in dev_string_attrs_are_visible()
734 } else if (a == &dev_attr_product.attr) { in dev_string_attrs_are_visible()
737 } else if (a == &dev_attr_serial.attr) { in dev_string_attrs_are_visible()
759 struct bin_attribute *attr, in read_descriptors() argument
799 .attr = {.name = "descriptors", .mode = 0444},
838 iad_##field##_show(struct device *dev, struct device_attribute *attr, \
857 field##_show(struct device *dev, struct device_attribute *attr, \
874 static ssize_t interface_show(struct device *dev, struct device_attribute *attr, in interface_show() argument
888 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
915 struct device_attribute *attr, in supports_autosuspend_show() argument
930 &dev_attr_bInterfaceNumber.attr,
931 &dev_attr_bAlternateSetting.attr,
932 &dev_attr_bNumEndpoints.attr,
933 &dev_attr_bInterfaceClass.attr,
934 &dev_attr_bInterfaceSubClass.attr,
935 &dev_attr_bInterfaceProtocol.attr,
936 &dev_attr_modalias.attr,
937 &dev_attr_supports_autosuspend.attr,
945 &dev_attr_iad_bFirstInterface.attr,
946 &dev_attr_iad_bInterfaceCount.attr,
947 &dev_attr_iad_bFunctionClass.attr,
948 &dev_attr_iad_bFunctionSubClass.attr,
949 &dev_attr_iad_bFunctionProtocol.attr,