Home
last modified time | relevance | path

Searched refs:source_id (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/smmu/
H A Dsmmu.c145 static int mtk_smmu_pm_get(enum smmu_id id, enum cmd_source source_id) in mtk_smmu_pm_get() argument
158 __func__, id, source_id, hw_sema->vote[source_id], count); in mtk_smmu_pm_get()
162 vote_count_inc(hw_sema, source_id); in mtk_smmu_pm_get()
169 ret = mm_pm_get_if_in_use(hw_sema, source_id); in mtk_smmu_pm_get()
173 vote_count_inc(hw_sema, source_id); in mtk_smmu_pm_get()
178 __func__, id, source_id, hw_sema->vote[source_id], count, ret); in mtk_smmu_pm_get()
184 static int mtk_smmu_pm_put(enum smmu_id id, enum cmd_source source_id) in mtk_smmu_pm_put() argument
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()
208 __func__, id, source_id); in mtk_smmu_pm_put()
[all …]
/rk3399_ARM-atf/drivers/nxp/clk/s32cc/
H A Ds32cc_clk_drv.c489 switch (mux->source_id) { in enable_pll()
697 mux_hw_clk = (uint32_t)S32CC_CLK_ID(mux->source_id); in enable_cgm_mux()
712 clk = s32cc_get_arch_clk(mux->source_id); in get_mux_parent()
715 mux->source_id, mux->index); in get_mux_parent()
740 clk = s32cc_get_arch_clk(mux->source_id); in enable_mux()
743 mux->source_id, mux->index); in enable_mux()
1804 const struct s32cc_clk *clk = s32cc_get_arch_clk(mux->source_id); in set_mux_freq()
1814 mux->index, mux->source_id); in set_mux_freq()
1826 const struct s32cc_clk *clk = s32cc_get_arch_clk(mux->source_id); in get_mux_freq()
1837 mux->index, mux->source_id); in get_mux_freq()
[all …]
/rk3399_ARM-atf/include/drivers/nxp/clk/s32cc/
H A Ds32cc-clk-modules.h73 unsigned long source_id; /* Selected source */ member