mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Move the VLV clock related functions to their own file. v2: Rebase Reviewed-by: Michał Grzelak <michal.grzelak@intel.com> # v1 Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/0bc4a930f3e364c4fc37479f56bf07ccee854fcc.1757688216.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
39 lines
840 B
C
39 lines
840 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright © 2025 Intel Corporation */
|
|
|
|
#ifndef __VLV_CLOCK_H__
|
|
#define __VLV_CLOCK_H__
|
|
|
|
struct drm_device;
|
|
|
|
#ifdef I915
|
|
int vlv_clock_get_hpll_vco(struct drm_device *drm);
|
|
int vlv_clock_get_hrawclk(struct drm_device *drm);
|
|
int vlv_clock_get_czclk(struct drm_device *drm);
|
|
int vlv_clock_get_cdclk(struct drm_device *drm);
|
|
int vlv_clock_get_gpll(struct drm_device *drm);
|
|
#else
|
|
static inline int vlv_clock_get_hpll_vco(struct drm_device *drm)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int vlv_clock_get_hrawclk(struct drm_device *drm)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int vlv_clock_get_czclk(struct drm_device *drm)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int vlv_clock_get_cdclk(struct drm_device *drm)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int vlv_clock_get_gpll(struct drm_device *drm)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __VLV_CLOCK_H__ */
|