Home
last modified time | relevance | path

Searched refs:crate (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/clk/x86/
H A Dclk-cgu-pll.c28 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 Dgenerate_rust_analyzer.py24 crate, vals = cfg.split("=", 1)
25 crates_cfgs[crate] = vals.split()
32 crate, vals = env.split("=", 1)
33 crates_envs[crate] = dict(v.split("=", 1) for v in vals.split())
38 crate: int
89 return invoke_rustc(["--print", "crate-name", str(path)])
128 crate = build_crate(
139 "--crate-name",
141 "--crate-type",
146 **crate,
[all...]
H A DMakefile.compiler84 --crate-type=rlib --out-dir=$(TMPOUT) --emit=obj=- - >/dev/null,$(3),$(4))
H A DKconfig.include78 rustc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(RUSTC) $(1) --crate-type=rlib…
H A DMakefile.build333 --crate-type rlib -L $(objtree)/rust/ \
/linux/rust/
H A DMakefile52 procmacro-name = $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name $(1) --crate-type proc-macro - </dev/null)
169 --crate-name $(subst rustdoc-,,$@) \
178 # - It requires adding it to every crate.
221 --extern proc_macro --crate-type proc-macro
226 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \
257 --extern proc_macro --crate-type proc-macro
288 --crate-type $(if $(rustc_test_library_proc),proc-macro,rlib) \
291 --crate-name $(subst rusttest-,,$(subst rusttestlib-,,$@)) $<
370 --crate
[all...]
/linux/sound/usb/
H A Dclock.c476 int err, crate; in set_sample_rate_v1() local
514 crate = data[0] | (data[1] << 8) | (data[2] << 16); in set_sample_rate_v1()
515 if (!crate) { in set_sample_rate_v1()
521 if (crate != rate) { in set_sample_rate_v1()
522 dev_warn(&dev->dev, "current rate %d is different from the runtime rate %d\n", crate, rate); in set_sample_rate_v1()
/linux/Documentation/translations/zh_CN/rust/
H A Dtesting.rst42 Kernel hacking -> Rust hacking -> Doctests for the `kernel` crate
197 目前,它们主要用于测试 ``macros`` crate 的示例。
/linux/rust/quote/
H A DREADME.md3 These source files come from the Rust `quote` crate, version 1.0.40
/linux/rust/syn/
H A DREADME.md3 These source files come from the Rust `syn` crate, version 2.0.106
/linux/rust/proc-macro2/
H A DREADME.md3 These source files come from the Rust `proc-macro2` crate, version
/linux/rust/pin-init/
H A DREADME.md11 > 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
232 the `kernel` crate. The [`sync`] module is a good starting point.
/linux/tools/build/
H A DMakefile.build83 --crate-type staticlib -L $(objtree)/rust/ \
/linux/Documentation/rust/
H A Dcoding-guidelines.rst51 use crate::{
62 use crate::{
85 use crate::{
99 use crate::{
H A Dtesting.rst39 Kernel hacking -> Rust hacking -> Doctests for the `kernel` crate
219 Currently, they are mostly used for testing the ``macros`` crate's examples.
/linux/drivers/media/dvb-frontends/
H A Dsi21xx.c637 enum fe_code_rate crate) in si21xx_setacquire() argument
654 coderate_ptr = coderates[crate]; in si21xx_setacquire()
/linux/lib/
H A DKconfig.debug3599 bool "Doctests for the `kernel` crate" if !KUNIT_ALL_TESTS
3603 This builds the documentation tests of the `kernel` crate