exynos_get_p...p_by_phandle(9)
π exynos_get_p...p_by_phandle(9) π
okay bestie, welcome to the Kernel API Manual β¨ β yes, that's the manual name, and yes, we're about to get into it. this little page is all about exynos_get_pmu_regmap_by_phandle, and honestly? it's giving "one job, does it well" energy π
πΈ NAME πΈ
exynos_get_pmu_regmap_by_phandle β Obtain pmureg regmap via phandle π¦
β¨ SYNOPSIS β¨
struct regmap * exynos_get_pmu_regmap_by_phandle (struct device_node *np
, const char *propname );
like, literally that's the whole signature. two args, one regmap pointer, no cap π
π ARGUMENTS π
npβ Device node holding PMU phandle property πpropnameβ Name of property holding phandle value β
π DESCRIPTION π
okay so here's the vibe: this function goes and finds the pmureg regmap that was previously configured in probe, and then hands you back the regmap pointer. that's it. that's the whole personality π«Ά
highkey the main character move here is "you set it up in probe, now come collect it" β iykyk π
π₯ RETURN π₯
- A pointer to regmap if found π₯
- or an
ERR_PTRerror value π
bestie please actually check it with IS_ERR() before you dereference anything, that's just self care π
π SEE ALSO π
- Kernel file
./drivers/soc/samsung/exynos-pmu.cπ exynos_get_pmu_regmap(9)π§
and that's the page, periodt π
mwah! this one lives in ./drivers/soc/samsung and it's dated October 2026 β go off, kernel fam β¨ππ
π¦ 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