STRUCT ETHOSU_DEVICE(9)
π struct ethosu_device β NAME π
okay bestie so this is a page from the Kernel API Manual, and it's all about struct ethosu_device β literally the Ethosu device, that's the whole name, we love a straightforward icon β¨
πΈ SYNOPSIS πΈ
here's the whole struct, character for character, no edits, no vibes-based refactoring, we do NOT touch the code blocks π«Ά
struct ethosu_device {
struct drm_device base;
void __iomem *regs;
void __iomem *pmu_regs;
void __iomem *sram;
struct gen_pool *srampool;
dma_addr_t sramphys;
struct clk_bulk_data *clks;
int num_clks;
int irq;
struct drm_ethosu_npu_info npu_info;
struct ethosu_job *in_flight_job;
spinlock_t fence_lock;
struct drm_gpu_scheduler sched;
struct mutex sched_lock;
u64 fence_context;
u64 emit_seqno;
struct {
struct mutex lock;
struct ethosu_perfmon *active;
} perfmon_state;
struct ethosu_perfmon *global_perfmon;
};
like, look at her. she's got regs and pmu_regs and sram and srampool and sramphys, she's got clks and num_clks, she's got an irq, she's got npu_info, she's got an in_flight_job (busy girlie π
), she's got fence_lock, sched and sched_lock, fence_context and emit_seqno, she's got an anonymous struct holding perfmon_state with its own lock and active inside, and then global_perfmon on top of all that. main character energy fr fr π
π Members π
baseβ basedrm_device. that's it. that's the documented member. the rest of the squad is out here living their lives undocumented and honestly? we respect the mystery π
π¦ SEE ALSO π¦
- Kernel file
./drivers/accel/ethosu/ethosu_device.hβ go read the header bestie, that's where the lore lives πβ¨
ngl this page is short but it ate. every member, every type, every pointer β all accounted for, no cap π―
okay that's the whole page, and before you close the tab: this little gem came from ./drivers/accel/ethosu, dated October 2026, page struct ethosu_device(9) β stan her, cite her, keep the details exact, periodt πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms