Lines Matching defs:cec
23 #include <media/cec-notifier.h>
40 #include "dw-hdmi-cec.h"
139 struct platform_device *cec;
3327 struct dw_hdmi_cec_data cec;
3434 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec");
3440 dev_err(hdmi->dev, "Cannot get HDMI cec clock: %d\n",
3448 dev_err(hdmi->dev, "Cannot enable HDMI cec clock: %d\n",
3590 cec.hdmi = hdmi;
3591 cec.ops = &dw_hdmi_cec_ops;
3592 cec.irq = irq;
3594 pdevinfo.name = "dw-hdmi-cec";
3595 pdevinfo.data = &cec;
3596 pdevinfo.size_data = sizeof(cec);
3599 hdmi->cec = platform_device_register_full(&pdevinfo);
3624 if (!IS_ERR(hdmi->cec))
3625 platform_device_unregister(hdmi->cec);