Lines Matching defs:therm
27 pwm_info(struct nvkm_therm *therm, int line)
29 struct nvkm_subdev *subdev = &therm->subdev;
54 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
56 struct nvkm_device *device = therm->subdev.device;
58 int indx = pwm_info(therm, line);
68 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
70 struct nvkm_device *device = therm->subdev.device;
71 int indx = pwm_info(therm, line);
90 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
92 struct nvkm_device *device = therm->subdev.device;
93 int indx = pwm_info(therm, line);
107 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line)
109 struct nvkm_device *device = therm->subdev.device;
110 int indx = pwm_info(therm, line);
120 gf119_therm_init(struct nvkm_therm *therm)
122 struct nvkm_device *device = therm->subdev.device;
124 g84_sensor_setup(therm);
128 if (therm->fan->tach.func != DCB_GPIO_UNUSED) {
129 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line);