Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1295 if (adv7511->cec_clk) in adv7511_probe()
1296 clk_disable_unprepare(adv7511->cec_clk); in adv7511_probe()
1314 if (adv7511->cec_clk) in adv7511_remove()
1315 clk_disable_unprepare(adv7511->cec_clk); in adv7511_remove()
Dadv7511.h378 struct clk *cec_clk; member
/Linux-v5.10/drivers/gpu/drm/zte/
Dzx_hdmi.c45 struct clk *cec_clk; member
230 clk_prepare_enable(hdmi->cec_clk); in zx_hdmi_encoder_enable()
249 clk_disable_unprepare(hdmi->cec_clk); in zx_hdmi_encoder_disable()
669 hdmi->cec_clk = devm_clk_get(hdmi->dev, "osc_cec"); in zx_hdmi_bind()
670 if (IS_ERR(hdmi->cec_clk)) { in zx_hdmi_bind()
671 ret = PTR_ERR(hdmi->cec_clk); in zx_hdmi_bind()
/Linux-v5.10/include/media/i2c/
Dadv7511.h30 u32 cec_clk; member
/Linux-v5.10/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.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c154 struct clk *cec_clk; member
3288 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec"); in dw_hdmi_probe()
3289 if (PTR_ERR(hdmi->cec_clk) == -ENOENT) { in dw_hdmi_probe()
3290 hdmi->cec_clk = NULL; in dw_hdmi_probe()
3291 } else if (IS_ERR(hdmi->cec_clk)) { in dw_hdmi_probe()
3292 ret = PTR_ERR(hdmi->cec_clk); in dw_hdmi_probe()
3297 hdmi->cec_clk = NULL; in dw_hdmi_probe()
3300 ret = clk_prepare_enable(hdmi->cec_clk); in dw_hdmi_probe()
3443 if (hdmi->cec_clk) in dw_hdmi_probe()
3444 clk_disable_unprepare(hdmi->cec_clk); in dw_hdmi_probe()
[all …]
/Linux-v5.10/drivers/media/pci/cobalt/
Dcobalt-driver.c584 .cec_clk = 12000000, in cobalt_subdevs_hsma_init()