Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/ic/
Dapple_smc_fan.c76 } *sc_fans; member
222 KASSERT(sc->sc_fans != NULL); in apple_smc_fan_detach()
228 kmem_free(sc->sc_fans, in apple_smc_fan_detach()
229 (sizeof(sc->sc_fans[0]) * sc->sc_nfans)); in apple_smc_fan_detach()
230 sc->sc_fans = NULL; in apple_smc_fan_detach()
259 CTASSERT(10 <= (SIZE_MAX / sizeof(sc->sc_fans[0]))); in apple_smc_fan_attach_sensors()
260 sc->sc_fans = kmem_zalloc((sizeof(sc->sc_fans[0]) * sc->sc_nfans), in apple_smc_fan_attach_sensors()
341 keyp = &sc->sc_fans[fan].sensors[sensor].sensor_key; in apple_smc_fan_attach_sensor()
348 edata = &sc->sc_fans[fan].sensors[sensor].sensor_data; in apple_smc_fan_attach_sensor()
394 KASSERT(edata == &sc->sc_fans[fan].sensors[sensor].sensor_data); in apple_smc_fan_refresh()
[all …]
/netbsd/src/sys/arch/macppc/dev/
Dsmu.c109 struct smu_fan sc_fans[SMU_MAX_FANS]; member
306 fan = &sc->sc_fans[sc->sc_num_fans]; in smu_setup_fans()
353 fan = &sc->sc_fans[i]; in smu_setup_fans()
415 fan = &sc->sc_fans[i]; in smu_setup_sme()
482 sc->sc_fans[which].current_rpm = ret; in smu_sme_refresh()
690 struct smu_fan *fan = &sc->sc_fans[which]; in smu_fan_get_rpm()
707 struct smu_fan *fan = &sc->sc_fans[which]; in smu_fan_set_rpm()
854 f = &sc->sc_fans[i]; in smu_setup_zones()
869 f = &sc->sc_fans[i]; in smu_setup_zones()
884 f = &sc->sc_fans[i]; in smu_setup_zones()
Dfcu.c87 fcu_fan_t sc_fans[FANCONTROL_MAX_FANS]; member
240 fcu_fan_t *fan = &sc->sc_fans[sc->sc_nfans]; in fcu_attach()
417 fcu_fan_t *f = &sc->sc_fans[which]; in fcu_get_rpm()
436 fcu_fan_t *f = &sc->sc_fans[which]; in fcu_set_rpm()