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:ST_NBR_MODE_BITS
(Results
1 - 4
of
4
) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/
H
A
D
st.h
75
/* Number of modes can be changed by changing
ST_NBR_MODE_BITS
. The maximum
76
number of modes is 16 (
ST_NBR_MODE_BITS
4) */
77
#define
ST_NBR_MODE_BITS
2
macro
78
#define ST_NBR_MODES (1 <<
ST_NBR_MODE_BITS
)
79
#define ST_MODE_SHIFT (7 -
ST_NBR_MODE_BITS
)
82
#define ST_MAX_TAPES (1 << (20 - (
ST_NBR_MODE_BITS
+ 1)))
83
#define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (
ST_NBR_MODE_BITS
+ 1))
H
A
D
st.c
174
#define TAPE_NR(x) ( ((iminor(x) & ~255) >> (
ST_NBR_MODE_BITS
+ 1)) | \
179
#define TAPE_MINOR(d, m, n) (((d & ~(255 >> (
ST_NBR_MODE_BITS
+ 1))) << (
ST_NBR_MODE_BITS
+ 1)) | \
180
(d & (255 >> (
ST_NBR_MODE_BITS
+ 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) )
4236
i = mode << (4 -
ST_NBR_MODE_BITS
);
in create_one_cdev()
/kernel/linux/linux-6.6/drivers/scsi/
H
A
D
st.h
74
/* Number of modes can be changed by changing
ST_NBR_MODE_BITS
. The maximum
75
number of modes is 16 (
ST_NBR_MODE_BITS
4) */
76
#define
ST_NBR_MODE_BITS
2
macro
77
#define ST_NBR_MODES (1 <<
ST_NBR_MODE_BITS
)
78
#define ST_MODE_SHIFT (7 -
ST_NBR_MODE_BITS
)
81
#define ST_MAX_TAPES (1 << (20 - (
ST_NBR_MODE_BITS
+ 1)))
82
#define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (
ST_NBR_MODE_BITS
+ 1))
H
A
D
st.c
175
#define TAPE_NR(x) ( ((iminor(x) & ~255) >> (
ST_NBR_MODE_BITS
+ 1)) | \
180
#define TAPE_MINOR(d, m, n) (((d & ~(255 >> (
ST_NBR_MODE_BITS
+ 1))) << (
ST_NBR_MODE_BITS
+ 1)) | \
181
(d & (255 >> (
ST_NBR_MODE_BITS
+ 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) )
4206
i = mode << (4 -
ST_NBR_MODE_BITS
);
in create_one_cdev()
Completed in 12 milliseconds