Lines Matching defs:tcon
14 #include <dt-bindings/clock/sun8i-tcon-top.h>
28 int sun8i_tcon_top_set_hdmi_src(struct device *dev, int tcon)
39 if (tcon < 2 || tcon > 3) {
48 val |= FIELD_PREP(TCON_TOP_HDMI_SRC_MSK, tcon - 1);
57 int sun8i_tcon_top_de_config(struct device *dev, int mixer, int tcon)
73 if (tcon > 3) {
83 reg |= FIELD_PREP(TCON_TOP_PORT_DE0_MSK, tcon);
86 reg |= FIELD_PREP(TCON_TOP_PORT_DE1_MSK, tcon);
195 sun8i_tcon_top_register_gate(dev, "tcon-tv0", regs,
201 sun8i_tcon_top_register_gate(dev, "tcon-tv1", regs,
284 .compatible = "allwinner,sun8i-r40-tcon-top",
288 .compatible = "allwinner,sun20i-d1-tcon-top",
292 .compatible = "allwinner,sun50i-h6-tcon-top",
304 .name = "sun8i-tcon-top",