hl_gen_sob_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the hl_gen_sob_mask(9) page from the Kernel API Manual β€” yes, the manual name is right there, we're not doing the fake header-copy thing πŸ’…

hl_gen_sob_mask β€” generates a sob mask to be used in a monitor arm packet. That's the whole assignment, bestie ✨ no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

int hl_gen_sob_mask (u16 sob_base , u8 sob_mask , u8 *mask );

Look at that signature β€” iconic. Copy it exactly, no freestyling πŸŽ€

🌸 ARGUMENTS 🌸

  • sob_base β€” the sob base id. It's the starting point, the home base of this whole mask situation πŸ’…
  • sob_mask β€” the sob user mask; each bit represents a sob offset from sob base. Bit-by-bit behavior, iykyk πŸ¦‹
  • mask β€” the generated mask. Yes bestie, this is the generated-mask spot 🌟

πŸ”₯ RETURN πŸ”₯

Returns 0 if given parameters are valid. That's the return tea, no extra lore 😌

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/accel/habanalabs/common/command_submission.c β€” go peek πŸ‘€
  • enum hl_cs_wait_status(9) β€” also on the reading list πŸ“š

mwah πŸ’‹ this page comes from ./drivers/accel/habanalabs/common, dated October 2026, and it's the hl_gen_sob_mask(9) manual β€” bye bestie, go generate those masks responsibly 🫢✨

πŸ“¦ where this page comes from