Lines Matching refs:rsrc
30 u32 rsrc; member
174 static inline int imx_scu_clk_search_cmp(const void *rsrc, const void *rsrc_p) in imx_scu_clk_search_cmp() argument
176 return *(u32 *)rsrc - *(u32 *)rsrc_p; in imx_scu_clk_search_cmp()
186 p = bsearch(&rsrc_id, rsrc_table->rsrc, rsrc_table->num, in imx_scu_clk_is_valid()
187 sizeof(rsrc_table->rsrc[0]), imx_scu_clk_search_cmp); in imx_scu_clk_is_valid()
504 unsigned int rsrc = clkspec->args[0]; in imx_scu_of_clk_src_get() local
509 list_for_each_entry(clk, &scu_clks[rsrc], node) { in imx_scu_of_clk_src_get()
524 if (!((clk->rsrc == IMX_SC_R_A35) || (clk->rsrc == IMX_SC_R_A53) || in imx_clk_scu_probe()
525 (clk->rsrc == IMX_SC_R_A72))) { in imx_clk_scu_probe()
540 clk->rsrc, clk->clk_type); in imx_clk_scu_probe()
547 list_add_tail(&clk->node, &imx_scu_clks[clk->rsrc]); in imx_clk_scu_probe()
549 if (!((clk->rsrc == IMX_SC_R_A35) || (clk->rsrc == IMX_SC_R_A53) || in imx_clk_scu_probe()
550 (clk->rsrc == IMX_SC_R_A72))) { in imx_clk_scu_probe()
555 dev_dbg(dev, "register SCU clock rsrc:%d type:%d\n", clk->rsrc, in imx_clk_scu_probe()
662 .rsrc = rsrc_id, in imx_clk_scu_alloc_dev()