exynos_get_p...p_by_phandle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_PTR error value πŸ’€
bestie please actually check it with IS_ERR() before you dereference anything, that's just self care πŸ™ˆ

🌈 SEE ALSO 🌈


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