Searched refs:to_dev_attr (Results 1 – 11 of 11) sorted by relevance
/linux/Documentation/translations/zh_CN/filesystems/ |
H A 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/Documentation/translations/zh_TW/filesystems/ |
H A 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/drivers/mfd/ |
H A D | lm3533-core.c | 353 #define to_dev_attr(_attr) \ macro 361 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible()
|
/linux/Documentation/filesystems/ |
H A 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/drivers/hwmon/ |
H A D | hwmon.c | 59 #define to_dev_attr(a) container_of(a, struct device_attribute, attr) macro 121 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs()
|
/linux/include/scsi/ |
H A D | libsas.h | 66 #define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ macro
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ucode.c | 787 #define to_dev_attr(x) container_of(x, struct device_attribute, attr) macro 792 struct device_attribute *dev_attr = to_dev_attr(attr); in amdgpu_ucode_sys_visible()
|
/linux/drivers/most/ |
H A 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/drivers/iio/ |
H A D | industrialio-buffer.c | 1473 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro 1478 struct device_attribute *dattr = to_dev_attr(attr); in iio_buffer_wrap_attr()
|
/linux/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 2861 #define to_dev_attr(_dev_attr) \ macro 2869 struct device_attribute *da = to_dev_attr(data->group.attrs[i]); in pmbus_notify()
|
/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 6273 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) macro 6278 struct device_attribute *dev_attr = to_dev_attr(attr); in thermal_attr_is_visible()
|