cdx_mcdi_msi_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cdx_mcdi_msi_enable(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to cdx_mcdi_msi_enable β€” it's a kernel API manual page and honestly it's giving "small function, big responsibilities" ✨ this one lets you turn MSIs on or off for a cdx device, and that device is identified by bus_num:dev_num πŸŽ€


🌸 NAME 🌸

cdx_mcdi_msi_enable β€” Enable/Disable MSIs for cdx device represented by bus_num:dev_num πŸ’–

✨ SYNOPSIS ✨

int cdx_mcdi_msi_enable (struct cdx_mcdi *cdx , u8 bus_num , u8 dev_num
, bool enable );

that's the whole vibe, no cap 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdx β€” pointer to MCDI interface. literally the main character of this call πŸ”₯
  • bus_num β€” Bus number. yes bestie, the bus πŸ™ˆ
  • dev_num β€” Device number. and the device on it πŸ’«
  • enable β€” Enable msi's if set, disable otherwise. so like, true = slay, false = not slay πŸ’…

🌈 RETURN 🌈

  • 0 on success πŸŽ‰
  • <0 on failure 😭 (a negative number, iykyk β€” it did not eat)

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/cdx/controller/mcdi_functions.h β€” go read it, it's iconic ⭐

and the whole friend group of related calls:


bestie note: the arguments section says "Enable msi's if set, disable otherwise" β€” that's the original's wording, so that's exactly what we're keeping. no inventing behaviour over here, fr fr 🌸

okay and that's the page!! πŸ’œ this one lives in ./drivers/cdx/controller, dated October 2026, and it goes by cdx_mcdi_msi_enable(9) β€” periodt, go enable some MSIs responsibly πŸ§šβ€β™€οΈπŸ“

πŸ“¦ where this page comes from