linux/drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Analogix DP (Display port) core register interface driver.
 *
 * Copyright (C) 2012 Samsung Electronics Co., Ltd.
 * Author: Jingoo Han <[email protected]>
 */

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/io.h>
#include <linux/iopoll.h>

#include <drm/bridge/analogix_dp.h>

#include "analogix_dp_core.h"
#include "analogix_dp_reg.h"

#define COMMON_INT_MASK_1
#define COMMON_INT_MASK_2
#define COMMON_INT_MASK_3
#define COMMON_INT_MASK_4
#define INT_STA_MASK

void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable)
{}

void analogix_dp_stop_video(struct analogix_dp_device *dp)
{}

void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable)
{}

void analogix_dp_init_analog_param(struct analogix_dp_device *dp)
{}

void analogix_dp_init_interrupt(struct analogix_dp_device *dp)
{}

void analogix_dp_reset(struct analogix_dp_device *dp)
{}

void analogix_dp_swreset(struct analogix_dp_device *dp)
{}

void analogix_dp_config_interrupt(struct analogix_dp_device *dp)
{}

void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp)
{}

void analogix_dp_unmute_hpd_interrupt(struct analogix_dp_device *dp)
{}

int analogix_dp_wait_pll_locked(struct analogix_dp_device *dp)
{}

void analogix_dp_set_pll_power_down(struct analogix_dp_device *dp, bool enable)
{}

void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
				       enum analog_power_block block,
				       bool enable)
{}

int analogix_dp_init_analog_func(struct analogix_dp_device *dp)
{}

void analogix_dp_clear_hotplug_interrupts(struct analogix_dp_device *dp)
{}

void analogix_dp_init_hpd(struct analogix_dp_device *dp)
{}

void analogix_dp_force_hpd(struct analogix_dp_device *dp)
{}

enum dp_irq_type analogix_dp_get_irq_type(struct analogix_dp_device *dp)
{}

void analogix_dp_reset_aux(struct analogix_dp_device *dp)
{}

void analogix_dp_init_aux(struct analogix_dp_device *dp)
{}

int analogix_dp_get_plug_in_status(struct analogix_dp_device *dp)
{}

void analogix_dp_enable_sw_function(struct analogix_dp_device *dp)
{}

void analogix_dp_set_link_bandwidth(struct analogix_dp_device *dp, u32 bwtype)
{}

void analogix_dp_get_link_bandwidth(struct analogix_dp_device *dp, u32 *bwtype)
{}

void analogix_dp_set_lane_count(struct analogix_dp_device *dp, u32 count)
{}

void analogix_dp_get_lane_count(struct analogix_dp_device *dp, u32 *count)
{}

void analogix_dp_set_lane_link_training(struct analogix_dp_device *dp)
{}

u32 analogix_dp_get_lane_link_training(struct analogix_dp_device *dp, u8 lane)
{}

void analogix_dp_enable_enhanced_mode(struct analogix_dp_device *dp,
				      bool enable)
{}

void analogix_dp_set_training_pattern(struct analogix_dp_device *dp,
				      enum pattern_set pattern)
{}

void analogix_dp_reset_macro(struct analogix_dp_device *dp)
{}

void analogix_dp_init_video(struct analogix_dp_device *dp)
{}

void analogix_dp_set_video_color_format(struct analogix_dp_device *dp)
{}

int analogix_dp_is_slave_video_stream_clock_on(struct analogix_dp_device *dp)
{}

void analogix_dp_set_video_cr_mn(struct analogix_dp_device *dp,
				 enum clock_recovery_m_value_type type,
				 u32 m_value, u32 n_value)
{}

void analogix_dp_set_video_timing_mode(struct analogix_dp_device *dp, u32 type)
{}

void analogix_dp_enable_video_master(struct analogix_dp_device *dp, bool enable)
{}

void analogix_dp_start_video(struct analogix_dp_device *dp)
{}

int analogix_dp_is_video_stream_on(struct analogix_dp_device *dp)
{}

void analogix_dp_config_video_slave_mode(struct analogix_dp_device *dp)
{}

void analogix_dp_enable_scrambling(struct analogix_dp_device *dp)
{}

void analogix_dp_disable_scrambling(struct analogix_dp_device *dp)
{}

void analogix_dp_enable_psr_crc(struct analogix_dp_device *dp)
{}

static ssize_t analogix_dp_get_psr_status(struct analogix_dp_device *dp)
{}

int analogix_dp_send_psr_spd(struct analogix_dp_device *dp,
			     struct dp_sdp *vsc, bool blocking)
{}

ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
			     struct drm_dp_aux_msg *msg)
{}