Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:MAX_PWM
(Results
1 - 2
of
2
) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/
H
A
D
pwm-fan.c
23
#define
MAX_PWM
255
macro
84
state.duty_cycle = DIV_ROUND_UP(pwm * (period - 1),
MAX_PWM
);
in __set_pwm()
113
if (kstrtoul(buf, 10, &pwm) || pwm >
MAX_PWM
)
in pwm_store()
257
if (ctx->pwm_fan_cooling_levels[i] >
MAX_PWM
) {
in pwm_fan_of_get_cooling_data()
259
ctx->pwm_fan_cooling_levels[i],
MAX_PWM
);
in pwm_fan_of_get_cooling_data()
325
ctx->pwm_value =
MAX_PWM
;
in pwm_fan_probe()
329
* __set_pwm assumes that
MAX_PWM
* (period - 1) fits into an unsigned
in pwm_fan_probe()
333
if (state.period > ULONG_MAX /
MAX_PWM
+ 1) {
in pwm_fan_probe()
456
duty = DIV_ROUND_UP_ULL(ctx->pwm_value * (pargs.period - 1),
MAX_PWM
);
in pwm_fan_resume()
/kernel/linux/linux-6.6/drivers/hwmon/
H
A
D
pwm-fan.c
22
#define
MAX_PWM
255
macro
209
state->duty_cycle = DIV_ROUND_UP(pwm * (period - 1),
MAX_PWM
);
in __set_pwm()
300
if (val < 0 || val >
MAX_PWM
)
in pwm_fan_write()
453
if (ctx->pwm_fan_cooling_levels[i] >
MAX_PWM
) {
in pwm_fan_of_get_cooling_data()
455
ctx->pwm_fan_cooling_levels[i],
MAX_PWM
);
in pwm_fan_of_get_cooling_data()
519
* set_pwm assumes that
MAX_PWM
* (period - 1) fits into an unsigned
in pwm_fan_probe()
523
if (ctx->pwm_state.period > ULONG_MAX /
MAX_PWM
+ 1) {
in pwm_fan_probe()
534
ret = set_pwm(ctx,
MAX_PWM
);
in pwm_fan_probe()
Completed in 2 milliseconds