Lines Matching refs:therm
33 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx)
35 struct nvkm_subdev *subdev = &therm->subdev;
60 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
62 struct nvkm_device *device = therm->subdev.device;
64 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id);
71 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
73 struct nvkm_device *device = therm->subdev.device;
74 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id);
88 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
90 struct nvkm_device *device = therm->subdev.device;
91 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id);
101 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line)
103 struct nvkm_device *device = therm->subdev.device;
126 nv50_sensor_setup(struct nvkm_therm *therm)
128 struct nvkm_device *device = therm->subdev.device;
134 nv50_temp_get(struct nvkm_therm *therm)
136 struct nvkm_device *device = therm->subdev.device;
137 struct nvbios_therm_sensor *sensor = &therm->bios_sensor;
159 nv50_therm_init(struct nvkm_therm *therm)
161 nv50_sensor_setup(therm);