FILE
intel_pch_refclk.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/i915/display/intel_pch_refclk.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2021 Intel Corporation 4 */ 5 6#ifndef _INTEL_PCH_REFCLK_H_ 7#define _INTEL_PCH_REFCLK_H_ 8 9#include <linux/types.h> 10 11struct intel_crtc_state; 12struct intel_display; 13 14#ifdef I915 15void lpt_program_iclkip(const struct intel_crtc_state *crtc_state); 16void lpt_disable_iclkip(struct intel_display *display); 17int lpt_get_iclkip(struct intel_display *display); 18int lpt_iclkip(const struct intel_crtc_state *crtc_state); 19 20void intel_init_pch_refclk(struct intel_display *display); 21void lpt_disable_clkout_dp(struct intel_display *display); 22#else 23static inline void lpt_program_iclkip(const struct intel_crtc_state *crtc_state) 24{ 25} 26static inline void lpt_disable_iclkip(struct intel_display *display) 27{ 28} 29static inline int lpt_get_iclkip(struct intel_display *display) 30{ 31 return 0; 32} 33static inline int lpt_iclkip(const struct intel_crtc_state *crtc_state) 34{ 35 return 0; 36} 37static inline void intel_init_pch_refclk(struct intel_display *display) 38{ 39} 40static inline void lpt_disable_clkout_dp(struct intel_display *display) 41{ 42} 43#endif 44 45#endif
~/
Read-only file preview.