STRUCT QCOM_RAMP_CONTROLLER_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:

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