mcp_disable(9)
π NAME π
okay so welcome to the mcp_disable(9) page from the Kernel API Manual, bestie π β this one is all about disabling the MCP interface, no cap β¨
π¦ SYNOPSIS π¦
void mcp_disable (struct mcp *mcp );
π ARGUMENTS π
mcpβ the MCP interface you're disabling, periodt π
πΈ DESCRIPTION πΈ
Disable the MCP interface. That's the whole main-character move β¨
But here's the important bit, fr fr: the MCP interface will only be disabled once the number of calls to mcp_enable matches the number of calls to mcp_disable π«Ά So it's giving matching-calls energy β mcp_enable and mcp_disable have to line up one-for-one before this interface actually goes down π
Also it's a void function, so nothing comes back to you β it just does the thing and returns, iconic π
π SEE ALSO π
Kernel file ./drivers/mfd/mcp-core.c β that's where this lives, iykyk π
mwah π sign-off time: this cutie comes from ./drivers/mfd, dated October 2026, and it's literally the mcp_disable(9) page β bye bestie π«Άπ
π¦ 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