Home
last modified time | relevance | path

Searched refs:vote_x (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/interconnect/qcom/
H A Dbcm-voter.c89 bcm->vote_x[bucket] = bcm_div(temp, bcm->aux_data.unit); in bcm_aggregate()
94 if (bcm->enable_mask && (bcm->vote_x[bucket] || bcm->vote_y[bucket])) { in bcm_aggregate()
95 bcm->vote_x[bucket] = 0; in bcm_aggregate()
100 if (bcm->keepalive && bcm->vote_x[QCOM_ICC_BUCKET_AMC] == 0 && in bcm_aggregate()
102 bcm->vote_x[QCOM_ICC_BUCKET_AMC] = 1; in bcm_aggregate()
103 bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = 1; in bcm_aggregate()
109 static inline void tcs_cmd_gen(struct tcs_cmd *cmd, u64 vote_x, u64 vote_y, in tcs_cmd_gen() argument
119 if (vote_x == 0 && vote_y == 0) in tcs_cmd_gen()
122 if (vote_x > BCM_TCS_CMD_VOTE_MASK) in tcs_cmd_gen()
123 vote_x in tcs_cmd_gen()
[all...]
H A Dicc-rpmh.h81 * @vote_x: aggregated threshold values, represents sum_bw when @type is bw bcm
83 * @vote_scale: scaling factor for vote_x and vote_y
84 * @enable_mask: optional mask to send as vote instead of vote_x/vote_y
98 u64 vote_x[QCOM_ICC_NUM_BUCKETS]; member
/kernel/linux/linux-6.6/drivers/interconnect/qcom/
H A Dbcm-voter.c68 bcm->vote_x[bucket] = 0; in bcm_aggregate_mask()
76 bcm->vote_x[bucket] = 0; in bcm_aggregate_mask()
84 bcm->vote_x[QCOM_ICC_BUCKET_AMC] = bcm->enable_mask; in bcm_aggregate_mask()
85 bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = bcm->enable_mask; in bcm_aggregate_mask()
112 bcm->vote_x[bucket] = bcm_div(temp, bcm->aux_data.unit); in bcm_aggregate()
118 if (bcm->keepalive && bcm->vote_x[QCOM_ICC_BUCKET_AMC] == 0 && in bcm_aggregate()
120 bcm->vote_x[QCOM_ICC_BUCKET_AMC] = 1; in bcm_aggregate()
121 bcm->vote_x[QCOM_ICC_BUCKET_WAKE] = 1; in bcm_aggregate()
127 static inline void tcs_cmd_gen(struct tcs_cmd *cmd, u64 vote_x, u64 vote_y, in tcs_cmd_gen() argument
137 if (vote_x in tcs_cmd_gen()
[all...]
H A Dicc-rpmh.h81 * @vote_x: aggregated threshold values, represents sum_bw when @type is bw bcm
83 * @vote_scale: scaling factor for vote_x and vote_y
84 * @enable_mask: optional mask to send as vote instead of vote_x/vote_y
98 u64 vote_x[QCOM_ICC_NUM_BUCKETS]; member
/kernel/linux/linux-5.10/include/soc/qcom/
H A Dtcs.h66 #define BCM_TCS_CMD(commit, valid, vote_x, vote_y) \
69 ((cpu_to_le32(vote_x) & \
/kernel/linux/linux-6.6/include/soc/qcom/
H A Dtcs.h73 #define BCM_TCS_CMD(commit, valid, vote_x, vote_y) \
76 ((cpu_to_le32(vote_x) & \

Completed in 4 milliseconds