Lines Matching defs:cec
24 #include <media/cec-notifier.h>
41 #include "dw-hdmi-cec.h"
140 struct platform_device *cec;
3342 struct dw_hdmi_cec_data cec;
3438 clk = devm_clk_get_optional_enabled(hdmi->dev, "cec");
3442 dev_err(hdmi->dev, "Cannot get HDMI cec clock: %d\n",
3585 cec.hdmi = hdmi;
3586 cec.ops = &dw_hdmi_cec_ops;
3587 cec.irq = irq;
3589 pdevinfo.name = "dw-hdmi-cec";
3590 pdevinfo.data = &cec;
3591 pdevinfo.size_data = sizeof(cec);
3594 hdmi->cec = platform_device_register_full(&pdevinfo);
3614 if (!IS_ERR(hdmi->cec))
3615 platform_device_unregister(hdmi->cec);