Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dcorsair-psu.c320 if (!corsairpsu_get_value(priv, PSU_CMD_TEMP_HCRIT, rail, &tmp)) { in corsairpsu_get_criticals()
327 if (!corsairpsu_get_value(priv, PSU_CMD_RAIL_VOLTS_HCRIT, rail, &tmp)) { in corsairpsu_get_criticals()
337 if (!corsairpsu_get_value(priv, PSU_CMD_RAIL_AMPS_HCRIT, rail, &tmp)) { in corsairpsu_get_criticals()
498 return corsairpsu_get_value(priv, PSU_CMD_FAN_PWM, 0, val); in corsairpsu_hwmon_pwm_read()
500 return corsairpsu_get_value(priv, PSU_CMD_FAN_PWM_ENABLE, 0, val); in corsairpsu_hwmon_pwm_read()
514 return corsairpsu_get_value(priv, PSU_CMD_TOTAL_WATTS, 0, val); in corsairpsu_hwmon_power_read()
533 return corsairpsu_get_value(priv, PSU_CMD_IN_VOLTS, 0, val); in corsairpsu_hwmon_in_read()
562 return corsairpsu_get_value(priv, PSU_CMD_IN_AMPS, 0, val); in corsairpsu_hwmon_curr_read()
590 return corsairpsu_get_value(priv, PSU_CMD_FAN, 0, val); in corsairpsu_hwmon_ops_read()
675 ret = corsairpsu_get_value(priv, cmd, 0, &val); in print_uptime()
[all …]