Lines Matching refs:therm
32 pwm_info(struct nvkm_therm *therm, int line)
34 struct nvkm_subdev *subdev = &therm->subdev;
58 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
60 struct nvkm_device *device = therm->subdev.device;
62 int indx = pwm_info(therm, line);
72 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
74 struct nvkm_device *device = therm->subdev.device;
75 int indx = pwm_info(therm, line);
94 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
96 struct nvkm_device *device = therm->subdev.device;
97 int indx = pwm_info(therm, line);
111 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line)
113 struct nvkm_device *device = therm->subdev.device;
114 int indx = pwm_info(therm, line);
124 gf119_therm_init(struct nvkm_therm *therm)
126 struct nvkm_device *device = therm->subdev.device;
128 g84_sensor_setup(therm);
132 if (therm->fan->tach.func != DCB_GPIO_UNUSED) {
133 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line);