Searched refs:crate (Results 1 – 18 of 18) sorted by relevance
| /linux/drivers/clk/x86/ |
| H A D | clk-cgu-pll.c | 28 u64 crate, frate, rate64; in lgm_pll_calc_rate() local 31 crate = rate64 * mult; in lgm_pll_calc_rate() 34 crate += frate; in lgm_pll_calc_rate() 35 do_div(crate, div); in lgm_pll_calc_rate() 37 return crate; in lgm_pll_calc_rate()
|
| /linux/scripts/ |
| H A D | generate_rust_analyzer.py | 17 crate, vals = cfg.split("=", 1) 18 crates_cfgs[crate] = vals.split() 39 crate = { 44 "deps": [{"crate": crates_indexes[dep], "name": dep} for dep in deps], 53 [os.environ["RUSTC"], "--print", "file-names", "--crate-name", display_name, "--crate-type", "proc-macro", "-"], 56 crate["proc_macro_dylib_path"] = f"{objtree}/rust/{proc_macro_dylib_name}" 58 crates.append(crate) 100 # for this dependency graph are `(sysroot_src / crate / "Cargo.toml" for crate i [all...] |
| H A D | Makefile.compiler | 84 --crate-type=rlib --out-dir=$(TMPOUT) --emit=obj=- - >/dev/null,$(3),$(4))
|
| H A D | Makefile.build | 336 --crate-type rlib -L $(objtree)/rust/ \ 337 --crate-name $(basename $(notdir $@)) \
|
| H A D | Kconfig.include | 78 rustc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(RUSTC) $(1) --crate-type=rlib…
|
| /linux/rust/ |
| H A D | Makefile | 46 libmacros_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name macros --crate-type p… 49 …_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name pin_init_internal --crate-typ… 156 --crate-name $(subst rustdoc-,,$@) \ 207 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \ 233 --extern proc_macro --crate-type proc-macro
|
| /linux/Documentation/translations/zh_CN/rust/ |
| H A D | testing.rst | 42 Kernel hacking -> Rust hacking -> Doctests for the `kernel` crate 197 目前,它们主要用于测试 ``macros`` crate 的示例。
|
| /linux/rust/quote/ |
| H A D | README.md | 3 These source files come from the Rust `quote` crate, version 1.0.40
|
| /linux/rust/syn/ |
| H A D | README.md | 3 These source files come from the Rust `syn` crate, version 2.0.106
|
| /linux/rust/proc-macro2/ |
| H A D | README.md | 3 These source files come from the Rust `proc-macro2` crate, version
|
| /linux/rust/pin-init/ |
| H A D | README.md | 11 > This crate was originally named [`pinned-init`], but the migration to 13 > version of the `pinned-init` crate & the `main` branch already incorporates 51 However, using the crate on stable compilers is possible by disabling `alloc`. In practice this 233 the `kernel` crate. The [`sync`] module is a good starting point.
|
| /linux/Documentation/rust/ |
| H A D | general-information.rst | 99 | | +------+ +------+ | | crate | | 100 | | kernel crate | +----------+ |
|
| H A D | coding-guidelines.rst | 51 use crate::{ 62 use crate::{ 85 use crate::{ 99 use crate::{
|
| H A D | testing.rst | 39 Kernel hacking -> Rust hacking -> Doctests for the `kernel` crate 214 Currently, they are mostly used for testing the ``macros`` crate's examples.
|
| H A D | quick-start.rst | 241 ``bindgen`` uses the ``clang-sys`` crate to find a suitable ``libclang`` (which
|
| /linux/tools/build/ |
| H A D | Makefile.build | 83 --crate-type staticlib -L $(objtree)/rust/ \
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | si21xx.c | 637 enum fe_code_rate crate) in si21xx_setacquire() argument 654 coderate_ptr = coderates[crate]; in si21xx_setacquire()
|
| /linux/lib/ |
| H A D | Kconfig.debug | 3568 bool "Doctests for the `kernel` crate" if !KUNIT_ALL_TESTS 3572 This builds the documentation tests of the `kernel` crate
|