Lines Matching refs:therm
41 struct nvkm_therm *therm = fan->base.parent; in nvkm_fantog_update() local
42 struct nvkm_device *device = therm->subdev.device; in nvkm_fantog_update()
74 nvkm_fantog_get(struct nvkm_therm *therm) in nvkm_fantog_get() argument
76 struct nvkm_fantog *fan = (void *)therm->fan; in nvkm_fantog_get()
81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) in nvkm_fantog_set() argument
83 struct nvkm_fantog *fan = (void *)therm->fan; in nvkm_fantog_set()
84 if (therm->func->pwm_ctrl) in nvkm_fantog_set()
85 therm->func->pwm_ctrl(therm, fan->func.line, false); in nvkm_fantog_set()
91 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) in nvkm_fantog_create() argument
96 if (therm->func->pwm_ctrl) { in nvkm_fantog_create()
97 ret = therm->func->pwm_ctrl(therm, func->line, false); in nvkm_fantog_create()
103 therm->fan = &fan->base; in nvkm_fantog_create()