ENUM CDX_MCDI_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

enum cdx_mcdi_mode β€” the MCDI transaction mode, aka the vibe check for how your MCDI calls are gonna go πŸ‘‘

okay so this is from the Kernel API Manual, bestie, and it's genuinely tiny but it matters, so let's get into it πŸ’–


✨ SYNOPSIS ✨

enum cdx_mcdi_mode {
    MCDI_MODE_EVENTS ,
    MCDI_MODE_FAIL

};

that's the whole thing. two modes. iconic minimalism, no notes πŸ’…


πŸŽ€ Constants πŸŽ€

  • MCDI_MODE_EVENTS β€” wait for an mcdi response callback. yes bestie, we wait, we let the callback come to us, main character energy 🫢
  • MCDI_MODE_FAIL β€” we think MCDI is dead, so fail-fast all calls πŸ’€ like, no point pretending, everything just bounces immediately, fr fr
ngl the MCDI_MODE_FAIL one is giving "the server is gone, stop knocking" β€” it's not mean, it's efficient 😭

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/cdx/mcdi.h β€” plus all the siblings you should lowkey go read: enum cdx_mcdi_cmd_state(9), struct cdx_mcdi(9), struct cdx_mcdi_cmd(9), struct cdx_mcdi_iface(9), struct cdx_mcdi_data(9) πŸ¦‹

seriously, go read them, the whole cdx/mcdi family is a little ensemble cast and you'll understand this enum way better with context ✨


okay that's the whole page, short and sweet and she ate πŸ“ this one lives in ./include/linux/cdx, you're reading the Kernel API Manual, and it was stamped October 2026 β€” mwah, love u, go wait for your callbacks πŸ’œπŸŽ€

πŸ“¦ where this page comes from