Lines Matching refs:vote
62 uint32_t vote[SMMU_CMD_SOURCE_NUM]; /* SW vote count */ member
71 if (sema->vote[id] < UINT32_MAX) { in vote_count_inc()
72 sema->vote[id]++; in vote_count_inc()
73 return sema->vote[id]; in vote_count_inc()
82 if (sema->vote[id] > 0) { in vote_count_dec()
83 sema->vote[id]--; in vote_count_dec()
84 return sema->vote[id]; in vote_count_dec()
96 count += sema->vote[i]; in vote_count()
124 __func__, sema->id, id, sema->vote[id], count, ret); in mm_pm_get_if_in_use()
139 __func__, sema->id, id, sema->vote[id], count, ret); in mm_pm_put()
158 __func__, id, source_id, hw_sema->vote[source_id], count); in mtk_smmu_pm_get()
178 __func__, id, source_id, hw_sema->vote[source_id], count, ret); in mtk_smmu_pm_get()
197 __func__, id, source_id, hw_sema->vote[source_id], count); in mtk_smmu_pm_put()
205 if (hw_sema->vote[source_id] == 0) { in mtk_smmu_pm_put()
224 __func__, id, source_id, hw_sema->vote[source_id], count, ret); in mtk_smmu_pm_put()