Home
last modified time | relevance | path

Searched +full:target +full:- +full:rpm (Results 1 – 25 of 100) sorted by relevance

1234

/linux-6.12.1/scripts/
DMakefile.package1 # SPDX-License-Identifier: GPL-2.0-only
8 # ---------------------------------------------------------------------------
10 filechk_HEAD = git -C $(srctree) rev-parse --verify HEAD 2>/dev/null
12 .tmp_HEAD: check-git FORCE
15 PHONY += check-git
16 check-git:
17 @if ! $(srctree)/scripts/check-git; then \
22 git-config-tar.gz = -c tar.tar.gz.command="$(KGZIP)"
23 git-config-tar.bz2 = -c tar.tar.bz2.command="$(KBZIP2)"
24 git-config-tar.lzma = -c tar.tar.lzma.command="$(LZMA)"
[all …]
/linux-6.12.1/Documentation/hwmon/
Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
25 -----------
32 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds
37 available through debugfs are the serial number, firmware version and power-on
39 temperature curves directly from the pump. If it's not connected, the fan-related
49 as well as eight PWM controllable fans, along with their speed (in RPM), power, voltage
53 sensor and four PWM controllable fans, along with their speed (in RPM), power,
64 target readings). It also exposes the estimated reservoir volume and how much of it is
65 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations,
[all …]
Demc2103.rst18 -----------
23 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
26 the readings more range or accuracy. Not all RPM values can accurately be
28 representable value is 480 RPM.
30 This driver supports RPM based control, to use this a fan target
33 The 2103-2 and 2103-4 variants have a third temperature sensor, which can
34 be connected to two anti-parallel diodes. These values can be read
37 this 4th channel when anti-parallel diodes are not fitted.
Dg762.rst5 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.
25 set desired fan speed. This only makes sense in closed-loop
29 provide current fan rotation value in RPM as reported by
44 in closed-loop control mode, if fan RPM value is 25% out
50 speed control (open-loop) via pwm1 described below, 2 for
51 automatic fan speed control (closed-loop) via fan1_target
58 get or set PWM fan control value in open-loop mode. This is an
[all …]
Dmax31790.rst10 Addresses scanned: -
18 -----------
24 through the I2C interface. The outputs drive "4-wire" fans directly,
28 Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%)
29 monitoring and control of fan RPM as well as detection of fan failure.
35 -------------
38 fan[1-12]_input RO fan tachometer speed in RPM
39 fan[1-12]_fault RO fan experienced fault
40 fan[1-6]_target RW desired fan speed in RPM
41 fan[1-6]_enable RW enable or disable the tachometer input
[all …]
Demc2305.rst1 .. SPDX-License-Identifier: GPL-2.0
12 https://www.microchip.com/en-us/product/EMC2305
15 ------------
16 This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
18 Fan rotation speeds are reported in RPM.
19 The driver supports the RPM-based PWM control to keep a fan at the desired speed.
26 fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
27 fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
28 pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
Dmax6639.rst12 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
15 - He Changqing <hechangqing@semptian.com>
16 - Roland Stigge <stigge@antcom.de>
19 -----------
21 This driver implements support for the Maxim MAX6639. This chip is a 2-channel
23 temperature and one external diode-connected transistor or two external
24 diode-connected transistors.
43 pwm1 RW Fan 1 target duty cycle (0..255)
44 pwm2 RW Fan 2 target duty cycle (0..255)
45 fan1_input R TACH1 fan tachometer input (in RPM)
[all …]
Dmax31785.rst10 Addresses scanned: -
17 -----------
19 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan
24 For dual-rotor configurations the MAX31785A exposes the second rotor tachometer
25 readings in attributes fan[5-8]_input. By contrast the MAX31785 only exposes
26 the slowest rotor measurement, and does so in the fan[1-4]_input attributes.
29 -----------
35 ----------------
38 fan[1-4]_alarm Fan alarm.
39 fan[1-4]_fault Fan fault.
[all …]
Dcorsair-cpro.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver corsair-cpro
14 -----------
22 -----------
27 -------------
33 temp[1-4]_input Temperature on connected temperature sensors
34 fan[1-6]_input Connected fan rpm.
35 fan[1-6]_label Shows fan type as detected by the device.
36 fan[1-6]_target Sets fan speed target rpm.
39 pwm[1-6] Sets the fan speed. Values from 0-255. Can only be read if pwm
[all …]
/linux-6.12.1/drivers/soc/qcom/
Dqcom_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
77 u64 accumulated = stat->accumulated; in qcom_print_stats()
82 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats()
83 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats()
85 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats()
86 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats()
87 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats()
93 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show()
97 stat = qcom_smem_get(subsystem->pid, subsystem->smem_item, NULL); in qcom_subsystem_sleep_stats_show()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/
Dfan-common.yaml1 # 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#
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:
22 Min RPM supported by fan.
[all …]
Dmaxim,max6650.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
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:
35 maxim,fan-prescale:
[all …]
Dmaxim,max6639.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Naresh Solanki <naresh.solanki@9elements.com>
14 The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM
15 fan-speed controller. It monitors its own temperature and one external
16 diode-connected transistor or the temperatures of two external diode-connected
20 https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
25 - maxim,max6639
30 '#address-cells':
[all …]
/linux-6.12.1/drivers/macintosh/
Dwindfarm_pm72.c1 // SPDX-License-Identifier: GPL-2.0-only
99 #define LOW_OVER_CLEAR ((-10) << 16)
167 cpu_thist_total -= t_old; in cpu_check_overtemp()
193 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp()
217 return -EIO; in read_one_cpu_vals()
226 return -EIO; in read_one_cpu_vals()
234 return -EIO; in read_one_cpu_vals()
262 wf_control_get(cpu_rear_fans[cpu], &sp->target); in cpu_fans_tick_split()
264 DBG_LOTS(" CPU%d: cur_target = %d RPM\n", cpu, sp->target); in cpu_fans_tick_split()
283 DBG_LOTS(" CPU%d: target = %d RPM\n", cpu, sp->target); in cpu_fans_tick_split()
[all …]
Dwindfarm_pm81.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * that none of the code has been re-used, it's a complete re-implementation
24 * - the linked control (second control) gets the target value as-is
26 * - the main control (first control) gets the target value scaled with
28 * - the value of the target of the CPU Fan control loop is retrieved,
30 * the scaled target is applied to the main control.
33 * controls : system-fan, drive-bay-fan
34 * sensors : hd-temp
39 * Input target = 0x3a0000
41 * linear-factors : offset = 0xff38 scale = 0x0ccd
[all …]
Dwindfarm_pm121.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * that none of the code has been re-used, it's a complete
17 * re-implementation
21 * controls with a tiny difference. The control-ids of hard-drive-fan
22 * and cpu-fan is swapped.
24 * Target Correction :
26 * controls have a target correction calculated as :
34 * offset : -19563152
38 * offset : -15650652
44 * offset : -15650652
[all …]
Dwindfarm_mpu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
22 u8 signature; /* 0x00 - EEPROM sig. */
23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */
24 u8 size; /* 0x02 - EEPROM size (256 ?) */
25 u8 version; /* 0x03 - EEPROM version */
26 u32 data_revision; /* 0x04 - Dataset revision */
27 u8 processor_bin_code[3]; /* 0x08 - Processor BIN code */
28 u8 bin_code_expansion; /* 0x0b - ??? (padding ?) */
29 u8 processor_num; /* 0x0c - Number of CPUs on this MPU */
30 u8 input_mul_bus_div; /* 0x0d - Clock input multiplier/bus divider */
[all …]
Dwindfarm_fcu_controls.c1 // SPDX-License-Identifier: GPL-2.0-only
36 * correction factor obtained from the PID to the actual RPM
40 * applied to the setpoint RPM speed, that is basically the
44 * what Darwin -apparently- does based on observed behaviour.
66 s32 min, max, target; member
80 struct wf_fcu_fan *fan = ct->priv; in wf_fcu_fan_release()
82 kref_put(&fan->fcu_priv->ref, wf_fcu_release); in wf_fcu_fan_release()
91 mutex_lock(&pv->lock); in wf_fcu_read_reg()
96 nw = i2c_master_send(pv->i2c, buf, 1); in wf_fcu_read_reg()
97 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_read_reg()
[all …]
/linux-6.12.1/drivers/hwmon/
Dmax6620.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 * http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
95 /* Minimum and maximum values of the FAN-RPM */
142 u16 target[4]; member
150 static u16 max6620_fan_rpm_to_tach(u8 div, int rpm) in max6620_fan_rpm_to_tach() argument
152 return (60 * div * MAX6620_CLOCK_FREQ) / (rpm * MAX6620_PULSE_PER_REV); in max6620_fan_rpm_to_tach()
163 struct i2c_client *client = data->client; in max6620_update_device()
167 mutex_lock(&data->update_lock); in max6620_update_device()
169 if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { in max6620_update_device()
174 data->fancfg[i] = ret; in max6620_update_device()
[all …]
Demc2103.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * emc2103.c - Support for SMSC EMC2103
13 #include <linux/hwmon-sysfs.h>
35 /* equation 4 from datasheet: rpm = (3932160 * multipler) / count */
39 * 2103-2 and 2103-4's 3rd temperature sensor can be connected to two diodes
40 * in anti-parallel mode, and in this configuration both can be read
43 * it. Default is to leave the device in the state it's already in (-1).
46 static int apd = -1;
48 MODULE_PARM_DESC(apd, "Set to zero to disable anti-parallel diode mode");
52 u8 fraction; /* 0-7 multiples of 0.125 */
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpptable_v1_0.h245 ULONG ulDClk; /* UVD D-clock */
246 ULONG ulVClk; /* UVD V-clock */
284 USHORT usFanRPMMax; /* The default value in RPM */
286 UCHAR ucTargetTemperature; /* Advanced fan controller target temperature. */
287 …ntroller can set. This should be set to the highest PWM that will run the fan at its lowest RPM. */
304 USHORT usFanRPMMax; /* The default value in RPM */
306 UCHAR ucTargetTemperature; /* Advanced fan controller target temperature. */
307 …ntroller can set. This should be set to the highest PWM that will run the fan at its lowest RPM. */
331 USHORT usFanRPMMax; /* The default value in RPM */
333 UCHAR ucTargetTemperature; /* Advanced fan controller target temperature. */
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfan.c32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument
34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update()
35 struct nvkm_subdev *subdev = &therm->subdev; in nvkm_fan_update()
36 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update()
41 /* update target fan speed, restricting to allowed range */ in nvkm_fan_update()
42 spin_lock_irqsave(&fan->lock, flags); in nvkm_fan_update()
43 if (target < 0) in nvkm_fan_update()
44 target = fan->percent; in nvkm_fan_update()
45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update()
46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v13_0_7_pptable.h37 // SMU_13_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
70 …ATURE_FAN = 1 << SMU_13_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit …
73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
78 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_7_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature
Dsmu_v11_0_7_pptable.h37 // SMU_11_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
69 …_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
71 …RATURE_FAN = 1 << SMU_11_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit …
74 …DFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_11_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
79 …_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0_0_pptable.h37 // SMU_13_0_0_PP_THERMALCONTROLLER - Thermal Controller Type
68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
70 …ATURE_FAN = 1 << SMU_13_0_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit …
73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
78 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_0_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature

1234