Lines Matching refs:value
84 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_sensor_parse() local
88 thrs_section = value; in nvbios_therm_sensor_parse()
89 if (value > 0) in nvbios_therm_sensor_parse()
102 sensor->thrs_critical.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
103 sensor->thrs_critical.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
109 sensor->thrs_down_clock.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
110 sensor->thrs_down_clock.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
116 sensor->thrs_fan_boost.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
117 sensor->thrs_fan_boost.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
123 sensor->offset_num = value; in nvbios_therm_sensor_parse()
128 sensor->offset_den = value; in nvbios_therm_sensor_parse()
133 sensor->slope_mult = value; in nvbios_therm_sensor_parse()
138 sensor->slope_div = value; in nvbios_therm_sensor_parse()
142 sensor->thrs_shutdown.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
143 sensor->thrs_shutdown.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
166 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_fan_parse() local
170 fan->min_duty = value & 0xff; in nvbios_therm_fan_parse()
171 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()
178 cur_trip->hysteresis = value & 0xf; in nvbios_therm_fan_parse()
179 cur_trip->temp = (value & 0xff0) >> 4; in nvbios_therm_fan_parse()
180 cur_trip->fan_duty = duty_lut[(value & 0xf000) >> 12]; in nvbios_therm_fan_parse()
184 cur_trip->fan_duty = value; in nvbios_therm_fan_parse()
188 fan->pwm_freq = value; in nvbios_therm_fan_parse()
191 fan->bump_period = value; in nvbios_therm_fan_parse()
194 fan->slow_down_period = value; in nvbios_therm_fan_parse()