cdx_mcdi_get_dev_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cdx_mcdi_get_dev_config(9) β€” from the Kernel API Manual

okay bestie, gather round 🫢 this one is a kernel API manual page, and yes it's exactly as niche as it sounds, but we're gonna make it make sense.

✨ NAME ✨

cdx_mcdi_get_dev_config β€” gets the configuration for a particular bus_num:dev_num πŸŽ€

✨ SYNOPSIS ✨

int cdx_mcdi_get_dev_config (struct cdx_mcdi *cdx , u8 bus_num , u8
dev_num , struct cdx_dev_params *dev_params );

✨ ARGUMENTS ✨

  • cdx β€” pointer to the MCDI interface. literally the main character here πŸ‘‘
  • bus_num β€” the bus number.
  • dev_num β€” the device number.
  • dev_params β€” pointer to cdx_dev_params, and this is populated by this device with the configuration corresponding to the bus_num:dev_num you provided. so you hand it the pointer, it fills in the tea β˜•βœ¨

✨ RETURN ✨

word-for-word, no cap: 0 total number of devices available on the bus, <0 on failure. so yeah β€” a 0 on success, and anything below zero means it did not slay πŸ˜­πŸ’€

✨ SEE ALSO ✨


and that's the whole page, bestie β€” no filler, just facts πŸ’– this one lives at ./drivers/cdx/controller, dated October 2026, and it's giving very much cdx_mcdi_get_dev_config(9) energy. periodt πŸŒΈπŸŽ€

πŸ“¦ where this page comes from