Lines Matching refs:therm
27 pwm_info(struct nvkm_therm *therm, int line) in pwm_info() argument
29 struct nvkm_subdev *subdev = &therm->subdev; in pwm_info()
53 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf119_fan_pwm_ctrl() argument
55 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_ctrl()
57 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl()
67 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf119_fan_pwm_get() argument
69 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_get()
70 int indx = pwm_info(therm, line); in gf119_fan_pwm_get()
89 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf119_fan_pwm_set() argument
91 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_set()
92 int indx = pwm_info(therm, line); in gf119_fan_pwm_set()
106 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line) in gf119_fan_pwm_clock() argument
108 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_clock()
109 int indx = pwm_info(therm, line); in gf119_fan_pwm_clock()
119 gf119_therm_init(struct nvkm_therm *therm) in gf119_therm_init() argument
121 struct nvkm_device *device = therm->subdev.device; in gf119_therm_init()
123 g84_sensor_setup(therm); in gf119_therm_init()
127 if (therm->fan->tach.func != DCB_GPIO_UNUSED) { in gf119_therm_init()
128 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line); in gf119_therm_init()