Home
last modified time | relevance | path

Searched refs:tve (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
H A Dimx-tve.c129 static void tve_enable(struct imx_tve *tve) in tve_enable() argument
131 clk_prepare_enable(tve->clk); in tve_enable()
132 regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, TVE_EN, TVE_EN); in tve_enable()
135 regmap_write(tve->regmap, TVE_STAT_REG, 0xffffffff); in tve_enable()
138 if (tve->mode == TVE_MODE_VGA) in tve_enable()
139 regmap_write(tve->regmap, TVE_INT_CONT_REG, 0); in tve_enable()
141 regmap_write(tve->regmap, TVE_INT_CONT_REG, in tve_enable()
147 static void tve_disable(struct imx_tve *tve) in tve_disable() argument
149 regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, TVE_EN, 0); in tve_disable()
150 clk_disable_unprepare(tve in tve_disable()
153 tve_setup_tvout(struct imx_tve *tve) tve_setup_tvout() argument
158 tve_setup_vga(struct imx_tve *tve) tve_setup_vga() argument
198 struct imx_tve *tve = con_to_tve(connector); imx_tve_connector_get_modes() local
219 struct imx_tve *tve = con_to_tve(connector); imx_tve_connector_mode_valid() local
242 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_mode_set() local
279 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_enable() local
286 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_disable() local
296 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_atomic_check() local
327 struct imx_tve *tve = data; imx_tve_irq_handler() local
341 struct imx_tve *tve = container_of(hw, struct imx_tve, clk_hw_di); clk_tve_di_recalc_rate() local
378 struct imx_tve *tve = container_of(hw, struct imx_tve, clk_hw_di); clk_tve_di_set_rate() local
408 tve_clk_init(struct imx_tve *tve, void __iomem *base) tve_clk_init() argument
432 imx_tve_register(struct drm_device *drm, struct imx_tve *tve) imx_tve_register() argument
461 struct imx_tve *tve = data; imx_tve_disable_regulator() local
510 struct imx_tve *tve; imx_tve_bind() local
638 struct imx_tve *tve; imx_tve_probe() local
[all...]
H A DMakefile8 obj-$(CONFIG_DRM_IMX_TVE) += imx-tve.o
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/
H A Dimx-tve.c106 struct imx_tve *tve; member
126 return container_of(c, struct imx_tve_encoder, connector)->tve; in con_to_tve()
131 return container_of(e, struct imx_tve_encoder, encoder)->tve; in enc_to_tve()
134 static void tve_enable(struct imx_tve *tve) in tve_enable() argument
136 clk_prepare_enable(tve->clk); in tve_enable()
137 regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, TVE_EN, TVE_EN); in tve_enable()
140 regmap_write(tve->regmap, TVE_STAT_REG, 0xffffffff); in tve_enable()
143 if (tve->mode == TVE_MODE_VGA) in tve_enable()
144 regmap_write(tve->regmap, TVE_INT_CONT_REG, 0); in tve_enable()
146 regmap_write(tve in tve_enable()
152 tve_disable(struct imx_tve *tve) tve_disable() argument
158 tve_setup_tvout(struct imx_tve *tve) tve_setup_tvout() argument
163 tve_setup_vga(struct imx_tve *tve) tve_setup_vga() argument
203 struct imx_tve *tve = con_to_tve(connector); imx_tve_connector_get_modes() local
224 struct imx_tve *tve = con_to_tve(connector); imx_tve_connector_mode_valid() local
247 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_mode_set() local
284 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_enable() local
291 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_encoder_disable() local
301 struct imx_tve *tve = enc_to_tve(encoder); imx_tve_atomic_check() local
332 struct imx_tve *tve = data; imx_tve_irq_handler() local
346 struct imx_tve *tve = container_of(hw, struct imx_tve, clk_hw_di); clk_tve_di_recalc_rate() local
383 struct imx_tve *tve = container_of(hw, struct imx_tve, clk_hw_di); clk_tve_di_set_rate() local
413 tve_clk_init(struct imx_tve *tve, void __iomem *base) tve_clk_init() argument
439 struct imx_tve *tve = data; imx_tve_disable_regulator() local
485 struct imx_tve *tve = dev_get_drvdata(dev); imx_tve_bind() local
529 struct imx_tve *tve; imx_tve_probe() local
[all...]
H A DMakefile8 obj-$(CONFIG_DRM_IMX_TVE) += imx-tve.o

Completed in 3 milliseconds