Searched refs:to_dev_attr (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/Documentation/translations/zh_CN/filesystems/ |
D | sysfs.txt | 157 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) 162 struct device_attribute *dev_attr = to_dev_attr(attr);
|
/linux-6.6.21/Documentation/translations/zh_TW/filesystems/ |
D | sysfs.txt | 160 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) 165 struct device_attribute *dev_attr = to_dev_attr(attr);
|
/linux-6.6.21/drivers/mfd/ |
D | lm3533-core.c | 355 #define to_dev_attr(_attr) \ macro 363 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible()
|
/linux-6.6.21/drivers/hwmon/ |
D | hwmon.c | 58 #define to_dev_attr(a) container_of(a, struct device_attribute, attr) macro 120 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs()
|
/linux-6.6.21/Documentation/filesystems/ |
D | sysfs.rst | 175 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) 180 struct device_attribute *dev_attr = to_dev_attr(attr);
|
/linux-6.6.21/include/scsi/ |
D | libsas.h | 66 #define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ macro
|
/linux-6.6.21/drivers/most/ |
D | core.c | 329 #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.6.21/drivers/iio/ |
D | industrialio-buffer.c | 1420 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro 1425 struct device_attribute *dattr = to_dev_attr(attr); in iio_buffer_wrap_attr()
|
/linux-6.6.21/drivers/base/ |
D | core.c | 2346 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro 2351 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_show() 2367 struct device_attribute *dev_attr = to_dev_attr(attr); in dev_attr_store()
|
/linux-6.6.21/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 2772 #define to_dev_attr(_dev_attr) \ macro 2780 struct device_attribute *da = to_dev_attr(data->group.attrs[i]); in pmbus_notify()
|