mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Clarify what the parameter is about through proper naming. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/b1be9a4089dfbf48ea1434944a4841d2ac4c4acc.1747061743.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
37 lines
899 B
C
37 lines
899 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2013-2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _VLV_IOSF_SB_H_
|
|
#define _VLV_IOSF_SB_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "vlv_iosf_sb_reg.h"
|
|
|
|
struct drm_device;
|
|
struct drm_i915_private;
|
|
|
|
enum vlv_iosf_sb_unit {
|
|
VLV_IOSF_SB_BUNIT,
|
|
VLV_IOSF_SB_CCK,
|
|
VLV_IOSF_SB_CCU,
|
|
VLV_IOSF_SB_DPIO,
|
|
VLV_IOSF_SB_DPIO_2,
|
|
VLV_IOSF_SB_FLISDSI,
|
|
VLV_IOSF_SB_GPIO,
|
|
VLV_IOSF_SB_NC,
|
|
VLV_IOSF_SB_PUNIT,
|
|
};
|
|
|
|
void vlv_iosf_sb_init(struct drm_i915_private *i915);
|
|
void vlv_iosf_sb_fini(struct drm_i915_private *i915);
|
|
|
|
void vlv_iosf_sb_get(struct drm_device *drm, unsigned long unit_mask);
|
|
void vlv_iosf_sb_put(struct drm_device *drm, unsigned long unit_mask);
|
|
|
|
u32 vlv_iosf_sb_read(struct drm_device *drm, enum vlv_iosf_sb_unit unit, u32 addr);
|
|
int vlv_iosf_sb_write(struct drm_device *drm, enum vlv_iosf_sb_unit unit, u32 addr, u32 val);
|
|
|
|
#endif /* _VLV_IOSF_SB_H_ */
|