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()
54 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf119_fan_pwm_ctrl() argument
56 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_ctrl()
58 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl()
68 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf119_fan_pwm_get() argument
70 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_get()
71 int indx = pwm_info(therm, line); in gf119_fan_pwm_get()
90 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf119_fan_pwm_set() argument
92 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_set()
93 int indx = pwm_info(therm, line); in gf119_fan_pwm_set()
107 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line) in gf119_fan_pwm_clock() argument
109 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_clock()
110 int indx = pwm_info(therm, line); in gf119_fan_pwm_clock()
120 gf119_therm_init(struct nvkm_therm *therm) in gf119_therm_init() argument
122 struct nvkm_device *device = therm->subdev.device; in gf119_therm_init()
124 g84_sensor_setup(therm); in gf119_therm_init()
128 if (therm->fan->tach.func != DCB_GPIO_UNUSED) { in gf119_therm_init()
129 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line); in gf119_therm_init()