search for: slope_mult

Displaying 1 result from an estimated 1 matches for "slope_mult".

2009 Nov 19
2
[RFC] nouveau: Add basic i2c sensor chip support
...case 0x1: + if ((val & 0x8f) == 0) + bios->sensor.temp_correction = + (val >> 9) & 0x7f; + break; + case 0x10: + bios->sensor.diode_offset_mult = val; + break; + case 0x11: + bios->sensor.diode_offset_div = val; + break; + case 0x12: + bios->sensor.slope_mult = val; + break; + case 0x13: + bios->sensor.slope_div = val; + break; + } + } + return 0; +} + +static int parse_bit_performance_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) +{ + uint16_t temp_tbl_ptr = ROM16(bios->data[bitentry->offset + 0xc])...