Lines Matching refs:vote_x
82 bcm->vote_x[bucket] = bcm_div(temp, bcm->aux_data.unit); in bcm_aggregate()
88 if (bcm->keepalive && bcm->vote_x[QCOM_ICC_BUCKET_AMC] == 0 && in bcm_aggregate()
90 bcm->vote_x[QCOM_ICC_BUCKET_AMC] = 1; in bcm_aggregate()
91 bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = 1; in bcm_aggregate()
97 static inline void tcs_cmd_gen(struct tcs_cmd *cmd, u64 vote_x, u64 vote_y, in tcs_cmd_gen() argument
107 if (vote_x == 0 && vote_y == 0) in tcs_cmd_gen()
110 if (vote_x > BCM_TCS_CMD_VOTE_MASK) in tcs_cmd_gen()
111 vote_x = BCM_TCS_CMD_VOTE_MASK; in tcs_cmd_gen()
117 cmd->data = BCM_TCS_CMD(commit, valid, vote_x, vote_y); in tcs_cmd_gen()
148 tcs_cmd_gen(&tcs_list[idx], bcm->vote_x[bucket], in tcs_list_gen()
297 if (bcm->vote_x[QCOM_ICC_BUCKET_WAKE] != in qcom_icc_bcm_voter_commit()
298 bcm->vote_x[QCOM_ICC_BUCKET_SLEEP] || in qcom_icc_bcm_voter_commit()