hdmi_dev 35 drivers/gpu/drm/gma500/oaktrail_hdmi.c #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) hdmi_dev 36 drivers/gpu/drm/gma500/oaktrail_hdmi.c #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) hdmi_dev 133 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 148 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 269 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 499 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 534 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 687 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev; hdmi_dev 694 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev = kzalloc(sizeof(struct oaktrail_hdmi_dev), GFP_KERNEL); hdmi_dev 695 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (!hdmi_dev) { hdmi_dev 707 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->mmio = pci_resource_start(pdev, 0); hdmi_dev 708 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->mmio_len = pci_resource_len(pdev, 0); hdmi_dev 709 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->regs = ioremap(hdmi_dev->mmio, hdmi_dev->mmio_len); hdmi_dev 710 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (!hdmi_dev->regs) { hdmi_dev 715 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->dev = pdev; hdmi_dev 716 drivers/gpu/drm/gma500/oaktrail_hdmi.c pci_set_drvdata(pdev, hdmi_dev); hdmi_dev 719 drivers/gpu/drm/gma500/oaktrail_hdmi.c ret = oaktrail_hdmi_i2c_init(hdmi_dev->dev); hdmi_dev 723 drivers/gpu/drm/gma500/oaktrail_hdmi.c dev_priv->hdmi_priv = hdmi_dev; hdmi_dev 731 drivers/gpu/drm/gma500/oaktrail_hdmi.c kfree(hdmi_dev); hdmi_dev 739 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 742 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (hdmi_dev) { hdmi_dev 743 drivers/gpu/drm/gma500/oaktrail_hdmi.c pdev = hdmi_dev->dev; hdmi_dev 746 drivers/gpu/drm/gma500/oaktrail_hdmi.c iounmap(hdmi_dev->regs); hdmi_dev 747 drivers/gpu/drm/gma500/oaktrail_hdmi.c kfree(hdmi_dev); hdmi_dev 756 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 762 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->saveDPLL_CTRL = PSB_RVDC32(DPLL_CTRL); hdmi_dev 763 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->saveDPLL_DIV_CTRL = PSB_RVDC32(DPLL_DIV_CTRL); hdmi_dev 764 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->saveDPLL_ADJUST = PSB_RVDC32(DPLL_ADJUST); hdmi_dev 765 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->saveDPLL_UPDATE = PSB_RVDC32(DPLL_UPDATE); hdmi_dev 766 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->saveDPLL_CLK_ENABLE = PSB_RVDC32(DPLL_CLK_ENABLE); hdmi_dev 778 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_PIPEBCONF = PSB_RVDC32(PCH_PIPEBCONF); hdmi_dev 779 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_PIPEBSRC = PSB_RVDC32(PCH_PIPEBSRC); hdmi_dev 780 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_HTOTAL_B = PSB_RVDC32(PCH_HTOTAL_B); hdmi_dev 781 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_HBLANK_B = PSB_RVDC32(PCH_HBLANK_B); hdmi_dev 782 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_HSYNC_B = PSB_RVDC32(PCH_HSYNC_B); hdmi_dev 783 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_VTOTAL_B = PSB_RVDC32(PCH_VTOTAL_B); hdmi_dev 784 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_VBLANK_B = PSB_RVDC32(PCH_VBLANK_B); hdmi_dev 785 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->savePCH_VSYNC_B = PSB_RVDC32(PCH_VSYNC_B); hdmi_dev 809 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; hdmi_dev 815 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->saveDPLL_CTRL, DPLL_CTRL); hdmi_dev 816 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->saveDPLL_DIV_CTRL, DPLL_DIV_CTRL); hdmi_dev 817 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->saveDPLL_ADJUST, DPLL_ADJUST); hdmi_dev 818 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->saveDPLL_UPDATE, DPLL_UPDATE); hdmi_dev 819 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->saveDPLL_CLK_ENABLE, DPLL_CLK_ENABLE); hdmi_dev 831 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_PIPEBSRC, PCH_PIPEBSRC); hdmi_dev 832 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_HTOTAL_B, PCH_HTOTAL_B); hdmi_dev 833 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_HBLANK_B, PCH_HBLANK_B); hdmi_dev 834 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_HSYNC_B, PCH_HSYNC_B); hdmi_dev 835 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_VTOTAL_B, PCH_VTOTAL_B); hdmi_dev 836 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_VBLANK_B, PCH_VBLANK_B); hdmi_dev 837 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_VSYNC_B, PCH_VSYNC_B); hdmi_dev 840 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(hdmi_dev->savePCH_PIPEBCONF, PCH_PIPEBCONF); hdmi_dev 35 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) hdmi_dev 36 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) hdmi_dev 77 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static void hdmi_i2c_irq_enable(struct oaktrail_hdmi_dev *hdmi_dev) hdmi_dev 87 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static void hdmi_i2c_irq_disable(struct oaktrail_hdmi_dev *hdmi_dev) hdmi_dev 95 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); hdmi_dev 96 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 128 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); hdmi_dev 129 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 138 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_i2c_irq_enable(hdmi_dev); hdmi_dev 150 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_i2c_irq_disable(hdmi_dev); hdmi_dev 175 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static void hdmi_i2c_read(struct oaktrail_hdmi_dev *hdmi_dev) hdmi_dev 177 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 204 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c static void hdmi_i2c_transaction_done(struct oaktrail_hdmi_dev *hdmi_dev) hdmi_dev 206 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 225 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct oaktrail_hdmi_dev *hdmi_dev = dev; hdmi_dev 226 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 237 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_i2c_read(hdmi_dev); hdmi_dev 240 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_i2c_transaction_done(hdmi_dev); hdmi_dev 275 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct oaktrail_hdmi_dev *hdmi_dev; hdmi_dev 279 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_dev = pci_get_drvdata(dev); hdmi_dev 292 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c i2c_set_adapdata(&oaktrail_hdmi_i2c_adapter, hdmi_dev); hdmi_dev 293 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_dev->i2c_dev = i2c_dev; hdmi_dev 300 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c oaktrail_hdmi_i2c_adapter.name, hdmi_dev); hdmi_dev 318 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c struct oaktrail_hdmi_dev *hdmi_dev; hdmi_dev 321 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c hdmi_dev = pci_get_drvdata(dev); hdmi_dev 324 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c i2c_dev = hdmi_dev->i2c_dev; hdmi_dev 326 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c free_irq(dev->irq, hdmi_dev); hdmi_dev 55 drivers/gpu/drm/mediatek/mtk_cec.c struct device *hdmi_dev; hdmi_dev 92 drivers/gpu/drm/mediatek/mtk_cec.c struct device *hdmi_dev) hdmi_dev 98 drivers/gpu/drm/mediatek/mtk_cec.c cec->hdmi_dev = hdmi_dev; hdmi_dev 151 drivers/gpu/drm/mediatek/mtk_cec.c struct device *hdmi_dev; hdmi_dev 156 drivers/gpu/drm/mediatek/mtk_cec.c hdmi_dev = cec->hdmi_dev; hdmi_dev 160 drivers/gpu/drm/mediatek/mtk_cec.c hpd_event(hpd, hdmi_dev); hdmi_dev 15 drivers/gpu/drm/mediatek/mtk_cec.h struct device *hdmi_dev); hdmi_dev 24 drivers/media/cec/cec-notifier.c struct device *hdmi_dev; hdmi_dev 37 drivers/media/cec/cec-notifier.c cec_notifier_get_conn(struct device *hdmi_dev, const char *conn_name) hdmi_dev 43 drivers/media/cec/cec-notifier.c if (n->hdmi_dev == hdmi_dev && hdmi_dev 54 drivers/media/cec/cec-notifier.c n->hdmi_dev = hdmi_dev; hdmi_dev 93 drivers/media/cec/cec-notifier.c cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, hdmi_dev 96 drivers/media/cec/cec-notifier.c struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, conn_name); hdmi_dev 134 drivers/media/cec/cec-notifier.c cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name, hdmi_dev 142 drivers/media/cec/cec-notifier.c n = cec_notifier_get_conn(hdmi_dev, conn_name); hdmi_dev 231 drivers/media/cec/cec-notifier.c struct device *hdmi_dev = NULL; hdmi_dev 243 drivers/media/cec/cec-notifier.c hdmi_dev = &hdmi_pdev->dev; hdmi_dev 250 drivers/media/cec/cec-notifier.c put_device(hdmi_dev); hdmi_dev 251 drivers/media/cec/cec-notifier.c return hdmi_dev; hdmi_dev 265 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct device *hdmi_dev; hdmi_dev 269 drivers/media/platform/cros-ec-cec/cros-ec-cec.c hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conn); hdmi_dev 270 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 271 drivers/media/platform/cros-ec-cec/cros-ec-cec.c return PTR_ERR(hdmi_dev); hdmi_dev 294 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, hdmi_dev 635 drivers/media/platform/meson/ao-cec-g12a.c struct device *hdmi_dev; hdmi_dev 640 drivers/media/platform/meson/ao-cec-g12a.c hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); hdmi_dev 641 drivers/media/platform/meson/ao-cec-g12a.c if (IS_ERR(hdmi_dev)) hdmi_dev 642 drivers/media/platform/meson/ao-cec-g12a.c return PTR_ERR(hdmi_dev); hdmi_dev 719 drivers/media/platform/meson/ao-cec-g12a.c ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, hdmi_dev 604 drivers/media/platform/meson/ao-cec.c struct device *hdmi_dev; hdmi_dev 608 drivers/media/platform/meson/ao-cec.c hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); hdmi_dev 610 drivers/media/platform/meson/ao-cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 611 drivers/media/platform/meson/ao-cec.c return PTR_ERR(hdmi_dev); hdmi_dev 670 drivers/media/platform/meson/ao-cec.c ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, hdmi_dev 177 drivers/media/platform/s5p-cec/s5p_cec.c struct device *hdmi_dev; hdmi_dev 183 drivers/media/platform/s5p-cec/s5p_cec.c hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); hdmi_dev 185 drivers/media/platform/s5p-cec/s5p_cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 186 drivers/media/platform/s5p-cec/s5p_cec.c return PTR_ERR(hdmi_dev); hdmi_dev 224 drivers/media/platform/s5p-cec/s5p_cec.c cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, hdmi_dev 576 drivers/media/platform/seco-cec/seco-cec.c struct device *hdmi_dev; hdmi_dev 581 drivers/media/platform/seco-cec/seco-cec.c hdmi_dev = secocec_cec_find_hdmi_dev(&pdev->dev, &conn); hdmi_dev 582 drivers/media/platform/seco-cec/seco-cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 583 drivers/media/platform/seco-cec/seco-cec.c return PTR_ERR(hdmi_dev); hdmi_dev 652 drivers/media/platform/seco-cec/seco-cec.c secocec->notifier = cec_notifier_cec_adap_register(hdmi_dev, conn, hdmi_dev 304 drivers/media/platform/sti/cec/stih-cec.c struct device *hdmi_dev; hdmi_dev 307 drivers/media/platform/sti/cec/stih-cec.c hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); hdmi_dev 309 drivers/media/platform/sti/cec/stih-cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 310 drivers/media/platform/sti/cec/stih-cec.c return PTR_ERR(hdmi_dev); hdmi_dev 347 drivers/media/platform/sti/cec/stih-cec.c cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, hdmi_dev 319 drivers/media/platform/tegra-cec/tegra_cec.c struct device *hdmi_dev; hdmi_dev 324 drivers/media/platform/tegra-cec/tegra_cec.c hdmi_dev = cec_notifier_parse_hdmi_phandle(&pdev->dev); hdmi_dev 326 drivers/media/platform/tegra-cec/tegra_cec.c if (IS_ERR(hdmi_dev)) hdmi_dev 327 drivers/media/platform/tegra-cec/tegra_cec.c return PTR_ERR(hdmi_dev); hdmi_dev 396 drivers/media/platform/tegra-cec/tegra_cec.c cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, hdmi_dev 62 include/media/cec-notifier.h cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, hdmi_dev 89 include/media/cec-notifier.h cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name, hdmi_dev 144 include/media/cec-notifier.h cec_notifier_conn_register(struct device *hdmi_dev, const char *conn_name, hdmi_dev 156 include/media/cec-notifier.h cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *conn_name,