Home
last modified time | relevance | path

Searched +full:fan +full:- +full:stop +full:- +full:to +full:- +full:start +full:- +full:percent (Results 1 – 4 of 4) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.yaml1 # 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 <[email protected]>
11 - Guenter Roeck <linux@roeck-us.net>
15 const: pwm-fan
17 cooling-levels:
18 description: PWM duty cycle values corresponding to thermal cooling states.
[all …]
/linux-6.14.4/drivers/hwmon/
Dpwm-fan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pwm-fan.c - Hwmon driver for fans connected to PWM lines.
74 atomic_inc(&tach->pulses); in pulse_handler()
82 unsigned int delta = ktime_ms_delta(ktime_get(), ctx->sample_start); in sample_timer()
86 for (i = 0; i < ctx->tach_count; i++) { in sample_timer()
87 struct pwm_fan_tach *tach = &ctx->tachs[i]; in sample_timer()
90 pulses = atomic_read(&tach->pulses); in sample_timer()
91 atomic_sub(pulses, &tach->pulses); in sample_timer()
92 tach->rpm = (unsigned int)(pulses * 1000 * 60) / in sample_timer()
93 (ctx->pulses_per_revolution[i] * delta); in sample_timer()
[all …]
/linux-6.14.4/include/linux/platform_data/
Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
53 * and they tell the kernel that so we have to think of it as two parts.
56 * MEC series EC; an attempt to address a larger region may fail.
64 #define EC_LPC_CMDR_DATA BIT(0) /* Data ready for host to read */
65 #define EC_LPC_CMDR_PENDING BIT(1) /* Write pending to EC */
77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_phw_vega10_power_state()
108 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_const_phw_vega10_power_state()
117 struct vega10_hwmgr *data = hwmgr->backend; in vega10_set_default_registry_data()
119 data->registry_data.sclk_dpm_key_disabled = in vega10_set_default_registry_data()
[all …]