Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vp.h File Reference
#include <linux/kernel.h>

Go to the source code of this file.

Data Structures

struct  omap_vp_ops
 
struct  omap_vp_common
 
struct  omap_vp_instance
 

Macros

#define OMAP3_VP_VDD_MPU_ID   0
 
#define OMAP3_VP_VDD_CORE_ID   1
 
#define OMAP4_VP_VDD_CORE_ID   0
 
#define OMAP4_VP_VDD_IVA_ID   1
 
#define OMAP4_VP_VDD_MPU_ID   2
 
#define VP_IDLE_TIMEOUT   200
 
#define VP_TRANXDONE_TIMEOUT   300
 

Functions

void omap_vp_init (struct voltagedomain *voltdm)
 
void omap_vp_enable (struct voltagedomain *voltdm)
 
void omap_vp_disable (struct voltagedomain *voltdm)
 
int omap_vp_forceupdate_scale (struct voltagedomain *voltdm, unsigned long target_volt)
 
int omap_vp_update_errorgain (struct voltagedomain *voltdm, unsigned long target_volt)
 

Variables

struct omap_vp_instance omap3_vp_mpu
 
struct omap_vp_instance omap3_vp_core
 
struct omap_vp_instance omap4_vp_mpu
 
struct omap_vp_instance omap4_vp_iva
 
struct omap_vp_instance omap4_vp_core
 

Macro Definition Documentation

#define OMAP3_VP_VDD_CORE_ID   1

Definition at line 28 of file vp.h.

#define OMAP3_VP_VDD_MPU_ID   0

Definition at line 27 of file vp.h.

#define OMAP4_VP_VDD_CORE_ID   0

Definition at line 29 of file vp.h.

#define OMAP4_VP_VDD_IVA_ID   1

Definition at line 30 of file vp.h.

#define OMAP4_VP_VDD_MPU_ID   2

Definition at line 31 of file vp.h.

#define VP_IDLE_TIMEOUT   200

Definition at line 34 of file vp.h.

#define VP_TRANXDONE_TIMEOUT   300

Definition at line 35 of file vp.h.

Function Documentation

void omap_vp_disable ( struct voltagedomain voltdm)

omap_vp_disable() - API to disable a particular VP : pointer to the VDD whose VP is to be disabled.

This API disables a particular voltage processor. Needed by the smartreflex class drivers.

Definition at line 238 of file vp.c.

void omap_vp_enable ( struct voltagedomain voltdm)

omap_vp_enable() - API to enable a particular VP : pointer to the VDD whose VP is to be enabled.

This API enables a particular voltage processor. Needed by the smartreflex class drivers.

Definition at line 194 of file vp.c.

int omap_vp_forceupdate_scale ( struct voltagedomain voltdm,
unsigned long  target_volt 
)

Definition at line 118 of file vp.c.

void omap_vp_init ( struct voltagedomain voltdm)

Definition at line 38 of file vp.c.

int omap_vp_update_errorgain ( struct voltagedomain voltdm,
unsigned long  target_volt 
)

Definition at line 95 of file vp.c.

Variable Documentation

struct omap_vp_instance omap3_vp_core

Definition at line 70 of file vp3xxx_data.c.

struct omap_vp_instance omap3_vp_mpu

Definition at line 59 of file vp3xxx_data.c.

struct omap_vp_instance omap4_vp_core

Definition at line 80 of file vp44xx_data.c.

struct omap_vp_instance omap4_vp_iva

Definition at line 69 of file vp44xx_data.c.

struct omap_vp_instance omap4_vp_mpu

Definition at line 58 of file vp44xx_data.c.