D | g84.c | 34 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) in g84_temp_get() 35 return nvkm_rd32(device, 0x20400); in g84_temp_get() 46 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) { in g84_sensor_setup() 47 nvkm_mask(device, 0x20008, 0x80008000, 0x80000000); in g84_sensor_setup() 48 nvkm_mask(device, 0x2000c, 0x80000003, 0x00000000); in g84_sensor_setup() 63 /* enable RISING and FALLING IRQs for shutdown, THRS 0, 1, 2 and 4 */ in g84_therm_program_alarms() 64 nvkm_wr32(device, 0x20000, 0x000003ff); in g84_therm_program_alarms() 67 nvkm_wr32(device, 0x20484, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms() 68 nvkm_wr32(device, 0x20480, sensor->thrs_shutdown.temp); in g84_therm_program_alarms() 71 nvkm_wr32(device, 0x204c4, sensor->thrs_fan_boost.temp); in g84_therm_program_alarms() [all …]
|