/linux/drivers/gpu/drm/gma500/ |
A D | oaktrail_hdmi_i2c.c | 138 hdmi_i2c_irq_enable(hdmi_dev); in oaktrail_hdmi_i2c_access() 150 hdmi_i2c_irq_disable(hdmi_dev); in oaktrail_hdmi_i2c_access() 237 hdmi_i2c_read(hdmi_dev); in oaktrail_hdmi_i2c_handler() 275 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_i2c_init() local 279 hdmi_dev = pci_get_drvdata(dev); in oaktrail_hdmi_i2c_init() 290 hdmi_dev->i2c_dev = i2c_dev; in oaktrail_hdmi_i2c_init() 313 free_irq(dev->irq, hdmi_dev); in oaktrail_hdmi_i2c_init() 322 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_i2c_exit() local 325 hdmi_dev = pci_get_drvdata(dev); in oaktrail_hdmi_i2c_exit() 328 i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_exit() [all …]
|
A D | oaktrail_hdmi.c | 678 if (!hdmi_dev) { in oaktrail_hdmi_setup() 692 hdmi_dev->regs = ioremap(hdmi_dev->mmio, hdmi_dev->mmio_len); in oaktrail_hdmi_setup() 693 if (!hdmi_dev->regs) { in oaktrail_hdmi_setup() 698 hdmi_dev->dev = pdev; in oaktrail_hdmi_setup() 699 pci_set_drvdata(pdev, hdmi_dev); in oaktrail_hdmi_setup() 706 dev_priv->hdmi_priv = hdmi_dev; in oaktrail_hdmi_setup() 714 kfree(hdmi_dev); in oaktrail_hdmi_setup() 725 if (hdmi_dev) { in oaktrail_hdmi_teardown() 726 pdev = hdmi_dev->dev; in oaktrail_hdmi_teardown() 729 iounmap(hdmi_dev->regs); in oaktrail_hdmi_teardown() [all …]
|
/linux/drivers/media/cec/core/ |
A D | cec-notifier.c | 25 struct device *hdmi_dev; member 57 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 68 n->hdmi_dev = hdmi_dev; in cec_notifier_get_conn() 156 n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_cec_adap_register() 216 struct device *hdmi_dev = NULL; in cec_notifier_parse_hdmi_phandle() local 228 hdmi_dev = &hdmi_pdev->dev; in cec_notifier_parse_hdmi_phandle() 230 if (!hdmi_dev) { in cec_notifier_parse_hdmi_phandle() 234 hdmi_dev = &hdmi_client->dev; in cec_notifier_parse_hdmi_phandle() 238 if (!hdmi_dev) in cec_notifier_parse_hdmi_phandle() 247 put_device(hdmi_dev); in cec_notifier_parse_hdmi_phandle() [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_cec.c | 56 struct device *hdmi_dev; member 93 struct device *hdmi_dev) in mtk_cec_set_hpd_event() argument 99 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 152 struct device *hdmi_dev; in mtk_cec_hpd_event() local 157 hdmi_dev = cec->hdmi_dev; in mtk_cec_hpd_event() 161 hpd_event(hpd, hdmi_dev); in mtk_cec_hpd_event()
|
A D | mtk_cec.h | 15 struct device *hdmi_dev);
|
/linux/include/media/ |
A 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/drivers/media/cec/platform/cec-gpio/ |
A D | cec-gpio.c | 182 struct device *hdmi_dev; in cec_gpio_probe() local 187 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in cec_gpio_probe() 188 if (PTR_ERR(hdmi_dev) == -EPROBE_DEFER) in cec_gpio_probe() 189 return PTR_ERR(hdmi_dev); in cec_gpio_probe() 190 if (IS_ERR(hdmi_dev)) in cec_gpio_probe() 249 if (!IS_ERR(hdmi_dev)) { in cec_gpio_probe() 250 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in cec_gpio_probe()
|
/linux/drivers/media/cec/platform/s5p/ |
A D | s5p_cec.c | 180 struct device *hdmi_dev; in s5p_cec_probe() local 185 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in s5p_cec_probe() 187 if (IS_ERR(hdmi_dev)) in s5p_cec_probe() 188 return PTR_ERR(hdmi_dev); in s5p_cec_probe() 225 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in s5p_cec_probe()
|
/linux/drivers/media/cec/platform/cros-ec/ |
A D | cros-ec-cec.c | 264 struct device *hdmi_dev; in cros_ec_cec_probe() local 268 hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conn); in cros_ec_cec_probe() 269 if (IS_ERR(hdmi_dev)) in cros_ec_cec_probe() 270 return PTR_ERR(hdmi_dev); in cros_ec_cec_probe() 289 cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, in cros_ec_cec_probe()
|
/linux/drivers/media/cec/platform/sti/ |
A 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/drivers/media/cec/platform/tegra/ |
A 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/drivers/media/cec/i2c/ |
A 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/drivers/media/cec/platform/meson/ |
A 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()
|
A 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/drivers/media/cec/platform/seco/ |
A 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()
|