STRUCT RPMH_VREG(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct rpmh_vreg(9) page β yes, from the Kernel API Manual, and it's giving main character energy. struct rpmh_vreg is literally the individual RPMh regulator data structure encapsulating a single regulator device. That's the whole name, no cap. π
β¨ SYNOPSIS β¨
struct rpmh_vreg {
struct device *dev;
u32 addr;
struct regulator_desc rdesc;
const struct rpmh_vreg_hw_data *hw_data;
bool always_wait_for_ack;
int enabled;
bool bypassed;
int voltage_selector;
unsigned int mode;
};
π Members π
here's the member-by-member vibe check, bestie:
devβ Device pointer for the top-level PMIC RPMh regulator parent device. This is used as a handle in RPMh write requests. π«Άaddrβ Base address of the regulator resource within an RPMh accelerator.rdescβ Regulator descriptor. simple as that. β¨hw_dataβ PMIC regulator configuration data for this RPMh regulator.always_wait_for_ackβ Boolean flag indicating if a request must always wait for an ACK from RPMh before continuing even if it corresponds to a strictly lower power state (e.g.enabled --> disabled). πenabledβ Flag indicating if the regulator is enabled or not.bypassedβ Boolean indicating if the regulator is in bypass (pass-through) mode or not. This is only used by BOB rpmh-regulator resources. π¦voltage_selectorβ Selector used forget_voltage_selandset_voltage_selcallbacks.modeβ RPMh VRM regulator current framework mode. π
π¦ SEE ALSO π¦
Kernel file ./drivers/regulator/qcom-rpmh-regulator.c β plus enum rpmh_regulator_type(9), enum regulator_hw_type(9), struct rpmh_vreg_hw_data(9), struct rpmh_vreg_init_data(9), rpmh_regulator_send_request(9), rpmh_regulator_vrm_get_optimum_mode(9), and rpmh_regulator_init_vreg(9). Go read those, bestie, iykyk. πβ¨
mwah π source/version check: this page comes from ./drivers/regulator, dated October 2026, and it's literally the struct rpmh_vreg(9) manual. 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