Lines Matching refs:hub_state

821 	struct tegra_display_hub_state *hub_state =  in tegra_display_hub_destroy_state()  local
824 kfree(hub_state); in tegra_display_hub_destroy_state()
849 struct tegra_display_hub_state *hub_state; in tegra_display_hub_atomic_check() local
857 hub_state = tegra_display_hub_get_state(tegra->hub, state); in tegra_display_hub_atomic_check()
858 if (IS_ERR(hub_state)) in tegra_display_hub_atomic_check()
859 return PTR_ERR(hub_state); in tegra_display_hub_atomic_check()
873 if (!hub_state->clk || dc->pclk > hub_state->rate) { in tegra_display_hub_atomic_check()
874 hub_state->dc = to_tegra_dc(dc->base.crtc); in tegra_display_hub_atomic_check()
875 hub_state->clk = hub_state->dc->clk; in tegra_display_hub_atomic_check()
876 hub_state->rate = dc->pclk; in tegra_display_hub_atomic_check()
916 struct tegra_display_hub_state *hub_state; in tegra_display_hub_atomic_commit() local
920 hub_state = to_tegra_display_hub_state(hub->base.state); in tegra_display_hub_atomic_commit()
922 if (hub_state->clk) { in tegra_display_hub_atomic_commit()
923 err = clk_set_rate(hub_state->clk, hub_state->rate); in tegra_display_hub_atomic_commit()
926 hub_state->clk, hub_state->rate); in tegra_display_hub_atomic_commit()
928 err = clk_set_parent(hub->clk_disp, hub_state->clk); in tegra_display_hub_atomic_commit()
931 hub->clk_disp, hub_state->clk, err); in tegra_display_hub_atomic_commit()
934 if (hub_state->dc) in tegra_display_hub_atomic_commit()
935 tegra_display_hub_update(hub_state->dc); in tegra_display_hub_atomic_commit()