of_bcm_voter_get(9)
okay so welcome to the Kernel API Manual page for of_bcm_voter_get(9), bestie π this is a tiny kernel API entry with big main-character energy, and we're gonna read it together like a cozy little group chat. no cap.
β¨ NAME β¨
of_bcm_voter_get β gets a bcm voter handle from DT node, periodt π
πΈ SYNOPSIS πΈ
here's the signature, bestie β copy it exactly, character for character, because kernel APIs do not play about their punctuation π
struct bcm_voter * of_bcm_voter_get (struct device *dev , const char
*name );
π¦ ARGUMENTS π¦
devβ device pointer for the consumer device. it's the consumer device's pointer, and yes bestie, it's doing exactly what it says on the label π«Άnameβ name for the bcm voter device. this is the name string for the bcm voter device, iconic β¨
π₯ DESCRIPTION π₯
okay so here's the tea β: this function will match a device_node pointer for the phandle specified in the device DT, and on success it returns a bcm_voter handle. it's giving matchmaker but for device tree nodes, iykyk π
Returns a bcm_voter pointer or ERR_PTR on error. And when the matching bcm voter is yet to be found, it returns EPROBE_DEFER β that's the kernel saying "not yet bestie, try again later" π.
π SEE ALSO π
if you wanna keep vibing through the kernel source, here's where to look π
- Kernel file
./drivers/interconnect/qcom/bcm-voter.c struct bcm_voter(9)qcom_icc_bcm_voter_add(9)qcom_icc_bcm_voter_commit(9)
kisses and fairy dust π§π β signed by source/version ./drivers/interconnect/qcom, dated October 2026, for of_bcm_voter_get(9) π«Ά
π¦ 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