Lines Matching defs:attr

536 static int adt7470_temp_read(struct device *dev, u32 attr, int channel, long *val)  in adt7470_temp_read()
563 static int adt7470_temp_write(struct device *dev, u32 attr, int channel, long val) in adt7470_temp_write()
624 static int adt7470_fan_read(struct device *dev, u32 attr, int channel, long *val) in adt7470_fan_read()
660 static int adt7470_fan_write(struct device *dev, u32 attr, int channel, long val) in adt7470_fan_write()
757 static int adt7470_pwm_read(struct device *dev, u32 attr, int channel, long *val) in adt7470_pwm_read()
814 static int adt7470_pwm_write(struct device *dev, u32 attr, int channel, long val) in adt7470_pwm_write()
859 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_show() local
872 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_store() local
894 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_show() local
907 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_store() local
929 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmax_show() local
942 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_show() local
955 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_store() local
978 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_show() local
1005 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_store() local
1097 static int adt7470_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in adt7470_read()
1112 static int adt7470_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, in adt7470_write()
1128 u32 attr, int channel) in adt7470_is_visible()