Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dadt7470.c164 u8 pwm_auto_temp[ADT7470_PWM_COUNT]; member
337 data->pwm_auto_temp[i] = cfg >> 4; in adt7470_update_device()
339 data->pwm_auto_temp[i] = cfg & 0xF; in adt7470_update_device()
914 u8 ctrl = data->pwm_auto_temp[attr->index]; in pwm_auto_temp_show()
1081 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_channels_temp, pwm_auto_temp, 0);
1082 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_channels_temp, pwm_auto_temp, 1);
1083 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_channels_temp, pwm_auto_temp, 2);
1084 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_channels_temp, pwm_auto_temp, 3);
Dvt1211.c125 u8 pwm_auto_temp[4]; member
312 for (ix = 0; ix < ARRAY_SIZE(data->pwm_auto_temp); ix++) { in vt1211_update_device()
313 data->pwm_auto_temp[ix] = vt1211_read8(data, in vt1211_update_device()
761 data->pwm_auto_temp[ap])); in show_pwm_auto_point_temp()
789 data->pwm_auto_temp[ap] = TEMP_TO_REG(data->pwm_ctl[ix] & 7, val); in set_pwm_auto_point_temp()
791 data->pwm_auto_temp[ap]); in set_pwm_auto_point_temp()
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);