Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vc.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/bug.h>
#include "soc.h"
#include "voltage.h"
#include "vc.h"
#include "prm-regbits-34xx.h"
#include "prm-regbits-44xx.h"
#include "prm44xx.h"

Go to the source code of this file.

Data Structures

struct  omap_vc_channel_cfg
 

Macros

#define CFG_CHANNEL_MASK   0x1f
 

Functions

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)
 
void __init omap_vc_init_channel (struct voltagedomain *voltdm)
 

Macro Definition Documentation

#define CFG_CHANNEL_MASK   0x1f

Definition at line 66 of file vc.c.

Function Documentation

int omap_vc_bypass_scale ( struct voltagedomain voltdm,
unsigned long  target_volt 
)

Definition at line 157 of file vc.c.

void __init 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.