Lines Matching refs:line
27 pwm_info(struct nvkm_therm *therm, int line)
31 u32 gpio = nvkm_rd32(device, 0x00d610 + (line * 0x04));
49 nvkm_error(subdev, "GPIO %d unknown PWM: %08x\n", line, gpio);
54 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
58 int indx = pwm_info(therm, line);
62 nvkm_mask(device, 0x00d610 + (line * 0x04), 0x000000c0, data);
68 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
71 int indx = pwm_info(therm, line);
75 if (nvkm_rd32(device, 0x00d610 + (line * 0x04)) & 0x00000040) {
90 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
93 int indx = pwm_info(therm, line);
107 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line)
110 int indx = pwm_info(therm, line);
129 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line);