/linux-6.14.4/rust/kernel/sync/ |
D | arc.rs | 10 //! It is different from the standard library's [`Arc`] in a few ways: 15 //! 5. The object in [`Arc`] is pinned implicitly. 17 //! [`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html 41 /// The reference count is incremented when new instances of [`Arc`] are created, and decremented 46 /// The reference count on an instance of [`Arc`] is always non-zero. 47 /// The object pointed to by [`Arc`] is always pinned. 52 /// use kernel::sync::Arc; 60 /// let obj = Arc::new(Example { a: 10, b: 20 }, GFP_KERNEL)?; 79 /// Using `Arc<T>` as the type of `self`: 82 /// use kernel::sync::Arc; [all …]
|
/linux-6.14.4/Documentation/arch/arc/ |
D | arc.rst | 3 Linux kernel for ARC processors 10 ARC processors and relevant open source projects. 12 - `<https://embarc.org>`_ - Community portal for open source on ARC. 16 - `<https://github.com/foss-for-synopsys-dwc-arc-processors>`_ - 18 ARC processors. Some of the projects are forks of various upstream projects, 21 as open source for use on ARC Processors. 23 - `Official Synopsys ARC Processors website 26 Manual, AKA PRM for ARC HS processors 27 <https://www.synopsys.com/dw/doc.php/ds/cc/programmers-reference-manual-ARC-HS.pdf>`_) 34 Important note on ARC processors configurability [all …]
|
/linux-6.14.4/rust/kernel/list/ |
D | arc.rs | 5 //! A wrapper around `Arc` for linked lists. 9 use crate::sync::{Arc, ArcBorrow, UniqueArc}; 58 /// Attempts to convert an `Arc<Self>` into an `ListArc<Self>`. Returns `true` if the 131 /// A wrapper around [`Arc`] that's guaranteed unique for the given id. 142 /// creation of new `ListArc` references from an [`Arc`] reference. Whatever strategy is used, the 152 /// While this `ListArc` is unique for the given id, there still might exist normal `Arc` 167 arc: Arc<T>, field 181 // what we do for `Arc`. 222 let arc = Arc::from(unique); in from() localVariable 223 // SAFETY: We just called `on_create_list_arc_from_unique` on an arc without a `ListArc`, in from() [all …]
|
/linux-6.14.4/drivers/accel/habanalabs/include/gaudi2/arc/ |
D | gaudi2_arc_common_packets.h | 15 /* Dcore1 MME Engine ARC instance used as scheduler */ 17 /* Dcore3 MME Engine ARC instance used as scheduler */ 107 * ARC Address: 0x1000_0000 114 * ARC Address: 0x2000_0000 121 * ARC Address: 0x3000_0000 129 * ARC Address: 0x4000_0000 137 * ARC Address: 0x5000_0000 145 * ARC Address: 0x6000_0000 153 * ARC Address: 0x7000_0000 159 * ARC Address: 0x8000_0000 [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/remoteproc/ |
D | amlogic,meson-mx-ao-arc.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml# 7 title: Amlogic Meson AO ARC Remote Processor 10 Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core 12 system suspend. Meson6 and older use a ARC core based on the ARCv1 13 ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) 23 - amlogic,meson8-ao-arc 24 - amlogic,meson8b-ao-arc 25 - const: amlogic,meson-mx-ao-arc 54 the ARC core. The region should be defined as child nodes of the 78 compatible = "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc";
|
/linux-6.14.4/arch/arc/ |
D | Kconfig | 6 config ARC config 86 menu "ARC Architecture Configuration" 88 menu "ARC Platform/SoC/Board" 90 source "arch/arc/plat-tb10x/Kconfig" 91 source "arch/arc/plat-axs10x/Kconfig" 92 source "arch/arc/plat-hsdk/Kconfig" 97 prompt "ARC Instruction Set" 104 The original ARC ISA of ARC600/700 cores 107 bool "ARC ISA v2" 110 ISA for the Next Generation ARC-HS cores [all …]
|
D | Makefile | 9 CROSS_COMPILE := $(call cc-cross-prefix, arc-linux- arceb-linux- arc-linux-gnu-) 37 LINUXINCLUDE += -include $(srctree)/arch/arc/include/asm/current.h 85 core-y += arch/arc/plat-sim/ 86 core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/ 87 core-$(CONFIG_ARC_PLAT_AXS10X) += arch/arc/plat-axs10x/ 88 core-$(CONFIG_ARC_SOC_HSDK) += arch/arc/plat-hsdk/ 90 libs-y += arch/arc/lib/ $(LIBGCC) 92 boot := arch/arc/boot
|
/linux-6.14.4/Documentation/devicetree/bindings/timer/ |
D | snps,arc-timer.txt | 1 Synopsys ARC Local Timer with Interrupt Capabilities 2 - Found on all ARC CPUs (ARC700/ARCHS) 4 - Two identical copies TIMER0 and TIMER1 exist in ARC cores and historically 5 TIMER0 used as clockevent provider (true for all ARC cores) 6 TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS) 10 - compatible : should be "snps,arc-timer" 18 compatible = "snps,arc-timer"; 25 compatible = "snps,arc-timer";
|
D | snps,archs-rtc.txt | 1 Synopsys ARC Free Running 64-bit Local Timer for ARC HS CPUs 12 compatible = "snps,arc-rtc";
|
/linux-6.14.4/samples/rust/ |
D | rust_print_main.rs | 22 let a = Arc::new(1, GFP_KERNEL)?; in arc_print() 31 let a: Arc<&str> = b.into(); in arc_print() 38 // `Arc` can be used to delegate dynamic dispatch and the following is an example. in arc_print() 40 // behaviour, contract or protocol on both `i32` and `&str` into a single `Arc` of in arc_print() 41 // type `Arc<dyn Display>`. in arc_print() 44 fn arc_dyn_print(arc: &Arc<dyn Display>) { in arc_print() 45 pr_info!("Arc<dyn Display> says {arc}"); in arc_print() 48 let a_i32_display: Arc<dyn Display> = Arc::new(42i32, GFP_KERNEL)?; in arc_print() 49 let a_str_display: Arc<dyn Display> = a.clone(); in arc_print()
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/ |
D | arcxcnn_bl.txt | 4 - compatible: should be "arc,arc2c0608" 14 - arc,led-config-0: setting for register ILED_CONFIG_0 15 - arc,led-config-1: setting for register ILED_CONFIG_1 16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used) 17 - arc,comp-config: setting for register CONFIG_COMP 18 - arc,filter-config: setting for register FILTER_CONFIG 19 - arc,trim-config: setting for register IMAXTUNE 26 compatible = "arc,arc2c0608";
|
/linux-6.14.4/rust/kernel/sync/arc/ |
D | std_vendor.rs | 10 use crate::sync::{arc::ArcInner, Arc}; 13 impl Arc<dyn Any + Send + Sync> { impl 14 /// Attempt to downcast the `Arc<dyn Any + Send + Sync>` to a concrete type. 15 pub fn downcast<T>(self) -> core::result::Result<Arc<T>, Self> in downcast() 24 Ok(Arc::from_inner(ptr)) in downcast()
|
/linux-6.14.4/rust/kernel/ |
D | workqueue.rs | 36 //! use kernel::sync::Arc; 51 //! fn new(value: i32) -> Result<Arc<Self>> { 52 //! Arc::pin_init(pin_init!(MyStruct { 60 //! type Pointer = Arc<MyStruct>; 62 //! fn run(this: Arc<MyStruct>) { 69 //! fn print_later(val: Arc<MyStruct>) { 78 //! use kernel::sync::Arc; 97 //! fn new(value_1: i32, value_2: i32) -> Result<Arc<Self>> { 98 //! Arc::pin_init(pin_init!(MyStruct { 108 //! type Pointer = Arc<MyStruct>; [all …]
|
D | devres.rs | 16 sync::Arc, 99 pub struct Devres<T>(Arc<DevresInner<T>>); 102 fn new(dev: &Device, data: T, flags: Flags) -> Result<Arc<DevresInner<T>>> { in new() 103 let inner = Arc::pin_init( in new() 112 // Convert `Arc<DevresInner>` into a raw pointer and make devres own this reference until in new() 125 let _ = unsafe { Arc::from_raw(data) }; in new() 136 fn remove_action(this: &Arc<Self>) { in remove_action() 151 // SAFETY: We leaked an `Arc` reference to devm_add_action() in `DevresInner::new`; if in remove_action() 154 let _ = unsafe { Arc::from_raw(this.as_ptr()) }; in remove_action() 161 // Devres owned this memory; now that we received the callback, drop the `Arc` and hence the in devres_callback() [all …]
|
/linux-6.14.4/arch/arc/plat-axs10x/ |
D | Kconfig | 7 bool "Synopsys ARC AXS10x Software Development Platforms" 17 Support for the ARC AXS10x Software Development Platforms. 27 bool "AXS101 with AXC001 CPU Card (ARC 770D/EM6/AS221)" 29 This adds support for the 770D/EM6/AS221 CPU Card. Only the ARC 37 bool "AXS103 with AXC003 CPU Card (ARC HS38x)"
|
/linux-6.14.4/drivers/remoteproc/ |
D | meson_mx_ao_arc.c | 74 * The SRAM content as seen by the ARC core always starts at 0x0 in meson_mx_ao_arc_rproc_start() 128 /* The memory from the ARC core's perspective always starts at 0x0. */ in meson_mx_ao_arc_rproc_da_to_va() 154 rproc = devm_rproc_alloc(dev, "meson-mx-ao-arc", in meson_mx_ao_arc_rproc_probe() 206 dev_err(dev, "Failed to get ARC reset\n"); in meson_mx_ao_arc_rproc_probe() 213 dev_err(dev, "Failed to get the ARC PCLK\n"); in meson_mx_ao_arc_rproc_probe() 241 { .compatible = "amlogic,meson8-ao-arc" }, 242 { .compatible = "amlogic,meson8b-ao-arc" }, 251 .name = "meson-mx-ao-arc-rproc", 257 MODULE_DESCRIPTION("Amlogic Meson6/8/8b/8m2 AO ARC remote processor driver");
|
/linux-6.14.4/Documentation/devicetree/bindings/serial/ |
D | arc-uart.txt | 1 * Synopsys ARC UART : Non standard UART used in some of the ARC FPGA boards 4 - compatible : "snps,arc-uart" 13 compatible = "snps,arc-uart";
|
/linux-6.14.4/drivers/net/ethernet/arc/ |
D | Kconfig | 3 # ARC EMAC network device configuration 7 bool "ARC devices" 14 the questions about ARC cards. If you say Y, you will be asked for 21 depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
|
/linux-6.14.4/arch/arc/include/uapi/asm/ |
D | swab.h | 14 * -Hardware assisted single cycle bswap (Use Case of ARC custom instrn) 37 /* Several ways of Endian-Swap Emulation for ARC 39 * 1: ARC optimised "C" 40 * 2: ARC Custom instruction 50 * This generates 9 instructions on ARC (excluding the ld/st) 66 * (2) At the same time it takes advantage of ARC ISA (rotate intrns)
|
/linux-6.14.4/arch/sparc/include/asm/ |
D | mdesc.h | 43 /* MD arc iteration, the standard sequence is: 45 * unsigned long arc; 46 * mdesc_for_each_arc(arc, handle, node, MDESC_ARC_TYPE_{FWD,BACK}) { 47 * unsigned long target = mdesc_arc_target(handle, arc); 62 u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc);
|
/linux-6.14.4/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2P.h | 53 /* Map all arcs dccm + arc schedulers acp blocks */ 62 /* Within the user mapped array, decoder entries start post all the ARC related 485 * @active_hw_arc: This field contains a bit per ARC of an H/W engine with 486 * exception of TPC and NIC engines. Once an engine arc is 488 * identify each initialized ARC and use this information in 490 * of its corresponding ARC of the H/W engine. 503 * @active_tpc_arc: This field contains a bit per ARC of the TPC engines. 504 * Once an engine arc is initialized, its respective bit is 506 * corresponding ARC of the TPC engine. 508 * @active_nic_arc: This field contains a bit per ARC of the NIC engines. [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/arc/ |
D | hsdk.txt | 1 Synopsys DesignWare ARC HS Development Kit Device Tree Bindings 4 ARC HSDK Board with quad-core ARC HS38x4 in silicon.
|
D | snps,archs-pct.yaml | 4 $id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# 7 title: ARC HS Performance Counters 13 The ARC HS can be configured with a pipeline performance monitor for counting
|
/linux-6.14.4/arch/arm64/boot/dts/rockchip/ |
D | rk3566-anbernic-rg-arc-s.dts | 8 #include "rk3566-anbernic-rg-arc.dtsi" 11 model = "Anbernic RG ARC-S"; 12 compatible = "anbernic,rg-arc-s", "rockchip,rk3566";
|
/linux-6.14.4/drivers/clocksource/ |
D | arc_timer.c | 26 #include <soc/arc/timers.h> 27 #include <soc/arc/mcip.h> 66 * an instance PER ARC CORE (not per cluster), and there are dedicated in arc_read_gfrc() 75 * defined in arch/arc/kernel/mcip.c in arc_read_gfrc() 207 .name = "ARC Timer1", 270 .name = "ARC Timer0", 349 "clockevents/arc/timer:starting", in arc_clockevent_setup() 373 TIMER_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);
|