Lines Matching +full:tegra186 +full:- +full:dc
1 /* SPDX-License-Identifier: GPL-2.0-only */
45 unsigned int dc; member
106 static inline void tegra_dc_writel(struct tegra_dc *dc, u32 value, in tegra_dc_writel() argument
109 trace_dc_writel(dc->dev, offset, value); in tegra_dc_writel()
110 writel(value, dc->regs + (offset << 2)); in tegra_dc_writel()
113 static inline u32 tegra_dc_readl(struct tegra_dc *dc, unsigned int offset) in tegra_dc_readl() argument
115 u32 value = readl(dc->regs + (offset << 2)); in tegra_dc_readl()
117 trace_dc_readl(dc->dev, offset, value); in tegra_dc_readl()
147 /* from dc.c */
148 bool tegra_dc_has_output(struct tegra_dc *dc, struct device *dev);
149 void tegra_dc_commit(struct tegra_dc *dc);
150 int tegra_dc_state_setup_clock(struct tegra_dc *dc,
156 int tegra_dc_rgb_probe(struct tegra_dc *dc);
157 int tegra_dc_rgb_remove(struct tegra_dc *dc);
158 int tegra_dc_rgb_init(struct drm_device *drm, struct tegra_dc *dc);
159 int tegra_dc_rgb_exit(struct tegra_dc *dc);
627 #define H_POSITION(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */
628 #define V_POSITION(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
631 #define H_SIZE(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */
632 #define V_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
636 #define V_PRESCALED_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
703 /* Tegra186 and later */