Home
last modified time | relevance | path

Searched refs:cec_clk (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c291 adv7511->cec_clk = devm_clk_get(dev, "cec"); in adv7511_cec_parse_dt()
292 if (IS_ERR(adv7511->cec_clk)) { in adv7511_cec_parse_dt()
293 int ret = PTR_ERR(adv7511->cec_clk); in adv7511_cec_parse_dt()
295 adv7511->cec_clk = NULL; in adv7511_cec_parse_dt()
298 clk_prepare_enable(adv7511->cec_clk); in adv7511_cec_parse_dt()
299 adv7511->cec_clk_freq = clk_get_rate(adv7511->cec_clk); in adv7511_cec_parse_dt()
Dadv7511_drv.c1229 if (adv7511->cec_clk) in adv7511_probe()
1230 clk_disable_unprepare(adv7511->cec_clk); in adv7511_probe()
1248 if (adv7511->cec_clk) in adv7511_remove()
1249 clk_disable_unprepare(adv7511->cec_clk); in adv7511_remove()
Dadv7511.h377 struct clk *cec_clk; member
/Linux-v5.4/drivers/gpu/drm/zte/
Dzx_hdmi.c44 struct clk *cec_clk; member
229 clk_prepare_enable(hdmi->cec_clk); in zx_hdmi_encoder_enable()
248 clk_disable_unprepare(hdmi->cec_clk); in zx_hdmi_encoder_disable()
670 hdmi->cec_clk = devm_clk_get(hdmi->dev, "osc_cec"); in zx_hdmi_bind()
671 if (IS_ERR(hdmi->cec_clk)) { in zx_hdmi_bind()
672 ret = PTR_ERR(hdmi->cec_clk); in zx_hdmi_bind()
/Linux-v5.4/include/media/i2c/
Dadv7511.h30 u32 cec_clk; member
/Linux-v5.4/drivers/media/i2c/
Dadv7511-v4l2.c1754 u32 cec_clk = state->pdata.cec_clk; in adv7511_init_setup() local
1777 v4l2_dbg(1, debug, sd, "%s: cec_clk %d\n", __func__, cec_clk); in adv7511_init_setup()
1787 if (cec_clk % 750000 != 0) in adv7511_init_setup()
1789 __func__, cec_clk); in adv7511_init_setup()
1791 ratio = (cec_clk / 750000) - 1; in adv7511_init_setup()
1884 if (state->pdata.cec_clk < 3000000 || in adv7511_probe()
1885 state->pdata.cec_clk > 100000000) { in adv7511_probe()
1887 __func__, state->pdata.cec_clk); in adv7511_probe()
1888 state->pdata.cec_clk = 0; in adv7511_probe()
1891 if (state->pdata.cec_clk) { in adv7511_probe()
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c144 struct clk *cec_clk; member
2701 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec"); in __dw_hdmi_probe()
2702 if (PTR_ERR(hdmi->cec_clk) == -ENOENT) { in __dw_hdmi_probe()
2703 hdmi->cec_clk = NULL; in __dw_hdmi_probe()
2704 } else if (IS_ERR(hdmi->cec_clk)) { in __dw_hdmi_probe()
2705 ret = PTR_ERR(hdmi->cec_clk); in __dw_hdmi_probe()
2710 hdmi->cec_clk = NULL; in __dw_hdmi_probe()
2713 ret = clk_prepare_enable(hdmi->cec_clk); in __dw_hdmi_probe()
2857 if (hdmi->cec_clk) in __dw_hdmi_probe()
2858 clk_disable_unprepare(hdmi->cec_clk); in __dw_hdmi_probe()
[all …]
/Linux-v5.4/drivers/media/pci/cobalt/
Dcobalt-driver.c584 .cec_clk = 12000000, in cobalt_subdevs_hsma_init()