Home
last modified time | relevance | path

Searched refs:pwm_auto_temp (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dadt7470.c169 u8 pwm_auto_temp[ADT7470_PWM_COUNT]; member
349 data->pwm_auto_temp[i] = val >> 4; in adt7470_update_sensors()
351 data->pwm_auto_temp[i] = val & 0xF; in adt7470_update_sensors()
985 ctrl = data->pwm_auto_temp[attr->index]; in pwm_auto_temp_show()
1062 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_channels_temp, pwm_auto_temp, 0);
1063 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_channels_temp, pwm_auto_temp, 1);
1064 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_channels_temp, pwm_auto_temp, 2);
1065 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_channels_temp, pwm_auto_temp, 3);
H A Dvt1211.c125 u8 pwm_auto_temp[4]; member
306 for (ix = 0; ix < ARRAY_SIZE(data->pwm_auto_temp); ix++) { in vt1211_update_device()
307 data->pwm_auto_temp[ix] = vt1211_read8(data, in vt1211_update_device()
755 data->pwm_auto_temp[ap])); in show_pwm_auto_point_temp()
783 data->pwm_auto_temp[ap] = TEMP_TO_REG(data->pwm_ctl[ix] & 7, val); in set_pwm_auto_point_temp()
785 data->pwm_auto_temp[ap]); in set_pwm_auto_point_temp()
H A Dadt7462.c1585 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_channels_temp, pwm_auto_temp, 0);
1586 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_channels_temp, pwm_auto_temp, 1);
1587 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_channels_temp, pwm_auto_temp, 2);
1588 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_channels_temp, pwm_auto_temp, 3);