ENUM DBC_CMD_MSG(9)
β¨ enum dbc_cmd_msg(9) β¨
okay so this is a page straight out of the Kernel API Manual, and bestie, it's literally just one enum and it's lowkey iconic π
π NAME π
enum dbc_cmd_msg β the messages that DBCIOCPARAM uses, iykyk π
πΈ SYNOPSIS πΈ
enum dbc_cmd_msg {
PARAM_GET_FMAX_CAP ,
PARAM_SET_FMAX_CAP ,
PARAM_GET_PWR_CAP ,
PARAM_SET_PWR_CAP ,
PARAM_GET_GFX_MODE ,
PARAM_SET_GFX_MODE ,
PARAM_GET_CURR_TEMP ,
PARAM_GET_FMAX_MAX ,
PARAM_GET_FMAX_MIN ,
PARAM_GET_SOC_PWR_MAX ,
PARAM_GET_SOC_PWR_MIN ,
PARAM_GET_SOC_PWR_CUR
};
like, that's the whole cast of characters, no notes π«Ά
π¦ Constants π¦
bestie these are the twelve little enum members and honestly each one is serving a very specific purpose, so let's go through them one by one, no skips, periodt β¨
PARAM_GET_FMAX_CAPβ get the frequency cap, in MHz πPARAM_SET_FMAX_CAPβ set the frequency cap, in MHz π₯PARAM_GET_PWR_CAPβ get the socket power cap, in mW πPARAM_SET_PWR_CAPβ set the socket power cap, in mW βPARAM_GET_GFX_MODEβ get the graphics mode, and it's0/1bestie, that's it πPARAM_SET_GFX_MODEβ set the graphics mode, also0/1, we love a binary moment πPARAM_GET_CURR_TEMPβ get the current temperature, in degrees C π‘οΈ (not an emoji from the list but the vibe demanded it, ngl)PARAM_GET_FMAX_MAXβ get the maximum allowed value for frequency, in MHz πPARAM_GET_FMAX_MINβ get the minimum allowed value for frequency, in MHz πΈPARAM_GET_SOC_PWR_MAXβ get the maximum allowed value for SoC power, in mw π§PARAM_GET_SOC_PWR_MINβ get the minimum allowed value for SoC power, in mw πPARAM_GET_SOC_PWR_CURβ get the current value for SoC Power, in mW π₯
heads up: the units in the original are literally writtenMHz,mW,0/1,degrees C, and thenmw(lowercase w!) for the SoC max/min ones, andmWagain for the current one β so yeah, keep an eye on that casing, iykyk π
π SEE ALSO π
go read these next, bestie, they're all connected:
- Kernel file
./include/uapi/linux/psp-dbc.h - AMD Dynamic Boost Control (DBC) interface(9)
struct dbc_user_nonce(9)struct dbc_user_setuid(9)struct dbc_user_param(9)DBCIOCNONCE(9)DBCIOCUID(9)DBCIOCPARAM(9)
and that's the whole page, bestie π«Ά this came out of ./include/uapi/linux, dated October 2026, and it's filed under enum dbc_cmd_msg(9) β slay, that's a wrap πβ¨π
π¦ 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