Lines Matching defs:sync
15 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw);
17 return sync->rate;
23 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw);
25 if (rate > sync->max_rate)
34 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw);
36 sync->rate = rate;
49 struct tegra_clk_sync_source *sync;
53 sync = kzalloc(sizeof(*sync), GFP_KERNEL);
54 if (!sync) {
55 pr_err("%s: could not allocate sync source clk\n", __func__);
59 sync->max_rate = max_rate;
68 sync->hw.init = &init;
70 clk = clk_register(NULL, &sync->hw);
72 kfree(sync);