Lines Matching refs:output
16 struct tegra_output output; member
24 static inline struct tegra_rgb *to_rgb(struct tegra_output *output) in to_rgb() argument
26 return container_of(output, struct tegra_rgb, output); in to_rgb()
88 static int tegra_output_rgb_enable(struct tegra_output *output) in tegra_output_rgb_enable() argument
90 struct tegra_rgb *rgb = to_rgb(output); in tegra_output_rgb_enable()
134 static int tegra_output_rgb_disable(struct tegra_output *output) in tegra_output_rgb_disable() argument
136 struct tegra_rgb *rgb = to_rgb(output); in tegra_output_rgb_disable()
161 static int tegra_output_rgb_setup_clock(struct tegra_output *output, in tegra_output_rgb_setup_clock() argument
165 struct tegra_rgb *rgb = to_rgb(output); in tegra_output_rgb_setup_clock()
170 dev_err(output->dev, "failed to set parent: %d\n", err); in tegra_output_rgb_setup_clock()
196 static int tegra_output_rgb_check_mode(struct tegra_output *output, in tegra_output_rgb_check_mode() argument
232 rgb->output.dev = dc->dev; in tegra_dc_rgb_probe()
233 rgb->output.of_node = np; in tegra_dc_rgb_probe()
236 err = tegra_output_probe(&rgb->output); in tegra_dc_rgb_probe()
258 dc->rgb = &rgb->output; in tegra_dc_rgb_probe()
285 rgb->output.type = TEGRA_OUTPUT_RGB; in tegra_dc_rgb_init()
286 rgb->output.ops = &rgb_ops; in tegra_dc_rgb_init()
288 err = tegra_output_init(dc->base.dev, &rgb->output); in tegra_dc_rgb_init()
299 rgb->output.encoder.possible_crtcs = drm_crtc_mask(&dc->base); in tegra_dc_rgb_init()