Lines Matching defs:cec
23 #include <media/cec-notifier.h>
39 #include "dw-hdmi-cec.h"
138 struct platform_device *cec;
3343 struct dw_hdmi_cec_data cec;
3450 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec");
3456 dev_err(hdmi->dev, "Cannot get HDMI cec clock: %d\n",
3464 dev_err(hdmi->dev, "Cannot enable HDMI cec clock: %d\n",
3607 cec.hdmi = hdmi;
3608 cec.ops = &dw_hdmi_cec_ops;
3609 cec.irq = irq;
3611 pdevinfo.name = "dw-hdmi-cec";
3612 pdevinfo.data = &cec;
3613 pdevinfo.size_data = sizeof(cec);
3616 hdmi->cec = platform_device_register_full(&pdevinfo);
3641 if (!IS_ERR(hdmi->cec))
3642 platform_device_unregister(hdmi->cec);