Lines Matching refs:indx
58 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl() local
59 if (indx < 0) in gf119_fan_pwm_ctrl()
60 return indx; in gf119_fan_pwm_ctrl()
61 else if (indx < 2) in gf119_fan_pwm_ctrl()
71 int indx = pwm_info(therm, line); in gf119_fan_pwm_get() local
72 if (indx < 0) in gf119_fan_pwm_get()
73 return indx; in gf119_fan_pwm_get()
74 else if (indx < 2) { in gf119_fan_pwm_get()
76 *divs = nvkm_rd32(device, 0x00e114 + (indx * 8)); in gf119_fan_pwm_get()
77 *duty = nvkm_rd32(device, 0x00e118 + (indx * 8)); in gf119_fan_pwm_get()
80 } else if (indx == 2) { in gf119_fan_pwm_get()
93 int indx = pwm_info(therm, line); in gf119_fan_pwm_set() local
94 if (indx < 0) in gf119_fan_pwm_set()
95 return indx; in gf119_fan_pwm_set()
96 else if (indx < 2) { in gf119_fan_pwm_set()
97 nvkm_wr32(device, 0x00e114 + (indx * 8), divs); in gf119_fan_pwm_set()
98 nvkm_wr32(device, 0x00e118 + (indx * 8), duty | 0x80000000); in gf119_fan_pwm_set()
99 } else if (indx == 2) { in gf119_fan_pwm_set()
110 int indx = pwm_info(therm, line); in gf119_fan_pwm_clock() local
111 if (indx < 0) in gf119_fan_pwm_clock()
113 else if (indx < 2) in gf119_fan_pwm_clock()