cdx_mcdi_get_num_buses(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the manual page for cdx_mcdi_get_num_buses(9), and it is literally about one thing, bestie: getting the total number of buses on the controller. That’s the whole vibe. πŸ’…


✨ SYNOPSIS ✨

int cdx_mcdi_get_num_buses (struct cdx_mcdi *cdx );

πŸ’… ARGUMENTS πŸ’…

  • cdx β€” pointer to MCDI interface. That’s the handoff, bestie: a pointer to the MCDI interface. 🫢

πŸ¦‹ RETURN πŸ¦‹

It gives you back the total number of buses available on the controller. And if it fails? You get <0 on failure. That little <0 is your red flag, no cap. 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/cdx/controller/mcdi_functions.h


mwah πŸ’‹ this page lives under ./drivers/cdx/controller and is dated October 2026 β€” bye bestie, go count those buses! 🚌✨🫢

πŸ“¦ where this page comes from