Lines Matching refs:attr_get
58 therm->attr_get(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST) * 1000); in nouveau_hwmon_temp1_auto_point1_temp()
91 therm->attr_get(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST_HYST) * 1000); in nouveau_hwmon_temp1_auto_point1_temp_hyst()
124 ret = therm->attr_get(therm, NVKM_THERM_ATTR_FAN_MAX_DUTY); in nouveau_hwmon_get_pwm1_max()
140 ret = therm->attr_get(therm, NVKM_THERM_ATTR_FAN_MIN_DUTY); in nouveau_hwmon_get_pwm1_min()
277 if (!therm || !therm->attr_get || nvkm_therm_temp_get(therm) < 0) in nouveau_temp_is_visible()
301 if (!therm || !therm->attr_get || !therm->fan_get || in nouveau_pwm_is_visible()
340 if (!therm || !therm->attr_get || nvkm_therm_fan_sense(therm) < 0) in nouveau_fan_is_visible()
373 if (!therm || !therm->attr_get) in nouveau_temp_read()
384 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_DOWN_CLK) in nouveau_temp_read()
388 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_DOWN_CLK_HYST) in nouveau_temp_read()
392 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_CRITICAL) in nouveau_temp_read()
396 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_CRITICAL_HYST) in nouveau_temp_read()
400 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_SHUTDOWN) in nouveau_temp_read()
404 *val = therm->attr_get(therm, NVKM_THERM_ATTR_THRS_SHUTDOWN_HYST) in nouveau_temp_read()
475 if (!therm || !therm->attr_get || !therm->fan_get) in nouveau_pwm_read()
480 *val = therm->attr_get(therm, NVKM_THERM_ATTR_FAN_MODE); in nouveau_pwm_read()
686 if (therm && therm->attr_get && therm->attr_set) { in nouveau_hwmon_init()