Lines Matching refs:pwm1_auto_point_pwm
156 u8 pwm1_auto_point_pwm[3]; member
200 data->pwm1_auto_point_pwm[0] = 0; in amc6821_update_device()
201 data->pwm1_auto_point_pwm[2] = 255; in amc6821_update_device()
202 data->pwm1_auto_point_pwm[1] = i2c_smbus_read_byte_data(client, in amc6821_update_device()
218 (data->pwm1_auto_point_pwm[2] - in amc6821_update_device()
219 data->pwm1_auto_point_pwm[1]) / reg; in amc6821_update_device()
231 (data->pwm1_auto_point_pwm[2] - in amc6821_update_device()
232 data->pwm1_auto_point_pwm[1]) / reg; in amc6821_update_device()
458 return sprintf(buf, "%d\n", data->pwm1_auto_point_pwm[ix]); in pwm1_auto_point_pwm_show()
545 dpwm = data->pwm1_auto_point_pwm[2] - data->pwm1_auto_point_pwm[1]; in temp_auto_point_temp_store()
567 data->pwm1_auto_point_pwm[1] = clamp_val(val, 0, 254); in pwm1_auto_point_pwm_store()
569 data->pwm1_auto_point_pwm[1])) { in pwm1_auto_point_pwm_store()
574 dpwm = data->pwm1_auto_point_pwm[2] - data->pwm1_auto_point_pwm[1]; in pwm1_auto_point_pwm_store()
714 static SENSOR_DEVICE_ATTR_RO(pwm1_auto_point1_pwm, pwm1_auto_point_pwm, 0);
715 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_pwm, pwm1_auto_point_pwm, 1);
716 static SENSOR_DEVICE_ATTR_RO(pwm1_auto_point3_pwm, pwm1_auto_point_pwm, 2);