cdx_mcdi_get_num_devs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

cdx_mcdi_get_num_devs(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for cdx_mcdi_get_num_devs β€” the function that gets the total number of devices on a particular bus of the controller. literally that's the whole vibe. πŸ¦‹


✨ NAME ✨

cdx_mcdi_get_num_devs β€” get the total number of devices on a particular bus of the controller. periodt. πŸ’–

πŸ› οΈ SYNOPSIS πŸ› οΈ

int cdx_mcdi_get_num_devs (struct cdx_mcdi *cdx , int bus_num );

🧾 ARGUMENTS 🧾

  • cdx β€” pointer to MCDI interface. πŸ‘‘
  • bus_num β€” Bus number. 🚌

🎁 RETURN 🎁

It returns the total number of devices available on the bus, and <0 on failure. so if you see a negative value, that's a fail bestie, no cap 😭

πŸ‘€ SEE ALSO πŸ‘€


okay bestie, signing off from ./drivers/cdx/controller, October 2026 β€” cdx_mcdi_get_num_devs(9) out, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from