STRUCT COMPONENT_CONFIG_OFFSETS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 into debug_funnel_regs 🫢
  • etf_id β€” the etf id, aka the index into debug_etf_regs ✨
  • stm_id β€” the stm id, aka the index into debug_stm_regs πŸ¦‹
  • spmu_id β€” the spmu_id, aka the index into debug_spmu_regs πŸ’œ
  • bmon_count β€” how many bmons each unit has, periodt πŸ”₯
  • bmon_ids β€” an array of bmon ids (max size is MAX_BMONS_PER_UNIT), and each one is an index into debug_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