of_bcm_voter_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ‘€


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