Searched refs:fan_index (Results 1 – 2 of 2) sorted by relevance
522 static int set_rpm_fan(int fan_index, int rpm) in set_rpm_fan() argument527 if (fcu_fans[fan_index].type != FCU_FAN_RPM) in set_rpm_fan()529 id = fcu_fans[fan_index].id; in set_rpm_fan()548 static int get_rpm_fan(int fan_index, int programmed) in get_rpm_fan() argument555 if (fcu_fans[fan_index].type != FCU_FAN_RPM) in get_rpm_fan()557 id = fcu_fans[fan_index].id; in get_rpm_fan()581 static int set_pwm_fan(int fan_index, int pwm) in set_pwm_fan() argument586 if (fcu_fans[fan_index].type != FCU_FAN_PWM) in set_pwm_fan()588 id = fcu_fans[fan_index].id; in set_pwm_fan()604 static int get_pwm_fan(int fan_index) in get_pwm_fan() argument[all …]
529 int fan_index = 0; in bbc_envctrl_init() local536 attach_one_fan(bp, op, fan_index++); in bbc_envctrl_init()538 if (temp_index != 0 && fan_index != 0) { in bbc_envctrl_init()