Lines Matching refs:da
260 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \
263 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
274 *da, const char *buf, size_t count) \
276 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
313 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \
316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
326 store_fan_min(struct device *dev, struct device_attribute *da, in store_fan_min() argument
329 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_fan_min()
360 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \
363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
379 struct device_attribute *da, const char *buf, size_t count) \
381 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
634 show_fan_div(struct device *dev, struct device_attribute *da, char *buf) in show_fan_div() argument
636 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_fan_div()
649 store_fan_div(struct device *dev, struct device_attribute *da, in store_fan_div() argument
652 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_fan_div()
703 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() argument
705 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_pwm()
711 show_pwm2_enable(struct device *dev, struct device_attribute *da, char *buf) in show_pwm2_enable() argument
718 store_pwm(struct device *dev, struct device_attribute *da, const char *buf, in store_pwm() argument
721 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_pwm()
739 store_pwm2_enable(struct device *dev, struct device_attribute *da, in store_pwm2_enable() argument
785 show_sensor(struct device *dev, struct device_attribute *da, char *buf) in show_sensor() argument
787 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_sensor()
793 store_sensor(struct device *dev, struct device_attribute *da, in store_sensor() argument
796 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_sensor()