qcom_pmic_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to qcom_pmic_get(9) from the Kernel API Manual β€” this one is literally β€œget a pointer to the base PMIC device” ✨

πŸ’– SYNOPSIS πŸ’–

const struct qcom_spmi_pmic * qcom_pmic_get (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the pmic function device 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function takes a struct device for a driver that is a child of a PMIC, and it locates the PMIC revision information for it. no cap, that’s the whole vibe check πŸ’…

🌈 RETURN 🌈

it gives you the struct qcom_spmi_pmic* pointer associated with the function device β€” iconic behavior, honestly πŸ‘‘

⭐ SEE ALSO ⭐

  • Kernel file ./drivers/mfd/qcom-spmi-pmic.c πŸ“

signed off with πŸ’– from ./drivers/mfd, October 2026 β€” qcom_pmic_get(9), periodt πŸŽ€

πŸ“¦ where this page comes from