#include <drm/drm.h>
#include "mid_bios.h"
#include "psb_drv.h"
static void mid_get_fuse_settings(struct drm_device *dev)
{ … }
static void mid_get_pci_revID(struct drm_psb_private *dev_priv)
{ … }
struct mid_vbt_header { … } __packed;
struct vbt_r0 { … } __packed;
struct vbt_r10 { … } __packed;
static int read_vbt_r0(u32 addr, struct vbt_r0 *vbt)
{ … }
static int read_vbt_r10(u32 addr, struct vbt_r10 *vbt)
{ … }
static int mid_get_vbt_data_r0(struct drm_psb_private *dev_priv, u32 addr)
{ … }
static int mid_get_vbt_data_r1(struct drm_psb_private *dev_priv, u32 addr)
{ … }
static int mid_get_vbt_data_r10(struct drm_psb_private *dev_priv, u32 addr)
{ … }
static void mid_get_vbt_data(struct drm_psb_private *dev_priv)
{ … }
int mid_chip_setup(struct drm_device *dev)
{ … }