linux/drivers/gpu/drm/i915/display/dvo_sil164.c

/**************************************************************************

Copyright © 2006 Dave Airlie

All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sub license, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

**************************************************************************/

#include "intel_display_types.h"
#include "intel_dvo_dev.h"

#define SIL164_VID
#define SIL164_DID

#define SIL164_VID_LO
#define SIL164_VID_HI
#define SIL164_DID_LO
#define SIL164_DID_HI
#define SIL164_REV
#define SIL164_RSVD
#define SIL164_FREQ_LO
#define SIL164_FREQ_HI

#define SIL164_REG8
#define SIL164_8_VEN
#define SIL164_8_HEN
#define SIL164_8_DSEL
#define SIL164_8_BSEL
#define SIL164_8_EDGE
#define SIL164_8_PD

#define SIL164_REG9
#define SIL164_9_VLOW
#define SIL164_9_MSEL_MASK
#define SIL164_9_TSEL
#define SIL164_9_RSEN
#define SIL164_9_HTPLG
#define SIL164_9_MDI

#define SIL164_REGC
#define SIL164_C_SCNT
#define SIL164_C_PLLF_MASK
#define SIL164_C_PLLF_REC
#define SIL164_C_PFEN

struct sil164_priv {};

#define SILPTR(d)

static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch)
{}

static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch)
{}

/* Silicon Image 164 driver for chip on i2c bus */
static bool sil164_init(struct intel_dvo_device *dvo,
			struct i2c_adapter *adapter)
{}

static enum drm_connector_status sil164_detect(struct intel_dvo_device *dvo)
{}

static enum drm_mode_status sil164_mode_valid(struct intel_dvo_device *dvo,
					      struct drm_display_mode *mode)
{}

static void sil164_mode_set(struct intel_dvo_device *dvo,
			    const struct drm_display_mode *mode,
			    const struct drm_display_mode *adjusted_mode)
{}

/* set the SIL164 power state */
static void sil164_dpms(struct intel_dvo_device *dvo, bool enable)
{}

static bool sil164_get_hw_state(struct intel_dvo_device *dvo)
{}

static void sil164_dump_regs(struct intel_dvo_device *dvo)
{}

static void sil164_destroy(struct intel_dvo_device *dvo)
{}

const struct intel_dvo_dev_ops sil164_ops =;