/freebsd-10-stable/sys/powerpc/powermac/ |
H A D | powermac_thermal.c | 60 &enable_pmac_thermal, 1, "Enable automatic fan management"); 64 struct pmac_fan *fan; member in struct:pmac_fan_le 96 struct pmac_fan_le *fan; local 136 SLIST_FOREACH(fan, &fans, entries) { 146 if (sensor->sensor->zone == fan->fan->zone) { 161 fan->fan->set(fan->fan, fa 176 pmac_thermal_fan_register(struct pmac_fan *fan) argument [all...] |
H A D | fcu.c | 55 * /u3@0,f8000000/i2c@f8001000/fan@15e 70 struct pmac_fan fan; member in struct:fcu_fan 90 /* We can read the PWM and the RPM from a PWM controlled fan. 107 static int fcu_fan_set_rpm(struct fcu_fan *fan, int rpm); 108 static int fcu_fan_get_rpm(struct fcu_fan *fan); 109 static int fcu_fan_set_pwm(struct fcu_fan *fan, int pwm); 110 static int fcu_fan_get_pwm(device_t dev, struct fcu_fan *fan, int *pwm, 204 if (strcmp(name, "fan") != 0 || strcmp(compatible, "fcu") != 0) 268 fcu_fan_set_rpm(struct fcu_fan *fan, int rpm) argument 274 sc = device_get_softc(fan 298 fcu_fan_get_rpm(struct fcu_fan *fan) argument 353 fcu_fan_set_pwm(struct fcu_fan *fan, int pwm) argument 385 fcu_fan_get_pwm(device_t dev, struct fcu_fan *fan, int *pwm, int *rpm) argument 530 struct fcu_fan *fan; local [all...] |
H A D | smu.c | 73 struct pmac_fan fan; member in struct:smu_fan 86 /* We can read the PWM and the RPM from a PWM controlled fan. 654 * Sensor and fan management 658 smu_fan_check_old_style(struct smu_fan *fan) argument 660 device_t smu = fan->dev; 669 * Apple has two fan control mechanisms. We can't distinguish 677 cmd.data[1] = fan->reg; 689 smu_fan_set_rpm(struct smu_fan *fan, int rpm) argument 691 device_t smu = fan->dev; 699 rpm = max(fan 730 smu_fan_read_rpm(struct smu_fan *fan) argument 766 smu_fan_set_pwm(struct smu_fan *fan, int pwm) argument 813 smu_fan_read_pwm(struct smu_fan *fan, int *pwm, int *rpm) argument 863 struct smu_fan *fan; local 911 struct smu_fan *fan; local 991 struct smu_fan *fan; local [all...] |
H A D | windtunnel.c | 58 struct pmac_fan fan; member in struct:adm1030_softc 72 static int adm1030_set(struct adm1030_softc *fan, int pwm); 134 if (strcmp(name, "fan") != 0 || strcmp(compatible, "adm1030") != 0) 194 sc->fan.min_rpm = 0; 195 sc->fan.max_rpm = 0x0F; 196 sc->fan.default_rpm = 2; 198 strcpy(sc->fan.name, "MDD Case fan"); 199 sc->fan.zone = 0; 200 sc->fan 207 adm1030_set(struct adm1030_softc *fan, int pwm) argument [all...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | kirkwood-ds109.dts | 31 gpio-fan-150-32-35 {
|
H A D | kirkwood-ds110jv10.dts | 31 gpio-fan-150-32-35 {
|
H A D | kirkwood-ds111.dts | 30 gpio-fan-100-15-35-1 {
|
H A D | kirkwood-ds212.dts | 33 gpio-fan-100-15-35-1 {
|
H A D | kirkwood-ds212j.dts | 31 gpio-fan-100-32-35 {
|
H A D | kirkwood-ds409slim.dts | 30 gpio-fan-150-32-35 {
|
H A D | kirkwood-rs409.dts | 30 gpio-fan-150-15-18 {
|
H A D | kirkwood-rs411.dts | 30 gpio-fan-100-15-35-3 {
|
H A D | kirkwood-ds112.dts | 30 gpio-fan-100-15-35-1 {
|
H A D | kirkwood-ds209.dts | 30 gpio-fan-150-32-35 {
|
H A D | kirkwood-ds210.dts | 32 gpio-fan-150-32-35 {
|
H A D | kirkwood-ds409.dts | 30 gpio-fan-150-15-18 {
|
H A D | kirkwood-ds411.dts | 30 gpio-fan-100-15-35-1 {
|
H A D | kirkwood-ds411j.dts | 30 gpio-fan-150-15-18 {
|
H A D | kirkwood-ds411slim.dts | 30 gpio-fan-100-15-35-1 {
|
H A D | kirkwood-rs212.dts | 30 gpio-fan-100-15-35-3 {
|
H A D | armada-370-synology-ds213j.dts | 205 gpio-fan-32-38 { 207 compatible = "gpio-fan"; 215 gpio-fan,speed-map = < 0 0 330 fan_ctrl_low_pin: fan-ctrl-low-pin { 335 fan_ctrl_mid_pin: fan-ctrl-mid-pin { 340 fan_ctrl_high_pin: fan-ctrl-high-pin { 345 fan_alarm_pin: fan-alarm-pin {
|
H A D | armada-370-rd.dts | 155 gpio-fan { 156 compatible = "gpio-fan"; 158 gpio-fan,speed-map = <0 0 3000 1>; 240 fan_pins: fan-pins {
|
H A D | kirkwood-synology.dtsi | 296 gpio-fan-150-32-35 { 298 compatible = "gpio-fan"; 305 gpio-fan,speed-map = < 0 0 315 gpio-fan-150-15-18 { 317 compatible = "gpio-fan"; 325 gpio-fan,speed-map = < 0 0 335 gpio-fan-100-32-35 { 337 compatible = "gpio-fan"; 345 gpio-fan,speed-map = < 0 0 355 gpio-fan [all...] |
/freebsd-10-stable/sys/dev/iicbus/ |
H A D | adt746x.c | 74 struct pmac_fan fan; member in struct:adt746x_fan 120 static int adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm); 121 static int adt746x_fan_get_pwm(struct adt746x_fan *fan); 219 if (strcmp(name, "fan") != 0 || 294 * Sensor and fan management 297 adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm) argument 303 sc = device_get_softc(fan->dev); 306 pwm = max(fan->fan.min_rpm, pwm); 307 pwm = min(fan 331 adt746x_fan_get_pwm(struct adt746x_fan *fan) argument 452 struct adt746x_fan *fan; local [all...] |
/freebsd-10-stable/sys/dev/asmc/ |
H A D | asmc.c | 79 static int asmc_fan_getvalue(device_t dev, const char *key, int fan); 80 static int asmc_fan_setvalue(device_t dev, const char *key, int fan, int speed); 377 * dev.asmc.n.fan.* tree. 380 SYSCTL_CHILDREN(sysctlnode), OID_AUTO, "fan", 951 asmc_fan_getvalue(device_t dev, const char *key, int fan) argument 957 snprintf(fankey, sizeof(fankey), key, fan); 966 asmc_fan_getstring(device_t dev, const char *key, int fan) argument 972 snprintf(fankey, sizeof(fankey), key, fan); 981 asmc_fan_setvalue(device_t dev, const char *key, int fan, int speed) argument 991 snprintf(fankey, sizeof(fankey), key, fan); 1002 int fan = arg2; local 1016 int fan = arg2; local 1032 int fan = arg2; local 1047 int fan = arg2; local 1066 int fan = arg2; local 1085 int fan = arg2; local [all...] |