/freebsd/sys/powerpc/powermac/ |
H A D | fcu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 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. 93 FCU_PWM_SYSCTL_PWM = 1 << 8, 106 static int fcu_fan_set_rpm(struct fcu_fan *fan, int rpm); 107 static int fcu_fan_get_rpm(struct fcu_fan *fan); [all …]
|
H A D | smu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 75 struct pmac_fan fan; member 88 /* We can read the PWM and the RPM from a PWM controlled fan. 92 SMU_PWM_SYSCTL_PWM = 1 << 8, 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() [all …]
|
H A D | powermac_thermal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2011 Nathan Whitehorn 10 * 1. Redistributions of source code must retain the above copyright 51 static int enable_pmac_thermal = 1; 62 &enable_pmac_thermal, 1, "Enable automatic fan management"); 66 struct pmac_fan *fan; member 89 while (1) { in fan_management_proc() 99 struct pmac_fan_le *fan; in pmac_therm_manage_fans() local 110 temp = sensor->sensor->read(sensor->sensor); in pmac_therm_manage_fans() [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 [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 - #siz [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. 15 Valid: 1, 2, 4, 8, 16. 16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 17 driver selects closed-loop mode and the requested speed. [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 | 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 27 maxItems: 1 [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,max31790.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: The Maxim MAX31790 Fan Controller 10 - Guenter Roeck <linux@roeck-us.net> 11 - Chanh Nguyen <chanh@os.amperecomputing.com> 15 independent PWM outputs. The desired fan speeds (or PWM duty cycles) 26 maxItems: 1 29 maxItems: 1 32 maxItems: 1 [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
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-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-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-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 …]
|
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-quanta-q71l.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g4.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "quanta,q71l-bmc", "aspeed,ast2400"; 30 stdout-path = &uart5; 38 reserved-memor [all...] |
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 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); 161 memcpy(buf + 1, buff, 1); in adt746x_write() 165 if (iicbus_transfer(dev, msg, 1) == 0) in adt746x_write() 169 return (-1); in adt746x_write() 183 {addr, IIC_M_WR | IIC_M_NOSTOP, 1, ®}, in adt746x_read() [all …]
|
H A D | adm1030.c | 1 /*- 9 * 1. Redistributions of source code must retain the above copyright 55 struct pmac_fan fan; member 69 static int adm1030_set(struct adm1030_softc *fan, int pwm); 99 buf[1] = byte; in adm1030_write_byte() 103 if (iicbus_transfer(dev, msg, 1) == 0) in adm1030_write_byte() 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() [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} 83 dev.aibs.0.volt.1: 3312 2970 3630 87 dev.aibs.0.temp.1: 55.0C 60.0C 95.0C [all …]
|