Lines Matching refs:hw_sema_t
60 struct hw_sema_t { struct
67 static struct hw_sema_t *hw_semas; argument
69 static inline uint32_t vote_count_inc(struct hw_sema_t *sema, enum cmd_source id) in vote_count_inc()
80 static inline uint32_t vote_count_dec(struct hw_sema_t *sema, enum cmd_source id) in vote_count_dec()
91 static inline uint32_t vote_count(struct hw_sema_t *sema) in vote_count()
101 static struct hw_sema_t *mtk_smmu_get_hw_sema_cfg(enum smmu_id id) in mtk_smmu_get_hw_sema_cfg()
115 static int mm_pm_get_if_in_use(struct hw_sema_t *sema, enum cmd_source id) in mm_pm_get_if_in_use()
130 static int mm_pm_put(struct hw_sema_t *sema, enum cmd_source id) in mm_pm_put()
147 struct hw_sema_t *hw_sema = mtk_smmu_get_hw_sema_cfg(id); in mtk_smmu_pm_get()
186 struct hw_sema_t *hw_sema = mtk_smmu_get_hw_sema_cfg(id); in mtk_smmu_pm_put()
264 static struct hw_sema_t smmu_hw_semas[MTK_SMMU_ID_NUM] = {
283 static struct hw_sema_t *smmu_hw_semas;