File Index
Files and directories
Sign in
FILE

dp_aux.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/msm/dp/dp_aux.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 4 */
 5
 6#ifndef _DP_AUX_H_
 7#define _DP_AUX_H_
 8
 9#include <drm/display/drm_dp_helper.h>
10
11int msm_dp_aux_register(struct drm_dp_aux *msm_dp_aux);
12void msm_dp_aux_unregister(struct drm_dp_aux *msm_dp_aux);
13irqreturn_t msm_dp_aux_isr(struct drm_dp_aux *msm_dp_aux, u32 isr);
14void msm_dp_aux_enable_xfers(struct drm_dp_aux *msm_dp_aux, bool enabled);
15void msm_dp_aux_init(struct drm_dp_aux *msm_dp_aux);
16void msm_dp_aux_deinit(struct drm_dp_aux *msm_dp_aux);
17void msm_dp_aux_reconfig(struct drm_dp_aux *msm_dp_aux);
18
19void msm_dp_aux_hpd_enable(struct drm_dp_aux *msm_dp_aux);
20void msm_dp_aux_hpd_disable(struct drm_dp_aux *msm_dp_aux);
21void msm_dp_aux_hpd_intr_enable(struct drm_dp_aux *msm_dp_aux);
22void msm_dp_aux_hpd_intr_disable(struct drm_dp_aux *msm_dp_aux);
23u32 msm_dp_aux_get_hpd_intr_status(struct drm_dp_aux *msm_dp_aux);
24u32 msm_dp_aux_is_link_connected(struct drm_dp_aux *msm_dp_aux);
25
26struct phy;
27struct drm_dp_aux *msm_dp_aux_get(struct device *dev,
28			      struct phy *phy,
29			      bool is_edp,
30			      void __iomem *aux_base);
31void msm_dp_aux_put(struct drm_dp_aux *aux);
32
33#endif /*__DP_AUX_H_*/
~/ Read-only file preview.