Lines Matching refs:indx
57 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl() local
58 if (indx < 0) in gf119_fan_pwm_ctrl()
59 return indx; in gf119_fan_pwm_ctrl()
60 else if (indx < 2) in gf119_fan_pwm_ctrl()
70 int indx = pwm_info(therm, line); in gf119_fan_pwm_get() local
71 if (indx < 0) in gf119_fan_pwm_get()
72 return indx; in gf119_fan_pwm_get()
73 else if (indx < 2) { in gf119_fan_pwm_get()
75 *divs = nvkm_rd32(device, 0x00e114 + (indx * 8)); in gf119_fan_pwm_get()
76 *duty = nvkm_rd32(device, 0x00e118 + (indx * 8)); in gf119_fan_pwm_get()
79 } else if (indx == 2) { in gf119_fan_pwm_get()
92 int indx = pwm_info(therm, line); in gf119_fan_pwm_set() local
93 if (indx < 0) in gf119_fan_pwm_set()
94 return indx; in gf119_fan_pwm_set()
95 else if (indx < 2) { in gf119_fan_pwm_set()
96 nvkm_wr32(device, 0x00e114 + (indx * 8), divs); in gf119_fan_pwm_set()
97 nvkm_wr32(device, 0x00e118 + (indx * 8), duty | 0x80000000); in gf119_fan_pwm_set()
98 } else if (indx == 2) { in gf119_fan_pwm_set()
109 int indx = pwm_info(therm, line); in gf119_fan_pwm_clock() local
110 if (indx < 0) in gf119_fan_pwm_clock()
112 else if (indx < 2) in gf119_fan_pwm_clock()