File Index
Files and directories
Sign in
FILE

intel_snps_phy.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/display/intel_snps_phy.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2019 Intel Corporation
 4 */
 5
 6#ifndef __INTEL_SNPS_PHY_H__
 7#define __INTEL_SNPS_PHY_H__
 8
 9#include <linux/types.h>
10
11enum phy;
12struct intel_atomic_state;
13struct intel_crtc;
14struct intel_crtc_state;
15struct intel_display;
16struct intel_encoder;
17struct intel_mpllb_state;
18
19void intel_snps_phy_wait_for_calibration(struct intel_display *display);
20void intel_snps_phy_update_psr_power_state(struct intel_encoder *encoder,
21					   bool enable);
22
23int intel_mpllb_calc_state(struct intel_crtc_state *crtc_state,
24			   struct intel_encoder *encoder);
25void intel_mpllb_enable(struct intel_encoder *encoder,
26			const struct intel_crtc_state *crtc_state);
27void intel_mpllb_disable(struct intel_encoder *encoder);
28void intel_mpllb_readout_hw_state(struct intel_encoder *encoder,
29				  struct intel_mpllb_state *pll_state);
30int intel_mpllb_calc_port_clock(struct intel_encoder *encoder,
31				const struct intel_mpllb_state *pll_state);
32
33void intel_snps_phy_set_signal_levels(struct intel_encoder *encoder,
34				      const struct intel_crtc_state *crtc_state);
35void intel_mpllb_state_verify(struct intel_atomic_state *state,
36			      struct intel_crtc *crtc);
37
38#endif /* __INTEL_SNPS_PHY_H__ */
~/ Read-only file preview.