Lines Matching refs:pmc_clk
194 struct pmc_clk { struct
201 #define to_pmc_clk(_hw) container_of(_hw, struct pmc_clk, hw) argument
2543 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_mux_get_parent()
2554 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_mux_set_parent()
2568 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_is_enabled()
2588 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_enable()
2597 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_disable()
2617 struct pmc_clk *pmc_clk; in tegra_pmc_clk_out_register() local
2619 pmc_clk = devm_kzalloc(pmc->dev, sizeof(*pmc_clk), GFP_KERNEL); in tegra_pmc_clk_out_register()
2620 if (!pmc_clk) in tegra_pmc_clk_out_register()
2630 pmc_clk->hw.init = &init; in tegra_pmc_clk_out_register()
2631 pmc_clk->offs = offset; in tegra_pmc_clk_out_register()
2632 pmc_clk->mux_shift = data->mux_shift; in tegra_pmc_clk_out_register()
2633 pmc_clk->force_en_shift = data->force_en_shift; in tegra_pmc_clk_out_register()
2635 return clk_register(NULL, &pmc_clk->hw); in tegra_pmc_clk_out_register()