Home
last modified time | relevance | path

Searched +full:fan +full:- +full:speed (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/platform/x86/
H A Dgpd-pocket-fan.c1 // SPDX-License-Identifier: GPL-2.0+
3 * GPD Pocket fan controller driver
9 #include <linux/devm-helpers.h>
33 "Millicelsius values above which the fan speed increases");
38 "Hysteresis in millicelsius before lowering the fan speed");
43 "minimum fan speed to allow when system is powered by AC");
55 static void gpd_pocket_fan_set_speed(struct gpd_pocket_fan_data *fan, int speed) in gpd_pocket_fan_set_speed() argument
57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed()
61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dfan_utils.robot2 Documentation Utilities for fan tests.
11 # Fan state values.
15 # Criteria for a fan at maximum speed.
29 Get Fan Names
36 # fan_names The list of fan names to which new fan names are to be
39 ${fan_uris}= Get Endpoint Paths ${HOST_INVENTORY_URI}system fan
79 Set Fan State
80 [Documentation] Set the fan state, either functional or non-functional.
84 # fan_name The name of the fan, e.g. "fan2".
85 # fan_state The state to set, 1 for functional, 2 for non-functional.
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dg762.rst4 The GMT G762 Fan Speed PWM Controller is connected directly to a fan
5 and performs closed-loop or open-loop control of the fan speed. Two
6 modes - PWM or DC - are supported by the device.
9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs
10 bindings are described in Documentation/hwmon/sysfs-interface.rst.
19 fan revolution, ...); Those can be modified via devicetree bindings
25 set desired fan speed. This only makes sense in closed-loop
26 fan speed control (i.e. when pwm1_enable is set to 2).
29 provide current fan rotation value in RPM as reported by
30 the fan to the device.
[all …]
H A Dnct6775.rst19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I
83 * Nuvoton NCT6796D-S/NCT6799D-R
93 Guenter Roeck <linux@roeck-us.net>
96 -----------
106 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors,
108 fan regulation strategies (plus manual fan control mode).
119 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
120 triggered if the rotation speed has dropped below a programmable limit. On
121 NCT6775F, fan readings can be divided by a programmable divider (1, 2, 4, 8,
123 do not have a fan speed divider. The driver sets the most suitable fan divisor
[all …]
H A Dadm9240.rst10 Addresses scanned: I2C 0x2c - 0x2f
20 Addresses scanned: I2C 0x2c - 0x2f
24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf
30 Addresses scanned: I2C 0x2c - 0x2f
37 - Frodo Looijaard <frodol@dds.nl>,
38 - Philip Edelbrock <phil@netroedge.com>,
39 - Michiel Rook <michiel@grendelproject.nl>,
40 - Grant Coady <gcoady.lk@gmail.com> with guidance
44 ---------
46 chip MSB 5-bit address. Each chip reports a unique manufacturer
[all …]
H A Dg760a.rst6 * Global Mixed-mode Technology Inc. G760A
12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
17 -----------
19 The GMT G760A Fan Speed PWM Controller is connected directly to a fan
20 and performs closed-loop control of the fan speed.
22 The fan speed is programmed by setting the period via 'pwm1' of two
23 consecutive speed pulses. The period is defined in terms of clock
26 Setting a period of 0 stops the fan; setting the period to 255 sets
27 fan to maximum speed.
29 The measured fan rotation speed returned via 'fan1_input' is derived
[all …]
H A Dw83792d.rst10 Addresses scanned: I2C 0x2c - 0x2f
19 -----------------
35 -----------
42 parameter; this will put it into a more well-behaved state first.
44 The driver implements three temperature sensors, seven fan rotation speed
45 sensors, nine voltage sensors, and two automatic fan regulation
46 strategies called: Smart Fan I (Thermal Cruise mode) and Smart Fan II.
48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7
53 Automatic fan control mode is possible only for fan1-fan3.
55 For all pwmX outputs, a value of 0 means minimum fan speed and a value of
[all …]
H A Ddell-smm-hwmon.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
5 Kernel driver dell-smm-hwmon
8 :Copyright: |copy| 2002-2005 Massimo Dal Zotto <dz@debian.org>
12 -----------
18 automatically adjust fan speed (please notice that it currently uses
24 -------------------
35 fan[1-3]_input RO Fan speed in RPM.
36 fan[1-3]_label RO Fan label.
37 fan[1-3]_min RO Minimal Fan speed in RPM
38 fan[1-3]_max RO Maximal Fan speed in RPM
[all …]
H A Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
8 * Aquacomputer Aquaero 5/6 fan controllers
12 * Aquacomputer Octo fan controller
13 * Aquacomputer Quadro fan controller
18 * Aquacomputer Poweradjust 3 fan controller
23 -----------
30 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds
33 For the D5 Next pump, available sensors are pump and fan speed, power, voltage
35 available through debugfs are the serial number, firmware version and power-on
[all …]
H A Ddme1737.rst18 Addresses scanned: none, address read from Super-I/O config space
34 Addresses scanned: none, address read from Super-I/O config space
43 -----------------
46 Enables the monitoring of voltage, fan and temp inputs
52 Include non-standard LPC addresses 0x162e and 0x164e
55 - VIA EPIA SN18000
59 -----------
63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors
64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and
65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement
[all …]
H A Dw83627ehf.rst22 * Winbond W83627DHG-P
46 * Winbond W83667HG-B
54 * Nuvoton NCT6775F/W83667HG-I
73 - Jean Delvare <jdelvare@suse.de>
74 - Yuan Mu (Winbond)
75 - Rudolf Marek <r.marek@assembler.cz>
76 - David Hubbard <david.c.hubbard@gmail.com>
77 - Gong Jun <JGong@nuvoton.com>
80 -----------
83 W83627DHG, W83627DHG-P, W83627UHG, W83667HG, W83667HG-B, W83667HG-I
[all …]
H A Dadm1026.rst16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
17 - Justin Thiessen <jthiessen@penguincomputing.com>
20 -----------------
23 List of GPIO pins (0-16) to program as inputs
26 List of GPIO pins (0-16) to program as outputs
29 List of GPIO pins (0-16) to program as inverted
32 List of GPIO pins (0-16) to program as normal/non-inverted
35 List of GPIO pins (0-7) to program as fan tachs
39 -----------
45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit),
[all …]
H A Df71882fg.rst103 This is the 64-pin variant of the F71889FG, they have the
119 -----------
125 These chips also have fan controlling features, using either DC or PWM, in
133 ----------
135 The Voltage, Fan and Temperature Monitoring uses the standard sysfs
136 interface as documented in sysfs-interface, without any exceptions.
139 Fan Control
140 -----------
142 Both PWM (pulse-width modulation) and DC fan speed control methods are
149 vica versa. So the temperature zone trip points 1-4 (or 1-2) go from high temp
[all …]
H A Dadt7470.rst17 -----------
22 The ADT7470 uses the 2-wire interface compatible with the SMBus 2.0
24 external temperatures. It has four (4) 16-bit counters for measuring fan speed.
25 There are four (4) PWM outputs that can be used to control fan speed.
28 that allows fan speed to be adjusted automatically based on any of the ten
34 Each of the measured inputs (temperature, fan speed) has corresponding high/low
40 automatic fan pwm control to set the fan speed. The driver will not read the
45 ----------------
47 The ADT7470 has a 8-bit ADC and is capable of measuring temperatures with 1
54 -------------------
[all …]
/openbmc/phosphor-fan-presence/monitor/example/
H A Dmonitor.yaml1 #Example fan monitor definitions for phosphor-fan-monitor
8 # - inventory:
9 # [The system inventory location for the fan]
12 # * timebased - use a percentage based deviation
13 # * count - run up/down count fault detection]
15 # [Delay (in secs) before a fan is marked functional after returning
18 # [Time (in secs) actual speed can be outside of deviation of
19 # target speed]
21 # [Percentage that actual speed must be within target speed]
23 # [How many sensors on the fan must be faulted before fan
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dfan.hpp8 namespace fan namespace
14 * @class Fan
16 * Represents a fan. It has sensors used for setting speeds
22 class Fan class
25 Fan() = delete;
26 Fan(const Fan&) = delete;
27 Fan(Fan&&) = default;
28 Fan& operator=(const Fan&) = delete;
29 Fan& operator=(Fan&&) = default;
30 ~Fan() = default;
[all …]
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_fan_operation.robot36 Check Number Of Fan Monitors With Power On
40 Verify Fan Monitors With State On
43 Check Fans Running At Target Speed
44 [Documentation] Verify fans are running at or near target speed.
47 # Set the speed tolerance criteria.
48 # A tolerance value of .30 means that the fan's speed should be
49 # within 30% of its set target speed. Fans may be accelerating
54 Verify Fan Speed ${tolerance} ${fan_names}
57 Check Fan Manual Control
61 # The maximum target speed.
[all …]
/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtachtool.c4 * This application provides functions to get/set fan speed / PWM dutycycle.
44 printf ("Copyright (c) 2009-2015 American Megatrends Inc.\n"); in ShowUsage()
45 printf( "Usage : pwmtachtool <device_id> <command-option> <fannum>\n" ); in ShowUsage()
46 printf( "\t--set-fan-speed: Set Fan's speed. Takes the RPM value as the last argument\n" ); in ShowUsage()
48 …printf( "\t--set-pwm-dutycycle: Set Fan's dutycycle. dutycycle_percentage value should be … in ShowUsage()
49 …printf( "\t--set-pwm-dutycycle-value: Set Fan's dutycycle. dutycycle_value should be between 0 t… in ShowUsage()
51 printf( "\t--get-pwm-dutycycle: Get Fan's dutycycle\n"); in ShowUsage()
52 printf( "\t--get-fan-speed: Get Fan's speed\n" ); in ShowUsage()
53 printf( "\t--verbose: Enable Debug messages\n" ); in ShowUsage()
71 return -1; in process_arguments()
[all …]
/openbmc/phosphor-fan-presence/monitor/
H A Dfan.hpp17 namespace fan namespace
25 * @class Fan
27 * Represents a fan, which can contain 1 or more sensors which
31 * speed value to be read. Sometimes there is a sensor per rotor,
33 * the sensor reports the slowest speed of all of the rotors.
35 * A rotor's speed is set by writing the Target value of a sensor.
36 * Sometimes each sensor in a fan supports having a Target, and other
40 * The strategy for monitoring fan speeds is as follows:
42 * Every time a Target (new speed written) or Input (actual speed read)
45 * set to not functional. If enough sensors in the fan are now nonfunctional,
[all …]
/openbmc/linux/Documentation/driver-api/thermal/
H A Dnouveau_thermal.rst12 -----------
14 This driver allows to read the GPU core temperature, drive the GPU fan and
17 Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau
19 have one of those, temperature and/or fan management through Nouveau's HWMON
24 ----------------------
26 Temperature is exposed under as a read-only HWMON attribute temp1_input.
32 Fan speed is set to 100% when reaching this temperature;
55 Fan management
56 --------------
58 Not all cards have a drivable fan. If you do, then the following HWMON
[all …]
/openbmc/linux/Documentation/admin-guide/acpi/
H A Dfan_performance_states.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ACPI Fan Performance States
8 fan (for example, PNP0C0B or INT3404), the ACPI fan driver creates additional
10 These attributes list properties of fan performance states.
19 $ ls -l /sys/bus/acpi/devices/INT3404:00/
22 -r--r--r-- 1 root root 4096 Dec 13 20:38 state0
23 -r--r--r-- 1 root root 4096 Dec 13 20:38 state1
24 -r--r--r-- 1 root root 4096 Dec 13 20:38 state10
25 -r--r--r-- 1 root root 4096 Dec 13 20:38 state11
26 -r--r--r-- 1 root root 4096 Dec 13 20:38 state2
[all …]
/openbmc/phosphor-fan-presence/control/example/
H A Dzones.yaml1 #Example fan zone definitions for phosphor-fan-control
3 #List the properties of the fan zones that are possible in the system.
14 #which fans in the fan yaml belong in this zone instance. For
15 #example, a fan may only be in zone 0 if it's the air cooled version
17 #case, the fan yaml would have a cooling_profile of 'air' to match
21 # power_on_delay: [Number of seconds that phosphor-fan-control --init
22 # should delay after setting fans to full speed on
26 # - zone_conditions:
27 # - name: [Name of a condition, if any.]
30 # - zone: [zone number]
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-utils/
H A Dampere_fanctrl.sh4 fan_hwmon_num_8_20=$(ls /sys/bus/i2c/drivers/max31790/8-0020/hwmon)
5 fan_hwmon_num_8_2f=$(ls /sys/bus/i2c/drivers/max31790/8-002f/hwmon)
8 phosphor_fan_service=("phosphor-fan-control@0.service"
9 "phosphor-fan-monitor@0.service"
10 "phosphor-fan-presence-tach@0.service")
12 declare -A fan_id_list
31 systemctl daemon-reload
40 systemctl daemon-reload
53 service_stt=$(systemctl is-active "$service" | grep inactive)
54 if [ -n "$service_stt" ]; then
[all …]
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dgpio-fan.txt1 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 …]
/openbmc/linux/drivers/macintosh/
H A Dtherm_adt746x.c1 // SPDX-License-Identifier: GPL-2.0-only
55 static int fan_speed = -1;
68 MODULE_PARM_DESC(fan_speed,"Specify starting fan speed (0-255) "
92 static void write_both_fan_speed(struct thermostat *th, int speed);
93 static void write_fan_speed(struct thermostat *th, int speed, int fan);
103 rc = i2c_master_send(th->clt, (const char *)tmp, 2); in write_reg()
107 return -ENODEV; in write_reg()
118 rc = i2c_master_send(th->clt, &reg_addr, 1); in read_reg()
122 return -ENODEV; in read_reg()
123 rc = i2c_master_recv(th->clt, (char *)&data, 1); in read_reg()
[all …]

12345678910>>...18