STRUCT BCM_VOTER(9)
β¨ NAME β¨
okay so bestie, this is struct bcm_voter from the Kernel API Manual β aka the Bus Clock Manager voter. it's giving kernel plumbing with main character energy, and honestly? iconic. π
π¦ SYNOPSIS π¦
struct bcm_voter {
struct device *dev;
struct device_node *np;
struct mutex lock;
struct list_head commit_list;
struct list_head ws_list;
struct list_head voter_node;
u32 tcs_wait;
};
π Members π
devβ a reference to thedevicethat communicates with the BCM. that's the device bestie right there. π«Άnpβ a reference to thedevice_nodeto match bcm voters. yes, matching vibes only. πΈlockβ a mutex to protect the commit and wake/sleep lists in the voter. gotta keep those lists safe, no cap. πcommit_listβ a list containing bcms to be committed to hardware. these bcms are ready for their hardware debut. β¨ws_listβ a list containing bcms that have different wake/sleep votes. wake/sleep discourse, but make it kernel. πvoter_nodeβ a list of bcm voters. it's a whole voter group chat. πtcs_waitβ a mask for which buckets require TCS completion. mask says which buckets gotta wait for TCS completion. periodt. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/interconnect/qcom/bcm-voter.c of_bcm_voter_get(9)qcom_icc_bcm_voter_add(9)qcom_icc_bcm_voter_commit(9)
and that's the tea, bestie π«Ά β this page comes from ./drivers/interconnect/qcom, dated October 2026, and it's struct bcm_voter(9) all the way down. slay. π
π¦ 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