Lines Matching refs:pmc_clk
202 struct pmc_clk { struct
209 #define to_pmc_clk(_hw) container_of(_hw, struct pmc_clk, hw) argument
2548 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_mux_get_parent()
2559 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_mux_set_parent()
2573 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_is_enabled()
2593 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_enable()
2602 struct pmc_clk *clk = to_pmc_clk(hw); in pmc_clk_disable()
2622 struct pmc_clk *pmc_clk; in tegra_pmc_clk_out_register() local
2624 pmc_clk = devm_kzalloc(pmc->dev, sizeof(*pmc_clk), GFP_KERNEL); in tegra_pmc_clk_out_register()
2625 if (!pmc_clk) in tegra_pmc_clk_out_register()
2635 pmc_clk->hw.init = &init; in tegra_pmc_clk_out_register()
2636 pmc_clk->offs = offset; in tegra_pmc_clk_out_register()
2637 pmc_clk->mux_shift = data->mux_shift; in tegra_pmc_clk_out_register()
2638 pmc_clk->force_en_shift = data->force_en_shift; in tegra_pmc_clk_out_register()
2640 return clk_register(NULL, &pmc_clk->hw); in tegra_pmc_clk_out_register()