mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 01:25:49 -04:00
We use intel_display for function hooks of shared_dpll_mgr and any function that gets called when we use for_each_shared_dpll. This also contains some opportunistic display->platform.xx changes all to reductate the use of drm_i915_private. --v2 -rebase --v3 -Don't use inline to_i915 [Jani] Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250212074542.3569452-5-suraj.kandpal@intel.com
27 lines
716 B
C
27 lines
716 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DKL_PHY_H__
|
|
#define __INTEL_DKL_PHY_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "intel_dkl_phy_regs.h"
|
|
|
|
struct drm_i915_private;
|
|
struct intel_display;
|
|
|
|
void intel_dkl_phy_init(struct drm_i915_private *i915);
|
|
u32
|
|
intel_dkl_phy_read(struct intel_display *display, struct intel_dkl_phy_reg reg);
|
|
void
|
|
intel_dkl_phy_write(struct intel_display *display, struct intel_dkl_phy_reg reg, u32 val);
|
|
void
|
|
intel_dkl_phy_rmw(struct intel_display *display, struct intel_dkl_phy_reg reg, u32 clear, u32 set);
|
|
void
|
|
intel_dkl_phy_posting_read(struct intel_display *display, struct intel_dkl_phy_reg reg);
|
|
|
|
#endif /* __INTEL_DKL_PHY_H__ */
|