/freebsd/sys/powerpc/powermac/ |
H A D | fcu.c | 54 * /u3@0,f8000000/i2c@f8001000/fan@15e 69 struct pmac_fan fan; member 89 /* We can read the PWM and the RPM from a PWM controlled fan. 106 static int fcu_fan_set_rpm(struct fcu_fan *fan, int rpm); 107 static int fcu_fan_get_rpm(struct fcu_fan *fan); 108 static int fcu_fan_set_pwm(struct fcu_fan *fan, int pwm); 109 static int fcu_fan_get_pwm(device_t dev, struct fcu_fan *fan, int *pwm, 201 if (strcmp(name, "fan") != 0 || strcmp(compatible, "fcu") != 0) in fcu_probe() 208 device_set_desc(dev, "Apple Fan Control Unit"); in fcu_probe() 265 fcu_fan_set_rpm(struct fcu_fan *fan, int rpm) in fcu_fan_set_rpm() argument [all …]
|
H A D | powermac_thermal.c | 62 &enable_pmac_thermal, 1, "Enable automatic fan management"); 66 struct pmac_fan *fan; member 99 struct pmac_fan_le *fan; in pmac_therm_manage_fans() local 140 SLIST_FOREACH(fan, &fans, entries) { in pmac_therm_manage_fans() 151 if (sensor->sensor->zone == fan->fan->zone) { in pmac_therm_manage_fans() 166 fan->fan->set(fan->fan, fan->fan->default_rpm); in pmac_therm_manage_fans() 171 * Scale the fan linearly in the max temperature in its in pmac_therm_manage_fans() 176 (fan->fan->max_rpm - fan->fan->min_rpm)/100 + in pmac_therm_manage_fans() 177 fan->fan->min_rpm; in pmac_therm_manage_fans() 178 if (fan_speed >= fan->last_val) { in pmac_therm_manage_fans() [all …]
|
H A D | smu.c | 75 struct pmac_fan fan; member 88 /* We can read the PWM and the RPM from a PWM controlled fan. 653 * Sensor and fan management 657 smu_fan_check_old_style(struct smu_fan *fan) in smu_fan_check_old_style() argument 659 device_t smu = fan->dev; in smu_fan_check_old_style() 668 * Apple has two fan control mechanisms. We can't distinguish in smu_fan_check_old_style() 676 cmd.data[1] = fan->reg; in smu_fan_check_old_style() 688 smu_fan_set_rpm(struct smu_fan *fan, int rpm) in smu_fan_set_rpm() argument 690 device_t smu = fan->dev; in smu_fan_set_rpm() 698 rpm = max(fan in smu_fan_set_rpm() 729 smu_fan_read_rpm(struct smu_fan * fan) smu_fan_read_rpm() argument 765 smu_fan_set_pwm(struct smu_fan * fan,int pwm) smu_fan_set_pwm() argument 812 smu_fan_read_pwm(struct smu_fan * fan,int * pwm,int * rpm) smu_fan_read_pwm() argument 862 struct smu_fan *fan; smu_fanrpm_sysctl() local 910 struct smu_fan *fan; smu_fill_fan_prop() local 990 struct smu_fan *fan; smu_attach_fans() local [all...] |
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 4 controller outputs and 16 Fan tachometer controller inputs. 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX. 17 * "fan" for the Fan registers. 21 * "fan" for Fan controlle [all...] |
H A D | aspeed-pwm-tacho.txt | 1 ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver 3 The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan Tacho 4 controller can support upto 16 Fan tachometer inputs. 6 There can be upto 8 fans supported. Each fan can have one PWM output and 7 one/two Fan tach inputs. 29 fan subnode format: 31 Under fan subnode there can upto 8 child nodes, with each child node 32 representing a fan. If there are 8 fans each fan can have one PWM port and 33 one/two Fan tac [all...] |
H A D | pwm-fan.yaml | 4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml# 7 title: Fan connected to PWM lines 15 const: pwm-fan 23 fan-supply: 24 description: Phandle to the regulator that provides power to the fan. 28 This contains an interrupt specifier for each fan tachometer output 30 defined number of interrupts per fan revolution, which require that 36 Define the number of pulses per fan revolution for each tachometer 44 description: The PWM that is used to control the fan. 57 pwm-fan { [all …]
|
H A D | max6650.txt | 1 Bindings for MAX6651 and MAX6650 I2C fan controllers 11 - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or 13 - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values 16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 18 This ensures the fan is already running before userspace 22 fan-max6650: max6650@1b { 25 maxim,fan-microvolt = <12000000>; 26 maxim,fan-prescale = <4>; 27 maxim,fan-target-rpm = <1200>;
|
H A D | gpio-fan.txt | 1 Bindings for fan connected to GPIO lines 4 - compatible : "gpio-fan" 9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the 13 the fan, and a udev event will be fired. 17 min and max states are derived from the speed-map of the fan. 24 compatible = "gpio-fan"; 27 gpio-fan,speed-map = <0 0 33 compatible = "gpio-fan"; 36 gpio-fan,speed-map = <0 0>,
|
H A D | hpe,gxp-fan-ctrl.yaml | 4 $id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# 7 title: HPE GXP Fan Controller 13 The HPE GXP fan controller controls the fans through an external CPLD 18 const: hpe,gxp-fan-ctrl 22 - description: Fan controller PWM 41 fan-controller@1000c00 { 42 compatible = "hpe,gxp-fan-ctrl";
|
H A D | adi,axi-fan-control.yaml | 5 $id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml# 8 title: Analog Devices AXI FAN Control 14 Bindings for the Analog Devices AXI FAN Control driver. Specifications of the 22 - adi,axi-fan-control-1.00.a 36 FAN. 55 axi_fan_control: axi-fan-control@80000000 { 56 compatible = "adi,axi-fan-control-1.00.a";
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-amd-daytonax.dts | 231 fan@0 { 233 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 236 fan@1 { 238 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 241 fan@2 { 243 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 246 fan@3 { 248 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 251 fan@4 { 253 aspeed,fan-tach-ch = /bits/ 8 <0x04>; [all …]
|
H A D | aspeed-bmc-lenovo-hr855xg2.dts | 340 fan@0 { 342 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 345 fan@1 { 347 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 350 fan@2 { 352 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 355 fan@3 { 357 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 360 fan@4 { 362 aspeed,fan [all...] |
H A D | aspeed-bmc-lenovo-hr630.dts | 335 fan@0 { 337 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 340 fan@1 { 342 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 345 fan@2 { 347 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 350 fan@3 { 352 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 355 fan@4 { 357 aspeed,fan [all...] |
H A D | aspeed-bmc-opp-swift.dts | 346 fan@0 { 347 compatible = "pmbus-fan"; 350 maxim,fan-rotor-input = "tach"; 351 maxim,fan-pwm-freq = <25000>; 352 maxim,fan-no-watchdog; 353 maxim,fan-no-fault-ramp; 354 maxim,fan-ramp = <2>; 355 maxim,fan-fault-pin-mon; 358 fan@1 { 359 compatible = "pmbus-fan"; [all …]
|
H A D | aspeed-bmc-opp-tacoma.dts | 483 fan@0 { 484 compatible = "pmbus-fan"; 487 maxim,fan-rotor-input = "tach"; 488 maxim,fan-pwm-freq = <25000>; 489 maxim,fan-dual-tach; 490 maxim,fan-no-watchdog; 491 maxim,fan-no-fault-ramp; 492 maxim,fan-ramp = <2>; 493 maxim,fan-fault-pin-mon; 496 fan [all...] |
H A D | aspeed-bmc-microsoft-olympus.dts | 177 fan@0 { 179 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 182 fan@1 { 184 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 187 fan@2 { 189 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 192 fan@3 { 194 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 197 fan@4 { 199 aspeed,fan-tach-ch = /bits/ 8 <0x04>; [all …]
|
H A D | aspeed-bmc-facebook-wedge40.dts | 34 fan@0 { 36 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 39 fan@1 { 41 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 44 fan@6 { 46 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; 49 fan@7 { 51 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
|
H A D | aspeed-bmc-amd-ethanolx.dts | 297 fan@0 { 299 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 302 fan@1 { 304 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 307 fan@2 { 309 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 312 fan@3 { 314 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 317 fan@4 { 319 aspeed,fan-tach-ch = /bits/ 8 <0x04>; [all …]
|
H A D | aspeed-bmc-vegman-sx20.dts | 126 fan@0 { 128 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 130 fan@1 { 132 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 134 fan@2 { 136 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 138 fan@3 { 140 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 142 fan@4 { 144 aspeed,fan [all...] |
H A D | aspeed-bmc-opp-mowgli.dts | 238 fan@0 { 240 aspeed,fan-tach-ch = /bits/ 8 <0x00>; 243 fan@1 { 245 aspeed,fan-tach-ch = /bits/ 8 <0x01>; 248 fan@2 { 250 aspeed,fan-tach-ch = /bits/ 8 <0x02>; 253 fan@3 { 255 aspeed,fan-tach-ch = /bits/ 8 <0x03>; 258 fan@4 { 260 aspeed,fan-tach-ch = /bits/ 8 <0x04>; [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 73 struct pmac_fan fan; member 119 static int adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm); 120 static int adt746x_fan_get_pwm(struct adt746x_fan *fan); 216 if (strcmp(name, "fan") != 0 || in adt746x_probe() 291 * Sensor and fan management 294 adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm) in adt746x_fan_set_pwm() argument 300 sc = device_get_softc(fan->dev); in adt746x_fan_set_pwm() 303 pwm = max(fan->fan.min_rpm, pwm); in adt746x_fan_set_pwm() 304 pwm = min(fan->fan.max_rpm, pwm); in adt746x_fan_set_pwm() 306 reg = fan->pwm_reg; in adt746x_fan_set_pwm() [all …]
|
H A D | adm1030.c | 55 struct pmac_fan fan; member 69 static int adm1030_set(struct adm1030_softc *fan, int pwm); 129 if (strcmp(name, "fan") != 0 || strcmp(compatible, "adm1030") != 0) in adm1030_probe() 140 device_set_desc(dev, "G4 MDD Fan driver"); in adm1030_probe() 169 0, adm1030_sysctl, "I", "Fan PWM Rate"); in adm1030_attach() 189 sc->fan.min_rpm = 0; in adm1030_start() 190 sc->fan.max_rpm = 0x0F; in adm1030_start() 191 sc->fan.default_rpm = 2; in adm1030_start() 193 strcpy(sc->fan.name, "MDD Case fan"); in adm1030_start() 194 sc->fan.zone = 0; in adm1030_start() [all …]
|
/freebsd/share/man/man4/ |
H A D | aibs.4 | 23 .Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor" 41 driver provides support for the voltage, temperature and fan sensors 81 > sysctl dev.aibs.0.{volt,temp,fan} 88 dev.aibs.0.fan.0: 878 600 7200 89 dev.aibs.0.fan.1: 0 700 7200 91 > sysctl -d dev.aibs.0.{volt,temp,fan} 100 dev.aibs.0.fan: 101 dev.aibs.0.fan.0: CPU FAN Speed 102 dev.aibs.0.fan.1: CHASSIS FAN Speed
|
H A D | ncthwm.4 | 15 Super I/O chips. It expose fan speed via 36 CPU fan speed in RPM. 38 System fan speed in RPM. 40 AUX0 fan speed in RPM. 42 AUX1 fan speed in RPM. 44 AUX2 fan speed in RPM.
|
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/ |
H A D | nuvoton-npcm750-evb.dts | 282 fan@0 { 284 fan-tach-ch = /bits/ 8 <0x00 0x01>; 287 fan@1 { 289 fan-tach-ch = /bits/ 8 <0x02 0x03>; 292 fan@2 { 294 fan-tach-ch = /bits/ 8 <0x04 0x05>; 297 fan@3 { 299 fan-tach-ch = /bits/ 8 <0x06 0x07>; 302 fan@4 { 304 fan-tach-ch = /bits/ 8 <0x08 0x09>; [all …]
|