Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cdv_device.c File Reference
#include <linux/backlight.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/gma_drm.h>
#include "psb_drv.h"
#include "psb_reg.h"
#include "psb_intel_reg.h"
#include "intel_bios.h"
#include "cdv_device.h"

Go to the source code of this file.

Macros

#define VGA_SR_INDEX   0x3c4
 
#define VGA_SR_DATA   0x3c5
 
#define PSB_PM_SSC   0x20
 
#define PSB_PM_SSS   0x30
 
#define PSB_PWRGT_GFX_ON   0x02
 
#define PSB_PWRGT_GFX_OFF   0x01
 
#define PSB_PWRGT_GFX_D0   0x00
 
#define PSB_PWRGT_GFX_D3   0x03
 

Functions

void cdv_intel_attach_force_audio_property (struct drm_connector *connector)
 
void cdv_intel_attach_broadcast_rgb_property (struct drm_connector *connector)
 

Variables

struct psb_ops cdv_chip_ops
 

Macro Definition Documentation

#define PSB_PM_SSC   0x20

Definition at line 207 of file cdv_device.c.

#define PSB_PM_SSS   0x30

Definition at line 208 of file cdv_device.c.

#define PSB_PWRGT_GFX_D0   0x00

Definition at line 211 of file cdv_device.c.

#define PSB_PWRGT_GFX_D3   0x03

Definition at line 212 of file cdv_device.c.

#define PSB_PWRGT_GFX_OFF   0x01

Definition at line 210 of file cdv_device.c.

#define PSB_PWRGT_GFX_ON   0x02

Definition at line 209 of file cdv_device.c.

#define VGA_SR_DATA   0x3c5

Definition at line 31 of file cdv_device.c.

#define VGA_SR_INDEX   0x3c4

Definition at line 30 of file cdv_device.c.

Function Documentation

void cdv_intel_attach_broadcast_rgb_property ( struct drm_connector connector)

Definition at line 535 of file cdv_device.c.

void cdv_intel_attach_force_audio_property ( struct drm_connector connector)

Definition at line 506 of file cdv_device.c.

Variable Documentation

struct psb_ops cdv_chip_ops
Initial value:
= {
.name = "GMA3600/3650",
.accel_2d = 0,
.pipes = 2,
.crtcs = 2,
.hdmi_mask = (1 << 0) | (1 << 1),
.lvds_mask = (1 << 1),
.cursor_needs_phys = 0,
.sgx_offset = MRST_SGX_OFFSET,
.chip_setup = cdv_chip_setup,
.errata = cdv_errata,
.crtc_helper = &cdv_intel_helper_funcs,
.crtc_funcs = &cdv_intel_crtc_funcs,
.output_init = cdv_output_init,
.hotplug = cdv_hotplug_event,
.hotplug_enable = cdv_hotplug_enable,
.init_pm = cdv_init_pm,
.save_regs = cdv_save_display_registers,
.restore_regs = cdv_restore_display_registers,
.power_down = cdv_power_down,
.power_up = cdv_power_up,
}

Definition at line 630 of file cdv_device.c.