dp_aux.h 789 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _DP_AUX_H_
  6. #define _DP_AUX_H_
  7. #include "dp_catalog.h"
  8. #include <drm/display/drm_dp_helper.h>
  9. int dp_aux_register(struct drm_dp_aux *dp_aux);
  10. void dp_aux_unregister(struct drm_dp_aux *dp_aux);
  11. irqreturn_t dp_aux_isr(struct drm_dp_aux *dp_aux);
  12. void dp_aux_enable_xfers(struct drm_dp_aux *dp_aux, bool enabled);
  13. void dp_aux_init(struct drm_dp_aux *dp_aux);
  14. void dp_aux_deinit(struct drm_dp_aux *dp_aux);
  15. void dp_aux_reconfig(struct drm_dp_aux *dp_aux);
  16. struct phy;
  17. struct drm_dp_aux *dp_aux_get(struct device *dev, struct dp_catalog *catalog,
  18. struct phy *phy,
  19. bool is_edp);
  20. void dp_aux_put(struct drm_dp_aux *aux);
  21. #endif /*__DP_AUX_H_*/