cdx_mcdi_bus_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual entry for cdx_mcdi_bus_disable πŸŽ€ this one is short and sweet, but it's literally the plug that turns a whole CDX bus off, so pay attention, iykyk.


✨ NAME ✨

cdx_mcdi_bus_disable β€” Disable CDX bus represented by bus_num 🌸

that's it. that's the whole vibe. you point at a bus number, it goes night-night 😴


πŸ¦‹ SYNOPSIS πŸ¦‹

int cdx_mcdi_bus_disable (struct cdx_mcdi *cdx , u8 bus_num );

look at her, so compact, so iconic πŸ‘‘ takes a pointer to the MCDI interface and a u8 bus number, hands you back an int. no cap.


πŸ’– ARGUMENTS πŸ’–

  • cdx β€” pointer to MCDI interface. yes it's the main character of this call, keep her safe 🫢
  • bus_num β€” Bus number. just the number. the whole bus. that's the one you're disabling fr fr.

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰ slay, bus disabled
  • <0 on failure 😭 something went wrong, check your vibes (and your inputs)

🌈 SEE ALSO 🌈

the whole friend group honestly, go say hi πŸ’œ


🧚 tiny reminder: 0 means success here, <0 means nope. don't get it twisted, that's the classic kernel way and it ate.

and that's the page, bestie πŸ’… brought to you straight out of ./drivers/cdx/controller, dated October 2026 β€” see you in the next manual page, mwah πŸ“πŸ’–

πŸ“¦ where this page comes from