Lines Matching refs:mixer
92 static u32 sun8i_ui_scaler_base(struct sun8i_mixer *mixer, int channel) in sun8i_ui_scaler_base() argument
94 int vi_num = mixer->cfg->vi_num; in sun8i_ui_scaler_base()
96 if (mixer->cfg->is_de3) in sun8i_ui_scaler_base()
130 void sun8i_ui_scaler_enable(struct sun8i_mixer *mixer, int layer, bool enable) in sun8i_ui_scaler_enable() argument
134 if (WARN_ON(layer < mixer->cfg->vi_num)) in sun8i_ui_scaler_enable()
137 base = sun8i_ui_scaler_base(mixer, layer); in sun8i_ui_scaler_enable()
145 regmap_write(mixer->engine.regs, SUN8I_SCALER_GSU_CTRL(base), val); in sun8i_ui_scaler_enable()
148 void sun8i_ui_scaler_setup(struct sun8i_mixer *mixer, int layer, in sun8i_ui_scaler_setup() argument
156 if (WARN_ON(layer < mixer->cfg->vi_num)) in sun8i_ui_scaler_setup()
159 base = sun8i_ui_scaler_base(mixer, layer); in sun8i_ui_scaler_setup()
169 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
171 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
173 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
175 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
177 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
179 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()
184 regmap_write(mixer->engine.regs, in sun8i_ui_scaler_setup()