Searched refs:sc_fans (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/powerpc/powermac/
H A Dfcu.c86 struct fcu_fan *sc_fans; member in struct:fcu_softc
445 * and we have allocated memory for sc->sc_fans, we fill in the properties.
465 if (sc->sc_fans != NULL) {
466 strcpy(sc->sc_fans[i].fan.name, location + len);
472 if (sc->sc_fans == NULL)
482 sc->sc_fans[i].type = FCU_FAN_RPM;
484 sc->sc_fans[i].type = FCU_FAN_PWM;
493 sc->sc_fans[j].id = ((id[j] >> 8) & 0x0f) % 8;
498 sc->sc_fans[j].fan.zone = id[j];
502 sc->sc_fans[
[all...]
H A Dsmu.c124 struct smu_fan *sc_fans; member in struct:smu_softc
868 fan = &sc->sc_fans[arg2 & 0xff];
916 fan = &sc->sc_fans[id];
975 if (sc->sc_fans != NULL) {
1006 sc->sc_fans = malloc(sc->sc_nfans * sizeof(struct smu_fan), M_SMU,
1014 pmac_thermal_fan_register(&sc->sc_fans[i].fan);
1023 fan = &sc->sc_fans[i];
/freebsd-11-stable/sys/dev/iicbus/
H A Dadt746x.c99 struct adt746x_fan sc_fans[4]; member in struct:adt746x_softc
371 strlcpy(sc->sc_fans[i].fan.name, location + len, 32);
374 sc->sc_fans[i].id = id[i];
376 sc->sc_fans[i].pwm_reg = ADT746X_PWM1;
377 sc->sc_fans[i].conf_reg = ADT746X_PWM1_CONF;
379 sc->sc_fans[i].pwm_reg = ADT746X_PWM2;
380 sc->sc_fans[i].conf_reg = ADT746X_PWM2_CONF;
382 sc->sc_fans[i].pwm_reg = ADT746X_PWM1 + i;
383 sc->sc_fans[i].conf_reg = ADT746X_PWM1_CONF + i;
385 sc->sc_fans[
[all...]

Completed in 63 milliseconds