Home
last modified time | relevance | path

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

/linux-6.15/rust/
H A DMakefile41 libmacros_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name macros --crate-type p…
44 …_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name pin_init_internal --crate-typ…
74 --crate-name $(subst rustdoc-,,$@) \
102 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \
122 --extern proc_macro --crate-type proc-macro
/linux-6.15/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-6.15/scripts/
H A Dgenerate_rust_analyzer.py17 crate, vals = cfg.split("=", 1)
18 crates_cfgs[crate] = vals.replace("--cfg", "").split()
39 crate = {
56 crate["proc_macro_dylib_path"] = f"{objtree}/rust/{proc_macro_dylib_name}"
58 crates.append(crate)
H A DMakefile.compiler84 --crate-type=rlib --out-dir=$(TMPOUT) --emit=obj=- - >/dev/null,$(3),$(4))
H A DMakefile.build237 --crate-type rlib -L $(objtree)/rust/ \
238 --crate-name $(basename $(notdir $@)) \
H A DKconfig.include77 rustc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(RUSTC) $(1) --crate-type=rlib…
/linux-6.15/sound/usb/
H A Dclock.c469 int err, crate; in set_sample_rate_v1() local
507 crate = data[0] | (data[1] << 8) | (data[2] << 16); in set_sample_rate_v1()
508 if (!crate) { in set_sample_rate_v1()
514 if (crate != rate) { in set_sample_rate_v1()
515 dev_warn(&dev->dev, "current rate %d is different from the runtime rate %d\n", crate, rate); in set_sample_rate_v1()
/linux-6.15/Documentation/rust/
H A Dgeneral-information.rst99 | | +------+ +------+ | | crate | |
100 | | kernel crate | +----------+ |
H A Dtesting.rst39 Kernel hacking -> Rust hacking -> Doctests for the `kernel` crate
H A Dquick-start.rst203 ``bindgen`` uses the ``clang-sys`` crate to find a suitable ``libclang`` (which
/linux-6.15/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-6.15/rust/pin-init/
H A DCONTRIBUTING.md67 If you make changes to the top-level crate documentation, you also need to update the `README.md`
H A DREADME.md39 However, using the crate on stable compilers is possible by disabling `alloc`. In practice this
215 the `kernel` crate. The [`sync`] module is a good starting point.
/linux-6.15/Documentation/gpu/nova/core/
H A Dtodo.rst36 trait [1] from the num crate.
/linux-6.15/Documentation/kbuild/
H A Dmakefiles.rst813 Kbuild will compile ``target`` using ``target.rs`` as the crate root,
814 located in the same directory as the ``Makefile``. The crate may
/linux-6.15/lib/
H A DKconfig.debug3384 bool "Doctests for the `kernel` crate" if !KUNIT_ALL_TESTS
3388 This builds the documentation tests of the `kernel` crate