drivers/gpu/nova-core/falcon/sec2.rs

Source file repositories/reference/linux-study-clean/drivers/gpu/nova-core/falcon/sec2.rs

File Facts

System
Linux kernel
Corpus path
drivers/gpu/nova-core/falcon/sec2.rs
Extension
.rs
Size
451 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0

use kernel::io::register::RegisterBase;

use crate::falcon::{
    FalconEngine,
    PFalcon2Base,
    PFalconBase, //
};

/// Type specifying the `Sec2` falcon engine. Cannot be instantiated.
pub(crate) struct Sec2(());

impl RegisterBase<PFalconBase> for Sec2 {
    const BASE: usize = 0x00840000;
}

impl RegisterBase<PFalcon2Base> for Sec2 {
    const BASE: usize = 0x00841000;
}

impl FalconEngine for Sec2 {}

Annotation

Implementation Notes