Lines Matching refs:therm
46 struct nvkm_therm *therm = fan->base.parent;
47 struct nvkm_device *device = therm->subdev.device;
79 nvkm_fantog_get(struct nvkm_therm *therm)
81 struct nvkm_fantog *fan = (void *)therm->fan;
86 nvkm_fantog_set(struct nvkm_therm *therm, int percent)
88 struct nvkm_fantog *fan = (void *)therm->fan;
89 if (therm->func->pwm_ctrl)
90 therm->func->pwm_ctrl(therm, fan->func.line, false);
103 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func)
108 if (therm->func->pwm_ctrl) {
109 ret = therm->func->pwm_ctrl(therm, func->line, false);
115 therm->fan = &fan->base;