Searched refs:to_attr (Results 1 – 5 of 5) sorted by relevance
87 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function96 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show()
93 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function102 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
361 static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function437 struct fw_cfg_sysfs_attribute *attr = to_attr(a); in fw_cfg_sysfs_attr_show()
59 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr) macro65 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
963 #define to_attr(a) container_of(a, struct freq_attr, attr) macro968 struct freq_attr *fattr = to_attr(attr); in show()986 struct freq_attr *fattr = to_attr(attr); in store()