Lines Matching refs:therm
28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument
30 struct nvkm_subdev *subdev = &therm->subdev; in pwm_info()
55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl() argument
57 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_ctrl()
59 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_ctrl()
66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv50_fan_pwm_get() argument
68 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_get()
69 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_get()
83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv50_fan_pwm_set() argument
85 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_set()
86 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_set()
96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) in nv50_fan_pwm_clock() argument
98 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_clock()
121 nv50_sensor_setup(struct nvkm_therm *therm) in nv50_sensor_setup() argument
123 struct nvkm_device *device = therm->subdev.device; in nv50_sensor_setup()
129 nv50_temp_get(struct nvkm_therm *therm) in nv50_temp_get() argument
131 struct nvkm_device *device = therm->subdev.device; in nv50_temp_get()
132 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in nv50_temp_get()
154 nv50_therm_init(struct nvkm_therm *therm) in nv50_therm_init() argument
156 nv50_sensor_setup(therm); in nv50_therm_init()