cdx_mcdi_msi_enable(9)
π cdx_mcdi_msi_enable(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to cdx_mcdi_msi_enable β it's a kernel API manual page and honestly it's giving "small function, big responsibilities" β¨ this one lets you turn MSIs on or off for a cdx device, and that device is identified by bus_num:dev_num π
πΈ NAME πΈ
cdx_mcdi_msi_enable β Enable/Disable MSIs for cdx device represented by bus_num:dev_num π
β¨ SYNOPSIS β¨
int cdx_mcdi_msi_enable (struct cdx_mcdi *cdx , u8 bus_num , u8 dev_num
, bool enable );
that's the whole vibe, no cap π«Ά
π¦ ARGUMENTS π¦
cdxβ pointer to MCDI interface. literally the main character of this call π₯bus_numβ Bus number. yes bestie, the bus πdev_numβ Device number. and the device on it π«enableβ Enable msi's if set, disable otherwise. so like,true= slay,false= not slay π
π RETURN π
0on success π<0on failure π (a negative number, iykyk β it did not eat)
π SEE ALSO π
Kernel file ./drivers/cdx/controller/mcdi_functions.h β go read it, it's iconic β
and the whole friend group of related calls:
cdx_mcdi_get_num_buses(9)cdx_mcdi_get_num_devs(9)cdx_mcdi_get_dev_config(9)cdx_mcdi_bus_enable(9)cdx_mcdi_bus_disable(9)cdx_mcdi_write_msi(9)cdx_mcdi_reset_device(9)cdx_mcdi_bus_master_enable(9)
bestie note: the arguments section says "Enable msi's if set, disable otherwise" β that's the original's wording, so that's exactly what we're keeping. no inventing behaviour over here, fr fr πΈ
okay and that's the page!! π this one lives in ./drivers/cdx/controller, dated October 2026, and it goes by cdx_mcdi_msi_enable(9) β periodt, go enable some MSIs responsibly π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms