Searched refs:pwm_tmin (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | adt7470.c | 163 s8 pwm_tmin[ADT7470_PWM_COUNT]; member 381 data->pwm_tmin[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() 829 return sprintf(buf, "%d\n", 1000 * (20 + data->pwm_tmin[attr->index])); in pwm_tmax_show() 837 return sprintf(buf, "%d\n", 1000 * data->pwm_tmin[attr->index]); in pwm_tmin_show() 856 data->pwm_tmin[attr->index] = temp; in pwm_tmin_store() 1066 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_temp, pwm_tmin, 0); 1067 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_temp, pwm_tmin, 1); 1068 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_temp, pwm_tmin, 2); 1069 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point1_temp, pwm_tmin, 3);
|
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);
|