/linux-6.6.21/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 | 39 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) 40 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) 137 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_enable() local 152 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_disable() local 271 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_crtc_hdmi_mode_set() local 501 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_dpms() local 536 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_detect() local 672 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_setup() local 679 hdmi_dev = kzalloc(sizeof(struct oaktrail_hdmi_dev), GFP_KERNEL); in oaktrail_hdmi_setup() 680 if (!hdmi_dev) { in oaktrail_hdmi_setup() [all …]
|
/linux-6.6.21/drivers/media/cec/core/ |
D | cec-notifier.c | 26 struct device *hdmi_dev; member 52 cec_notifier_get_conn(struct device *hdmi_dev, const char *port_name) in cec_notifier_get_conn() argument 58 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 69 n->hdmi_dev = hdmi_dev; in cec_notifier_get_conn() 106 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register() argument 109 struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_conn_register() 149 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_cec_adap_register() argument 157 n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_cec_adap_register() 217 struct device *hdmi_dev = NULL; in cec_notifier_parse_hdmi_phandle() local 229 hdmi_dev = &hdmi_pdev->dev; in cec_notifier_parse_hdmi_phandle() [all …]
|
/linux-6.6.21/include/media/ |
D | cec-notifier.h | 39 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, 66 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, 113 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register() argument 125 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_cec_adap_register() argument
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_cec.c | 58 struct device *hdmi_dev; member 95 struct device *hdmi_dev) in mtk_cec_set_hpd_event() argument 101 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 154 struct device *hdmi_dev; in mtk_cec_hpd_event() local 159 hdmi_dev = cec->hdmi_dev; in mtk_cec_hpd_event() 163 hpd_event(hpd, hdmi_dev); in mtk_cec_hpd_event()
|
D | mtk_cec.h | 15 struct device *hdmi_dev);
|
/linux-6.6.21/drivers/media/cec/platform/cec-gpio/ |
D | cec-gpio.c | 176 struct device *hdmi_dev; in cec_gpio_probe() local 181 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in cec_gpio_probe() 182 if (PTR_ERR(hdmi_dev) == -EPROBE_DEFER) in cec_gpio_probe() 183 return PTR_ERR(hdmi_dev); in cec_gpio_probe() 184 if (IS_ERR(hdmi_dev)) in cec_gpio_probe() 241 if (!IS_ERR(hdmi_dev)) { in cec_gpio_probe() 242 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in cec_gpio_probe()
|
/linux-6.6.21/drivers/media/cec/platform/s5p/ |
D | s5p_cec.c | 182 struct device *hdmi_dev; in s5p_cec_probe() local 187 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in s5p_cec_probe() 189 if (IS_ERR(hdmi_dev)) in s5p_cec_probe() 190 return PTR_ERR(hdmi_dev); in s5p_cec_probe() 227 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in s5p_cec_probe()
|
/linux-6.6.21/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 280 struct device *hdmi_dev; in cros_ec_cec_probe() local 284 hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conn); in cros_ec_cec_probe() 285 if (IS_ERR(hdmi_dev)) in cros_ec_cec_probe() 286 return PTR_ERR(hdmi_dev); in cros_ec_cec_probe() 305 cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, in cros_ec_cec_probe()
|
/linux-6.6.21/drivers/media/cec/platform/sti/ |
D | stih-cec.c | 303 struct device *hdmi_dev; in stih_cec_probe() local 306 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in stih_cec_probe() 308 if (IS_ERR(hdmi_dev)) in stih_cec_probe() 309 return PTR_ERR(hdmi_dev); in stih_cec_probe() 345 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in stih_cec_probe()
|
/linux-6.6.21/drivers/media/cec/platform/tegra/ |
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() 400 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in tegra_cec_probe()
|
/linux-6.6.21/drivers/media/cec/i2c/ |
D | ch7322.c | 449 struct device *hdmi_dev; in ch7322_probe() local 457 ret = ch7322_get_port(client, &hdmi_dev, &port_name); in ch7322_probe() 461 if (hdmi_dev) in ch7322_probe() 507 if (hdmi_dev) { in ch7322_probe() 508 notifier = cec_notifier_cec_adap_register(hdmi_dev, in ch7322_probe()
|
/linux-6.6.21/drivers/media/cec/platform/meson/ |
D | ao-cec.c | 604 struct device *hdmi_dev; in meson_ao_cec_probe() local 607 hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); in meson_ao_cec_probe() 609 if (IS_ERR(hdmi_dev)) in meson_ao_cec_probe() 610 return PTR_ERR(hdmi_dev); in meson_ao_cec_probe() 668 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 639 hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); in meson_ao_cec_g12a_probe() 640 if (IS_ERR(hdmi_dev)) in meson_ao_cec_g12a_probe() 641 return PTR_ERR(hdmi_dev); in meson_ao_cec_g12a_probe() 717 ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, in meson_ao_cec_g12a_probe()
|
/linux-6.6.21/drivers/media/cec/platform/seco/ |
D | seco-cec.c | 563 struct device *hdmi_dev; in secocec_probe() local 568 hdmi_dev = secocec_cec_find_hdmi_dev(&pdev->dev, &conn); in secocec_probe() 569 if (IS_ERR(hdmi_dev)) in secocec_probe() 570 return PTR_ERR(hdmi_dev); in secocec_probe() 639 secocec->notifier = cec_notifier_cec_adap_register(hdmi_dev, conn, in secocec_probe()
|