Searched refs:cec_clk (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_cec.c | 291 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()
|
D | adv7511_drv.c | 1330 if (adv7511->cec_clk) in adv7511_probe() 1331 clk_disable_unprepare(adv7511->cec_clk); in adv7511_probe() 1349 if (adv7511->cec_clk) in adv7511_remove() 1350 clk_disable_unprepare(adv7511->cec_clk); in adv7511_remove()
|
D | adv7511.h | 379 struct clk *cec_clk; member
|
/drivers/gpu/drm/zte/ |
D | zx_hdmi.c | 45 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()
|
/drivers/media/i2c/ |
D | adv7511-v4l2.c | 1754 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()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 154 struct clk *cec_clk; member 3300 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec"); in dw_hdmi_probe() 3301 if (PTR_ERR(hdmi->cec_clk) == -ENOENT) { in dw_hdmi_probe() 3302 hdmi->cec_clk = NULL; in dw_hdmi_probe() 3303 } else if (IS_ERR(hdmi->cec_clk)) { in dw_hdmi_probe() 3304 ret = PTR_ERR(hdmi->cec_clk); in dw_hdmi_probe() 3309 hdmi->cec_clk = NULL; in dw_hdmi_probe() 3312 ret = clk_prepare_enable(hdmi->cec_clk); in dw_hdmi_probe() 3455 if (hdmi->cec_clk) in dw_hdmi_probe() 3456 clk_disable_unprepare(hdmi->cec_clk); in dw_hdmi_probe() [all …]
|
/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 585 .cec_clk = 12000000, in cobalt_subdevs_hsma_init()
|