Searched refs:pwm_tmin (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | adt7470.c | 168 s8 pwm_tmin[ADT7470_PWM_COUNT]; member 418 data->pwm_tmin[i] = (s8)val; in adt7470_update_limits() 936 return sprintf(buf, "%d\n", 1000 * (20 + data->pwm_tmin[attr->index])); in pwm_tmax_show() 948 return sprintf(buf, "%d\n", 1000 * data->pwm_tmin[attr->index]); in pwm_tmin_show() 967 data->pwm_tmin[attr->index] = temp; in pwm_tmin_store() 1052 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_temp, pwm_tmin, 0); 1053 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_temp, pwm_tmin, 1); 1054 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_temp, pwm_tmin, 2); 1055 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point1_temp, pwm_tmin, 3);
|
H A D | adt7462.c | 214 u8 pwm_tmin[ADT7462_PWM_COUNT]; member 758 data->pwm_tmin[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 1218 int tmin = (data->pwm_tmin[attr->index] - 64) * 1000; in pwm_tmax_show() 1238 tmin = (data->pwm_tmin[attr->index] - 64) * 1000; in pwm_tmax_store() 1260 return sprintf(buf, "%d\n", 1000 * (data->pwm_tmin[attr->index] - 64)); in pwm_tmin_show() 1279 data->pwm_tmin[attr->index] = temp; in pwm_tmin_store() 1570 static SENSOR_DEVICE_ATTR_RW(temp1_auto_point1_temp, pwm_tmin, 0); 1571 static SENSOR_DEVICE_ATTR_RW(temp2_auto_point1_temp, pwm_tmin, 1); 1572 static SENSOR_DEVICE_ATTR_RW(temp3_auto_point1_temp, pwm_tmin, 2); 1573 static SENSOR_DEVICE_ATTR_RW(temp4_auto_point1_temp, pwm_tmin, 3);
|