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

Go to the source code of this file.

Data Structures

struct  omap_vc_common
 
struct  omap_vc_channel
 

Macros

#define OMAP_VC_CHANNEL_DEFAULT   BIT(0)
 
#define OMAP_VC_CHANNEL_CFG_MUTANT   BIT(1)
 

Functions

void omap_vc_init_channel (struct voltagedomain *voltdm)
 
int omap_vc_pre_scale (struct voltagedomain *voltdm, unsigned long target_volt, u8 *target_vsel, u8 *current_vsel)
 
void omap_vc_post_scale (struct voltagedomain *voltdm, unsigned long target_volt, u8 target_vsel, u8 current_vsel)
 
int omap_vc_bypass_scale (struct voltagedomain *voltdm, unsigned long target_volt)
 

Variables

struct omap_vc_channel omap3_vc_mpu
 
struct omap_vc_channel omap3_vc_core
 
struct omap_vc_channel omap4_vc_mpu
 
struct omap_vc_channel omap4_vc_iva
 
struct omap_vc_channel omap4_vc_core
 

Macro Definition Documentation

#define OMAP_VC_CHANNEL_CFG_MUTANT   BIT(1)

Definition at line 61 of file vc.h.

#define OMAP_VC_CHANNEL_DEFAULT   BIT(0)

Definition at line 60 of file vc.h.

Function Documentation

int omap_vc_bypass_scale ( struct voltagedomain voltdm,
unsigned long  target_volt 
)

Definition at line 157 of file vc.c.

void omap_vc_init_channel ( struct voltagedomain voltdm)

Definition at line 287 of file vc.c.

void omap_vc_post_scale ( struct voltagedomain voltdm,
unsigned long  target_volt,
u8  target_vsel,
u8  current_vsel 
)

Definition at line 143 of file vc.c.

int omap_vc_pre_scale ( struct voltagedomain voltdm,
unsigned long  target_volt,
u8 target_vsel,
u8 current_vsel 
)

Definition at line 103 of file vc.c.

Variable Documentation

struct omap_vc_channel omap3_vc_core

Definition at line 62 of file vc3xxx_data.c.

struct omap_vc_channel omap3_vc_mpu

Definition at line 48 of file vc3xxx_data.c.

struct omap_vc_channel omap4_vc_core

Definition at line 77 of file vc44xx_data.c.

struct omap_vc_channel omap4_vc_iva

Definition at line 64 of file vc44xx_data.c.

struct omap_vc_channel omap4_vc_mpu

Definition at line 50 of file vc44xx_data.c.