| /Linux-v5.4/drivers/gpu/drm/gma500/ |
| D | oaktrail_hdmi_i2c.c | 35 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) 36 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) 77 static void hdmi_i2c_irq_enable(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_irq_enable() argument 87 static void hdmi_i2c_irq_disable(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_irq_disable() argument 95 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in xfer_read() local 96 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in xfer_read() 128 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in oaktrail_hdmi_i2c_access() local 129 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_access() 138 hdmi_i2c_irq_enable(hdmi_dev); in oaktrail_hdmi_i2c_access() 150 hdmi_i2c_irq_disable(hdmi_dev); in oaktrail_hdmi_i2c_access() [all …]
|
| D | oaktrail_hdmi.c | 35 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) 36 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) 133 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_enable() local 148 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_disable() local 269 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_crtc_hdmi_mode_set() local 499 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_dpms() local 534 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_detect() local 687 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_setup() local 694 hdmi_dev = kzalloc(sizeof(struct oaktrail_hdmi_dev), GFP_KERNEL); in oaktrail_hdmi_setup() 695 if (!hdmi_dev) { in oaktrail_hdmi_setup() [all …]
|
| /Linux-v5.4/drivers/media/cec/ |
| D | cec-notifier.c | 24 struct device *hdmi_dev; member 37 cec_notifier_get_conn(struct device *hdmi_dev, const char *conn_name) in cec_notifier_get_conn() argument 43 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 54 n->hdmi_dev = hdmi_dev; in cec_notifier_get_conn() 93 cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, in cec_notifier_conn_register() argument 96 struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, conn_name); in cec_notifier_conn_register() 134 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name, in cec_notifier_cec_adap_register() argument 142 n = cec_notifier_get_conn(hdmi_dev, conn_name); in cec_notifier_cec_adap_register() 231 struct device *hdmi_dev = NULL; in cec_notifier_parse_hdmi_phandle() local 243 hdmi_dev = &hdmi_pdev->dev; in cec_notifier_parse_hdmi_phandle() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/mediatek/ |
| D | mtk_cec.c | 55 struct device *hdmi_dev; member 92 struct device *hdmi_dev) in mtk_cec_set_hpd_event() argument 98 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 151 struct device *hdmi_dev; in mtk_cec_hpd_event() local 156 hdmi_dev = cec->hdmi_dev; in mtk_cec_hpd_event() 160 hpd_event(hpd, hdmi_dev); in mtk_cec_hpd_event()
|
| D | mtk_cec.h | 15 struct device *hdmi_dev);
|
| /Linux-v5.4/include/media/ |
| D | cec-notifier.h | 62 cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, 89 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name, 144 cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, in cec_notifier_conn_register() argument 156 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name, in cec_notifier_cec_adap_register() argument
|
| /Linux-v5.4/drivers/media/platform/s5p-cec/ |
| D | s5p_cec.c | 177 struct device *hdmi_dev; in s5p_cec_probe() local 183 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in s5p_cec_probe() 185 if (IS_ERR(hdmi_dev)) in s5p_cec_probe() 186 return PTR_ERR(hdmi_dev); in s5p_cec_probe() 224 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in s5p_cec_probe()
|
| /Linux-v5.4/drivers/media/platform/cros-ec-cec/ |
| D | cros-ec-cec.c | 265 struct device *hdmi_dev; in cros_ec_cec_probe() local 269 hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conn); in cros_ec_cec_probe() 270 if (IS_ERR(hdmi_dev)) in cros_ec_cec_probe() 271 return PTR_ERR(hdmi_dev); in cros_ec_cec_probe() 294 cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, in cros_ec_cec_probe()
|
| /Linux-v5.4/drivers/media/platform/sti/cec/ |
| D | stih-cec.c | 304 struct device *hdmi_dev; in stih_cec_probe() local 307 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in stih_cec_probe() 309 if (IS_ERR(hdmi_dev)) in stih_cec_probe() 310 return PTR_ERR(hdmi_dev); in stih_cec_probe() 347 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in stih_cec_probe()
|
| /Linux-v5.4/drivers/media/platform/tegra-cec/ |
| D | tegra_cec.c | 319 struct device *hdmi_dev; in tegra_cec_probe() local 324 hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); in tegra_cec_probe() 326 if (IS_ERR(hdmi_dev)) in tegra_cec_probe() 327 return PTR_ERR(hdmi_dev); in tegra_cec_probe() 396 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in tegra_cec_probe()
|
| /Linux-v5.4/drivers/media/platform/meson/ |
| D | ao-cec.c | 604 struct device *hdmi_dev; in meson_ao_cec_probe() local 608 hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); in meson_ao_cec_probe() 610 if (IS_ERR(hdmi_dev)) in meson_ao_cec_probe() 611 return PTR_ERR(hdmi_dev); in meson_ao_cec_probe() 627 ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, in meson_ao_cec_probe()
|
| D | ao-cec-g12a.c | 635 struct device *hdmi_dev; in meson_ao_cec_g12a_probe() local 640 hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); in meson_ao_cec_g12a_probe() 641 if (IS_ERR(hdmi_dev)) in meson_ao_cec_g12a_probe() 642 return PTR_ERR(hdmi_dev); in meson_ao_cec_g12a_probe() 665 ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, in meson_ao_cec_g12a_probe()
|
| /Linux-v5.4/drivers/media/platform/seco-cec/ |
| D | seco-cec.c | 576 struct device *hdmi_dev; in secocec_probe() local 581 hdmi_dev = secocec_cec_find_hdmi_dev(&pdev->dev, &conn); in secocec_probe() 582 if (IS_ERR(hdmi_dev)) in secocec_probe() 583 return PTR_ERR(hdmi_dev); in secocec_probe() 652 secocec->notifier = cec_notifier_cec_adap_register(hdmi_dev, conn, in secocec_probe()
|