Home
last modified time | relevance | path

Searched refs:to_attr (Results 1 – 5 of 5) sorted by relevance

/drivers/firmware/efi/
Desrt.c87 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function
96 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show()
/drivers/firmware/
Ddmi-sysfs.c93 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function
102 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
Dqemu_fw_cfg.c361 static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function
437 struct fw_cfg_sysfs_attribute *attr = to_attr(a); in fw_cfg_sysfs_attr_show()
/drivers/acpi/
Ddevice_sysfs.c59 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr) macro
65 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
/drivers/cpufreq/
Dcpufreq.c963 #define to_attr(a) container_of(a, struct freq_attr, attr) macro
968 struct freq_attr *fattr = to_attr(attr); in show()
986 struct freq_attr *fattr = to_attr(attr); in store()