Lines Matching +full:tegra186 +full:- +full:dc
1 /* SPDX-License-Identifier: GPL-2.0-only */
52 unsigned int dc; member
119 static inline void tegra_dc_writel(struct tegra_dc *dc, u32 value, in tegra_dc_writel() argument
122 trace_dc_writel(dc->dev, offset, value); in tegra_dc_writel()
123 writel(value, dc->regs + (offset << 2)); in tegra_dc_writel()
126 static inline u32 tegra_dc_readl(struct tegra_dc *dc, unsigned int offset) in tegra_dc_readl() argument
128 u32 value = readl(dc->regs + (offset << 2)); in tegra_dc_readl()
130 trace_dc_readl(dc->dev, offset, value); in tegra_dc_readl()
160 /* from dc.c */
161 bool tegra_dc_has_output(struct tegra_dc *dc, struct device *dev);
162 void tegra_dc_commit(struct tegra_dc *dc);
163 int tegra_dc_state_setup_clock(struct tegra_dc *dc,
171 int tegra_dc_rgb_probe(struct tegra_dc *dc);
172 void tegra_dc_rgb_remove(struct tegra_dc *dc);
173 int tegra_dc_rgb_init(struct drm_device *drm, struct tegra_dc *dc);
174 int tegra_dc_rgb_exit(struct tegra_dc *dc);
651 #define H_POSITION(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */
652 #define V_POSITION(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
655 #define H_SIZE(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */
656 #define V_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
660 #define V_PRESCALED_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */
730 /* Tegra186 and later */