Searched refs:sc_fans (Results 1 – 3 of 3) sorted by relevance
85 struct fcu_fan *sc_fans; member462 if (sc->sc_fans != NULL) { in fcu_fill_fan_prop()463 strcpy(sc->sc_fans[i].fan.name, location + len); in fcu_fill_fan_prop()469 if (sc->sc_fans == NULL) in fcu_fill_fan_prop()479 sc->sc_fans[i].type = FCU_FAN_RPM; in fcu_fill_fan_prop()481 sc->sc_fans[i].type = FCU_FAN_PWM; in fcu_fill_fan_prop()490 sc->sc_fans[j].id = ((id[j] >> 8) & 0x0f) % 8; in fcu_fill_fan_prop()495 sc->sc_fans[j].fan.zone = id[j]; in fcu_fill_fan_prop()499 sc->sc_fans[j].dev = sc->sc_dev; in fcu_fill_fan_prop()500 if (sc->sc_fans[j].type == FCU_FAN_RPM) { in fcu_fill_fan_prop()[all …]
126 struct smu_fan *sc_fans; member 867 fan = &sc->sc_fans[arg2 & 0xff]; in smu_fanrpm_sysctl() 915 fan = &sc->sc_fans[id]; in smu_fill_fan_prop() 974 if (sc->sc_fans != NULL) { in smu_count_fans() 1005 sc->sc_fans = malloc(sc->sc_nfans * sizeof(struct smu_fan), M_SMU, in smu_attach_fans() 1013 pmac_thermal_fan_register(&sc->sc_fans[i].fan); in smu_attach_fans() 1022 fan = &sc->sc_fans[i]; in smu_attach_fans()
98 struct adt746x_fan sc_fans[4]; member368 strlcpy(sc->sc_fans[i].fan.name, location + len, 32); in adt746x_fill_fan_prop()371 sc->sc_fans[i].id = id[i]; in adt746x_fill_fan_prop()373 sc->sc_fans[i].pwm_reg = ADT746X_PWM1; in adt746x_fill_fan_prop()374 sc->sc_fans[i].conf_reg = ADT746X_PWM1_CONF; in adt746x_fill_fan_prop()376 sc->sc_fans[i].pwm_reg = ADT746X_PWM2; in adt746x_fill_fan_prop()377 sc->sc_fans[i].conf_reg = ADT746X_PWM2_CONF; in adt746x_fill_fan_prop()379 sc->sc_fans[i].pwm_reg = ADT746X_PWM1 + i; in adt746x_fill_fan_prop()380 sc->sc_fans[i].conf_reg = ADT746X_PWM1_CONF + i; in adt746x_fill_fan_prop()382 sc->sc_fans[i].dev = sc->sc_dev; in adt746x_fill_fan_prop()[all …]