STRUCT QCOM_RAMP_CONTROLLER_DESC(9)
β¨ struct qcom_ramp_controller_desc β SoC specific parameters β¨
okay so this is from the Kernel API Manual, section 9 bestie β it's the lil struct that holds all the SoC-specific deets for the Qualcomm ramp controller π buckle up, it's actually so good.
πΈ NAME πΈ
struct qcom_ramp_controller_desc β SoC specific parameters. literally that's the whole vibe: it's the descriptor that carries the board-specific knobs π¦
π SYNOPSIS π
struct qcom_ramp_controller_desc {
const struct reg_sequence *cfg_dfs_sid;
const struct reg_sequence *cfg_link_sid;
const struct reg_sequence *cfg_lmh_sid;
const struct reg_sequence *cfg_ramp_en;
const struct reg_sequence *cfg_ramp_dis;
u8 cmd_reg;
u8 num_dfs_sids;
u8 num_link_sids;
u8 num_lmh_sids;
u8 num_ramp_en;
u8 num_ramp_dis;
};
no cap, that's the whole struct π copy it exactly, don't be creative with the field names π
π Members π
okay bestie, field-by-field, let's go π«Ά
cfg_dfs_sidβ Dynamic Frequency Scaling SID configuration β¨cfg_link_sidβ Link SID configuration πΈcfg_lmh_sidβ Limits Management hardware SID configuration πcfg_ramp_enβ Ramp Controller enable sequence π₯cfg_ramp_disβ Ramp Controller disable sequence πcmd_regβ Command register offset πnum_dfs_sidsβ Number of DFS SIDs (max 8) βnum_link_sidsβ Number of Link SIDs (max 3) βnum_lmh_sidsβ Number of LMh SIDs (max 8) βnum_ramp_enβ Number of entries in enable sequence π¦num_ramp_disβ Number of entries in disable sequence π¦
π¨ bestie heads up: the maxes are literally in the source β 8 DFS SIDs, 3 Link SIDs, 8 LMh SIDs. don't be out here overflowing those counts, it's giving undefined chaos π
π§ SEE ALSO π§
the kernel file lives at ./drivers/soc/qcom/ramp_controller.c β and the whole friend group is:
struct qcom_ramp_controller(9)rc_wait_for_update(9)rc_set_cfg_update(9)rc_write_cfg(9)rc_ramp_ctrl_enable(9)qcom_ramp_controller_start(9)
all in ./drivers/soc/qcom π iykyk π
periodt, that's the page π this lil gem is dated October 2026 and comes straight out of ./drivers/soc/qcom β mwah, go read ramp_controller.c bestie, slay π
β¨
π¦ 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