/freebsd/sys/powerpc/powermac/ |
H A D | fcu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 54 * /u3@0,f8000000/i2c@f8001000/fan@15e 56 #define FCU_RPM_FAIL 0x0b /* fans states in bits 0<1-6>7 */ 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, [all …]
|
H A D | powermac_thermal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2011 Nathan Whitehorn 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 110 temp = sensor->sensor->read(sensor->sensor); in pmac_therm_manage_fans() 112 sensor->last_val = temp; in pmac_therm_manage_fans() 114 if (sensor->last_val > sensor->sensor->max_temp) { in pmac_therm_manage_fans() 115 sensor->critical_count++; in pmac_therm_manage_fans() [all …]
|
H A D | smu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 75 struct pmac_fan fan; member 88 /* We can read the PWM and the RPM from a PWM controlled fan. 276 sc->sc_cmd_phys = segs[0].ds_addr; in smu_phys_callback() 288 mtx_init(&sc->sc_mtx, "smu", NULL, MTX_DEF); in smu_attach() 289 sc->sc_cur_cmd = NULL; in smu_attach() 290 sc->sc_doorbellirqid = -1; in smu_attach() 292 sc->sc_u3 = 0; in smu_attach() 293 if (OF_finddevice("/u3") != -1) in smu_attach() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM) 4 controller outputs and 16 Fan tachometer controller inputs. 6 The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM) 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 10 - #address-cells : should be 1. 11 - #siz [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. 9 Required properties for pwm-tacho node: 10 - #address-cells : should be 1. 12 - #size-cell [all...] |
H A D | pwm-fan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fan connected to PWM lines 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 15 const: pwm-fan 17 cooling-levels: 19 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
H A D | max6650.txt | 1 Bindings for MAX6651 and MAX6650 I2C fan controllers 4 [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 7 - compatible : One of "maxim,max6650" or "maxim,max6651" 8 - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. 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 14 allow more fine-grained control of slower fans. 16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 17 driver selects closed-loop mode and the requested speed. 18 This ensures the fan is already running before userspace [all …]
|
H A D | fan-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/hwmon/fan-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Fan Properties 10 - Naresh Solanki <naresh.solanki@9elements.com> 11 - Billy Tsai <billy_tsai@aspeedtech.com> 14 max-rpm: 16 Max RPM supported by fan. 20 min-rpm: [all …]
|
H A D | maxim,max6650.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Maxim MAX6650 and MAX6651 I2C Fan Controllers 11 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 15 of 5VDC/12VDC burshless fans with built-in tachometers. 18 https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 23 - maxim,max6650 24 - maxim,max6651 29 maxim,fan-microvolt: [all …]
|
H A D | gpio-fan.txt | 1 Bindings for fan connected to GPIO lines 4 - compatible : "gpio-fan" 7 - gpios: Specifies the pins that map to bits in the control value, 8 ordered MSB-->LSB. 9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the 12 - alarm-gpios: This pin going active indicates something is wrong with 13 the fan, and a udev event will be fired. 14 - #cooling-cells: If used as a cooling device, must be <2> 16 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml 17 min and max states are derived from the speed-map of the fan. [all …]
|
H A D | hpe,gxp-fan-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HPE GXP Fan Controller 10 - Nick Hawkins <nick.hawkins@hpe.com> 13 The HPE GXP fan controller controls the fans through an external CPLD 18 const: hpe,gxp-fan-ctrl 22 - description: Fan controller PWM 23 - description: Programmable logic [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-amd-daytonax.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "amd,daytonax-bmc", "aspeed,ast2500"; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 compatible = "shared-dma-pool"; [all …]
|
H A D | aspeed-bmc-lenovo-hr855xg2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500"; 29 stdout-pat [all...] |
H A D | aspeed-bmc-lenovo-hr630.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500"; 29 stdout-pat [all...] |
H A D | aspeed-bmc-opp-swift.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,swift-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-microsoft-olympus.dts | 1 //SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g4.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "microsoft,olympus-bmc", "aspeed,ast2400"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
H A D | aspeed-bmc-facebook-wedge40.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "ast2400-facebook-netbmc-common.dtsi" 9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400"; 12 stdout-path = &uart3; 16 ast-adc-hwmon { 17 compatible = "iio-hwmon"; 18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_pwm0_default [all …]
|
H A D | aspeed-bmc-amd-ethanolx.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 7 #include <dt-bindings/gpio/aspeed-gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "amd,ethanolx-bmc", "aspeed,ast2500"; 18 reserved-memory { 19 #address-cells = <1>; 20 #size-cells = <1>; 26 compatible = "shared-dma-pool"; [all …]
|
H A D | aspeed-bmc-vegman-sx20.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-bmc-vegman.dtsi" 9 compatible = "yadro,vegman-sx20-bmc", "aspeed,ast2500"; 14 gpio-line-name [all...] |
H A D | aspeed-bmc-opp-mowgli.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,mowgli-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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); 169 return (-1); in adt746x_write() 198 return (-1); in adt746x_read() 216 if (strcmp(name, "fan") != 0 || in adt746x_probe() 222 sc->sc_dev = dev; in adt746x_probe() 223 sc->sc_addr = iicbus_get_addr(dev); in adt746x_probe() [all …]
|
H A D | adm1030.c | 1 /*- 55 struct pmac_fan fan; member 69 static int adm1030_set(struct adm1030_softc *fan, int pwm); 108 return (-1); in adm1030_write_byte() 129 if (strcmp(name, "fan") != 0 || strcmp(compatible, "adm1030") != 0) in adm1030_probe() 133 if (OF_getprop(handle, "platform-getTemp", &thermostat, sizeof(thermostat)) < 0) in adm1030_probe() 137 sc->sc_dev = dev; in adm1030_probe() 138 sc->sc_addr = iicbus_get_addr(dev); in adm1030_probe() 140 device_set_desc(dev, "G4 MDD Fan driver"); in adm1030_probe() 154 sc->enum_hook.ich_func = adm1030_start; in adm1030_attach() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/ |
H A D | nuvoton-npcm750-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 6 #include "nuvoton-npcm750.dtsi" 7 #include "dt-bindings/gpio/gpio.h" 8 #include "nuvoton-npcm750-pincfg-evb.dtsi" 12 compatible = "nuvoton,npcm750-evb", "nuvoton,npcm750"; 45 stdout-path = &serial3; 55 phy-mode = "rgmii-id"; 60 phy-mode = "rgmii-id"; 71 compatible = "jedec,spi-nor"; [all …]
|
/freebsd/share/man/man4/ |
H A D | aibs.4 | 23 .Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor" 28 .Bd -ragged -offset indent 35 .Bd -literal -offset indent 41 driver provides support for the voltage, temperature and fan sensors 62 .Bl -bullet 79 For example, on an ASUS V3-P5G965 barebone: 80 .Bd -literal -offset indent 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 [all …]
|