Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt157 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
162 struct device_attribute *dev_attr = to_dev_attr(attr);
/linux-6.1.9/Documentation/translations/zh_TW/filesystems/
Dsysfs.txt160 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
165 struct device_attribute *dev_attr = to_dev_attr(attr);
/linux-6.1.9/drivers/mfd/
Dlm3533-core.c355 #define to_dev_attr(_attr) \ macro
363 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible()
/linux-6.1.9/drivers/hwmon/
Dhwmon.c57 #define to_dev_attr(a) container_of(a, struct device_attribute, attr) macro
119 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs()
/linux-6.1.9/Documentation/filesystems/
Dsysfs.rst175 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
180 struct device_attribute *dev_attr = to_dev_attr(attr);
/linux-6.1.9/include/scsi/
Dlibsas.h76 #define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ macro
/linux-6.1.9/drivers/most/
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()
/linux-6.1.9/drivers/iio/
Dindustrialio-buffer.c1412 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro
1417 struct device_attribute *dattr = to_dev_attr(attr); in iio_buffer_wrap_attr()
/linux-6.1.9/drivers/base/
Dcore.c2185 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro
2190 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_show()
2206 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_store()