Home
last modified time | relevance | path

Searched refs:hdmi_dev (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c35 #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 …]
Doaktrail_hdmi.c36 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg))
37 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg))
134 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_enable() local
149 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_audio_disable() local
268 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_crtc_hdmi_mode_set() local
498 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_dpms() local
533 struct oaktrail_hdmi_dev *hdmi_dev = dev_priv->hdmi_priv; in oaktrail_hdmi_detect() local
670 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_setup() local
677 hdmi_dev = kzalloc(sizeof(struct oaktrail_hdmi_dev), GFP_KERNEL); in oaktrail_hdmi_setup()
678 if (!hdmi_dev) { in oaktrail_hdmi_setup()
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-notifier.c24 struct device *hdmi_dev; member
50 cec_notifier_get_conn(struct device *hdmi_dev, const char *port_name) in cec_notifier_get_conn() argument
56 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn()
67 n->hdmi_dev = hdmi_dev; in cec_notifier_get_conn()
104 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register() argument
107 struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_conn_register()
147 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_cec_adap_register() argument
155 n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_cec_adap_register()
215 struct device *hdmi_dev = NULL; in cec_notifier_parse_hdmi_phandle() local
227 hdmi_dev = &hdmi_pdev->dev; in cec_notifier_parse_hdmi_phandle()
[all …]
/kernel/linux/linux-5.10/include/media/
Dcec-notifier.h39 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
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_cec.c55 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()
Dmtk_cec.h15 struct device *hdmi_dev);
/kernel/linux/linux-5.10/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c182 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()
/kernel/linux/linux-5.10/drivers/media/cec/platform/s5p/
Ds5p_cec.c182 struct device *hdmi_dev; in s5p_cec_probe() local
188 hdmi_dev = cec_notifier_parse_hdmi_phandle(dev); in s5p_cec_probe()
190 if (IS_ERR(hdmi_dev)) in s5p_cec_probe()
191 return PTR_ERR(hdmi_dev); in s5p_cec_probe()
229 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL, in s5p_cec_probe()
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c266 struct device *hdmi_dev; in cros_ec_cec_probe() local
270 hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conn); in cros_ec_cec_probe()
271 if (IS_ERR(hdmi_dev)) in cros_ec_cec_probe()
272 return PTR_ERR(hdmi_dev); in cros_ec_cec_probe()
291 cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, in cros_ec_cec_probe()
/kernel/linux/linux-5.10/drivers/media/cec/platform/sti/
Dstih-cec.c304 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()
/kernel/linux/linux-5.10/drivers/media/cec/platform/tegra/
Dtegra_cec.c319 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()
/kernel/linux/linux-5.10/drivers/media/cec/i2c/
Dch7322.c449 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()
/kernel/linux/linux-5.10/drivers/media/cec/platform/meson/
Dao-cec.c604 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()
670 ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, in meson_ao_cec_probe()
Dao-cec-g12a.c635 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()
719 ao_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, NULL, in meson_ao_cec_g12a_probe()
/kernel/linux/linux-5.10/drivers/media/cec/platform/seco/
Dseco-cec.c576 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()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch17442 + struct drm_hal_hdmitx_dev *hdmi_dev;
17451 + if (g_hi_hdmitx->hdmi_dev != NULL) {
17452 + return g_hi_hdmitx->hdmi_dev;
17455 + ret = drm_get_export_func(MOD_ID_HDMI, (hi_void **)&g_hi_hdmitx->hdmi_dev);
17460 + return (struct drm_hal_hdmitx_dev *)g_hi_hdmitx->hdmi_dev;
17466 + struct drm_hal_hdmitx_dev *hdmi_dev = adp_hdmitx_get_intf_func();
17469 + HI_DRM_CHECK_PTR_RETURN(hdmi_dev);
17470 + HI_DRM_CHECK_PTR_RETURN(hdmi_dev->open);
17476 + ret = hdmi_dev->open(hdmitx->hi_hdmi_id);
17488 + struct drm_hal_hdmitx_dev *hdmi_dev = adp_hdmitx_get_intf_func();
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch300479 + struct drm_hal_hdmitx_dev *hdmi_dev;
300488 + if (g_hi_hdmitx->hdmi_dev != NULL) {
300489 + return g_hi_hdmitx->hdmi_dev;
300492 + ret = drm_get_export_func(MOD_ID_HDMI, (hi_void **)&g_hi_hdmitx->hdmi_dev);
300497 + return (struct drm_hal_hdmitx_dev *)g_hi_hdmitx->hdmi_dev;
300503 + struct drm_hal_hdmitx_dev *hdmi_dev = adp_hdmitx_get_intf_func();
300506 + HI_DRM_CHECK_PTR_RETURN(hdmi_dev);
300507 + HI_DRM_CHECK_PTR_RETURN(hdmi_dev->open);
300513 + ret = hdmi_dev->open(hdmitx->hi_hdmi_id);
300525 + struct drm_hal_hdmitx_dev *hdmi_dev = adp_hdmitx_get_intf_func();
[all …]