mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

Going forward, struct intel_display is the main display device data pointer. Convert intel_dkl_phy.[ch] to struct intel_display. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/fce153dbd3a69dc574a66fb97b7c1f441df9726f.1740502116.git.jani.nikula@intel.com [Jani: Fix a missing include while applying] Signed-off-by: Jani Nikula <jani.nikula@intel.com>
26 lines
691 B
C
26 lines
691 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 intel_display;
|
|
|
|
void intel_dkl_phy_init(struct intel_display *display);
|
|
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__ */
|