Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c334 adv7511->cec_clk = devm_clk_get(dev, "cec"); in adv7511_cec_parse_dt()
335 if (IS_ERR(adv7511->cec_clk)) { in adv7511_cec_parse_dt()
336 int ret = PTR_ERR(adv7511->cec_clk); in adv7511_cec_parse_dt()
338 adv7511->cec_clk = NULL; in adv7511_cec_parse_dt()
341 clk_prepare_enable(adv7511->cec_clk); in adv7511_cec_parse_dt()
342 adv7511->cec_clk_freq = clk_get_rate(adv7511->cec_clk); in adv7511_cec_parse_dt()
Dadv7511.h387 struct clk *cec_clk; member
Dadv7511_drv.c1342 clk_disable_unprepare(adv7511->cec_clk); in adv7511_probe()
1365 clk_disable_unprepare(adv7511->cec_clk); in adv7511_remove()
/Linux-v6.6/include/media/i2c/
Dadv7511.h30 u32 cec_clk; member
/Linux-v6.6/drivers/media/i2c/
Dadv7511-v4l2.c1725 u32 cec_clk = state->pdata.cec_clk; in adv7511_init_setup() local
1748 v4l2_dbg(1, debug, sd, "%s: cec_clk %d\n", __func__, cec_clk); in adv7511_init_setup()
1758 if (cec_clk % 750000 != 0) in adv7511_init_setup()
1760 __func__, cec_clk); in adv7511_init_setup()
1762 ratio = (cec_clk / 750000) - 1; in adv7511_init_setup()
1855 if (state->pdata.cec_clk < 3000000 || in adv7511_probe()
1856 state->pdata.cec_clk > 100000000) { in adv7511_probe()
1858 __func__, state->pdata.cec_clk); in adv7511_probe()
1859 state->pdata.cec_clk = 0; in adv7511_probe()
1862 if (state->pdata.cec_clk) { in adv7511_probe()
/Linux-v6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c142 struct clk *cec_clk; member
3450 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec"); in dw_hdmi_probe()
3451 if (PTR_ERR(hdmi->cec_clk) == -ENOENT) { in dw_hdmi_probe()
3452 hdmi->cec_clk = NULL; in dw_hdmi_probe()
3453 } else if (IS_ERR(hdmi->cec_clk)) { in dw_hdmi_probe()
3454 ret = PTR_ERR(hdmi->cec_clk); in dw_hdmi_probe()
3459 hdmi->cec_clk = NULL; in dw_hdmi_probe()
3462 ret = clk_prepare_enable(hdmi->cec_clk); in dw_hdmi_probe()
3625 clk_disable_unprepare(hdmi->cec_clk); in dw_hdmi_probe()
3649 clk_disable_unprepare(hdmi->cec_clk); in dw_hdmi_remove()
/Linux-v6.6/drivers/media/pci/cobalt/
Dcobalt-driver.c584 .cec_clk = 12000000, in cobalt_subdevs_hsma_init()