STRUCT COMPONENT_CONFIG_OFFSETS(9)
β¨ struct component_config_offsets(9) β¨
okay so bestie, welcome to the <pink>Kernel API Manual</pink> page for struct comp...nfig_offsets(9) (yes the title bar truncates it, it's really struct component_config_offsets, don't panic π
). This is the one that's like... the little index card for a cs_dbg unit that shows you all the indices of all the components that belong to it. no cap, that's the whole vibe.
πΈ NAME πΈ
struct component_config_offsets β per cs_dbg unit, a cute lil view of all the related components' indices π
π¦ SYNOPSIS π¦
struct component_config_offsets {
u32 funnel_id;
u32 etf_id;
u32 stm_id;
u32 spmu_id;
u32 bmon_count;
u32 bmon_ids[MAX_BMONS_PER_UNIT];
};
π Members π
funnel_idβ the funnel id, which is literally just the index intodebug_funnel_regsπ«Άetf_idβ the etf id, aka the index intodebug_etf_regsβ¨stm_idβ the stm id, aka the index intodebug_stm_regsπ¦spmu_idβ thespmu_id, aka the index intodebug_spmu_regsπbmon_countβ how many bmons each unit has, periodt π₯bmon_idsβ an array of bmon ids (max size isMAX_BMONS_PER_UNIT), and each one is an index intodebug_bmon_regsπ
ngl, every single member here is doing the same job: holding an index into some debug_*_regs array so you know where that component lives. it's giving "one struct to find them all" π
β SEE ALSO β
- Kernel file
./drivers/accel/habanalabs/gaudi2/gaudi2_coresight.cβ go read it, bestie, it's right there π
and that's the page!! mwah π this one dropped October 2026, lives under ./drivers/accel/habanalabs/gaudi2, and that's your source + date sign-off so you can cite it in the group chat. slay πβ¨
π¦ 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