Home
last modified time | relevance | path

Searched refs:to_dev_attr (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt157 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
162 struct device_attribute *dev_attr = to_dev_attr(attr);
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dlm3533-core.c355 #define to_dev_attr(_attr) \ macro
363 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dhwmon.c55 #define to_dev_attr(a) container_of(a, struct device_attribute, attr) macro
105 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dsysfs.rst175 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
180 struct device_attribute *dev_attr = to_dev_attr(attr);
/OK3568_Linux_fs/kernel/include/scsi/
H A Dlibsas.h76 #define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ macro
/OK3568_Linux_fs/kernel/drivers/most/
H A Dcore.c329 #define to_dev_attr(a) container_of(a, struct device_attribute, attr) macro
333 struct device_attribute *dev_attr = to_dev_attr(attr); in channel_attr_is_visible()
/OK3568_Linux_fs/kernel/drivers/base/
H A Dcore.c1974 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro
1979 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_show()
1995 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_store()