Lines Matching defs:cec
22 #include <media/cec-notifier.h>
38 #include "dw-hdmi-cec.h"
150 struct platform_device *cec;
3198 struct dw_hdmi_cec_data cec;
3300 hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec");
3306 dev_err(hdmi->dev, "Cannot get HDMI cec clock: %d\n",
3314 dev_err(hdmi->dev, "Cannot enable HDMI cec clock: %d\n",
3437 cec.hdmi = hdmi;
3438 cec.ops = &dw_hdmi_cec_ops;
3439 cec.irq = irq;
3441 pdevinfo.name = "dw-hdmi-cec";
3442 pdevinfo.data = &cec;
3443 pdevinfo.size_data = sizeof(cec);
3446 hdmi->cec = platform_device_register_full(&pdevinfo);
3472 if (!IS_ERR(hdmi->cec))
3473 platform_device_unregister(hdmi->cec);