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:CH341_CLKRATE
(Results
1 - 2
of
2
) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/serial/
H
A
D
ch341.c
156
#define
CH341_CLKRATE
48000000
macro
158
#define CH341_MIN_RATE(ps) (
CH341_CLKRATE
/ (CH341_CLK_DIV((ps), 1) * 512))
168
#define CH341_MIN_BPS DIV_ROUND_UP(
CH341_CLKRATE
, CH341_CLK_DIV(0, 0) * 256)
169
#define CH341_MAX_BPS (
CH341_CLKRATE
/ (CH341_CLK_DIV(3, 0) * 2))
208
div =
CH341_CLKRATE
/ (clk_div * speed);
in ch341_get_divisor()
228
if (16 *
CH341_CLKRATE
/ (clk_div * div) - 16 * speed >=
in ch341_get_divisor()
229
16 * speed - 16 *
CH341_CLKRATE
/ (clk_div * (div + 1)))
in ch341_get_divisor()
/kernel/linux/linux-6.6/drivers/usb/serial/
H
A
D
ch341.c
150
#define
CH341_CLKRATE
48000000
macro
152
#define CH341_MIN_RATE(ps) (
CH341_CLKRATE
/ (CH341_CLK_DIV((ps), 1) * 512))
162
#define CH341_MIN_BPS DIV_ROUND_UP(
CH341_CLKRATE
, CH341_CLK_DIV(0, 0) * 256)
163
#define CH341_MAX_BPS (
CH341_CLKRATE
/ (CH341_CLK_DIV(3, 0) * 2))
202
div =
CH341_CLKRATE
/ (clk_div * speed);
in ch341_get_divisor()
222
if (16 *
CH341_CLKRATE
/ (clk_div * div) - 16 * speed >=
in ch341_get_divisor()
223
16 * speed - 16 *
CH341_CLKRATE
/ (clk_div * (div + 1)))
in ch341_get_divisor()
Completed in 3 milliseconds