Searched refs:_dev_attr (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/include/linux/iio/ |
D | sysfs.h | 31 #define to_iio_dev_attr(_dev_attr) \ argument 32 container_of(_dev_attr, struct iio_dev_attr, dev_attr) 49 #define to_iio_const_attr(_dev_attr) \ argument 50 container_of(_dev_attr, struct iio_const_attr, dev_attr)
|
/Linux-v5.15/include/linux/ |
D | hwmon-sysfs.h | 16 #define to_sensor_dev_attr(_dev_attr) \ argument 17 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) 50 #define to_sensor_dev_attr_2(_dev_attr) \ argument 51 container_of(_dev_attr, struct sensor_device_attribute_2, dev_attr)
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_pm.h | 60 #define to_amdgpu_device_attr(_dev_attr) \ argument 61 container_of(_dev_attr, struct amdgpu_device_attr, dev_attr)
|
/Linux-v5.15/drivers/iio/health/ |
D | afe440x.h | 142 #define to_afe440x_attr(_dev_attr) \ argument 143 container_of(_dev_attr, struct afe440x_attr, dev_attr)
|
/Linux-v5.15/drivers/memory/ |
D | bt1-l2-ctl.c | 70 #define to_l2_ctl_dev_attr(_dev_attr) \ argument 71 container_of(_dev_attr, struct l2_ctl_device_attribute, dev_attr)
|
/Linux-v5.15/drivers/firmware/ |
D | dmi-id.c | 19 #define to_dmi_dev_attr(_dev_attr) \ argument 20 container_of(_dev_attr, struct dmi_device_attribute, dev_attr)
|
/Linux-v5.15/drivers/counter/ |
D | counter.c | 285 #define to_counter_attr(_dev_attr) \ argument 286 container_of(_dev_attr, struct counter_device_attr, dev_attr)
|