Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
power.h File Reference
#include <linux/pci.h>
#include <drm/drmP.h>

Go to the source code of this file.


void gma_power_init (struct drm_device *dev)
void gma_power_uninit (struct drm_device *dev)
int gma_power_suspend (struct device *dev)
int gma_power_resume (struct device *dev)
bool gma_power_begin (struct drm_device *dev, bool force)
void gma_power_end (struct drm_device *dev)
bool gma_power_is_on (struct drm_device *dev)
int psb_runtime_suspend (struct device *dev)
int psb_runtime_resume (struct device *dev)
int psb_runtime_idle (struct device *dev)

Function Documentation

bool gma_power_begin ( struct drm_device dev,
bool  force_on 

gma_power_begin - begin requiring power : our DRM device : true to force power on

Begin an action that requires the display power island is enabled. We refcount the islands.

Definition at line 247 of file power.c.

void gma_power_end ( struct drm_device dev)

gma_power_end - end use of power : Our DRM device

Indicate that one of our gma_power_begin() requested periods when the diplay island power is needed has completed.

Definition at line 286 of file power.c.

void gma_power_init ( struct drm_device dev)

gma_power_init - initialise power manager : our device

Set up for power management tracking of our hardware.

Definition at line 47 of file power.c.

bool gma_power_is_on ( struct drm_device dev)

gma_power_is_on - returne true if power is on : our DRM device

Returns true if the display island power is on at this moment

Definition at line 233 of file power.c.

int gma_power_resume ( struct device _dev)

gma_power_resume - resume power : PCI device

Resume the PCI side of the graphics and then the displays

Definition at line 213 of file power.c.

int gma_power_suspend ( struct device _dev)

gma_power_suspend - bus callback for suspend : our PCI device : suspend type

Called back by the PCI layer during a suspend of the system. We perform the necessary shut down steps and save enough state that we can undo this when resume is called.

Definition at line 186 of file power.c.

void gma_power_uninit ( struct drm_device dev)

gma_power_uninit - end power manager : device to end for

Undo the effects of gma_power_init

Definition at line 71 of file power.c.

int psb_runtime_idle ( struct device dev)

Definition at line 307 of file power.c.

int psb_runtime_resume ( struct device dev)

Definition at line 302 of file power.c.

int psb_runtime_suspend ( struct device dev)

Definition at line 297 of file power.c.