Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
menelaus.h File Reference

Go to the source code of this file.

Data Structures

struct  menelaus_platform_data
 

Macros

#define EN_VPLL_SLEEP   (1 << 7)
 
#define EN_VMMC_SLEEP   (1 << 6)
 
#define EN_VAUX_SLEEP   (1 << 5)
 
#define EN_VIO_SLEEP   (1 << 4)
 
#define EN_VMEM_SLEEP   (1 << 3)
 
#define EN_DC3_SLEEP   (1 << 2)
 
#define EN_DC2_SLEEP   (1 << 1)
 
#define EN_VC_SLEEP   (1 << 0)
 
#define omap_has_menelaus()   0
 

Functions

int menelaus_register_mmc_callback (void(*callback)(void *data, u8 card_mask), void *data)
 
void menelaus_unregister_mmc_callback (void)
 
int menelaus_set_mmc_opendrain (int slot, int enable)
 
int menelaus_set_mmc_slot (int slot, int enable, int power, int cd_on)
 
int menelaus_set_vmem (unsigned int mV)
 
int menelaus_set_vio (unsigned int mV)
 
int menelaus_set_vmmc (unsigned int mV)
 
int menelaus_set_vaux (unsigned int mV)
 
int menelaus_set_vdcdc (int dcdc, unsigned int mV)
 
int menelaus_set_slot_sel (int enable)
 
int menelaus_get_slot_pin_states (void)
 
int menelaus_set_vcore_sw (unsigned int mV)
 
int menelaus_set_vcore_hw (unsigned int roof_mV, unsigned int floor_mV)
 
int menelaus_set_regulator_sleep (int enable, u32 val)
 

Macro Definition Documentation

#define EN_DC2_SLEEP   (1 << 1)

Definition at line 38 of file menelaus.h.

#define EN_DC3_SLEEP   (1 << 2)

Definition at line 37 of file menelaus.h.

#define EN_VAUX_SLEEP   (1 << 5)

Definition at line 34 of file menelaus.h.

#define EN_VC_SLEEP   (1 << 0)

Definition at line 39 of file menelaus.h.

#define EN_VIO_SLEEP   (1 << 4)

Definition at line 35 of file menelaus.h.

#define EN_VMEM_SLEEP   (1 << 3)

Definition at line 36 of file menelaus.h.

#define EN_VMMC_SLEEP   (1 << 6)

Definition at line 33 of file menelaus.h.

#define EN_VPLL_SLEEP   (1 << 7)

Definition at line 32 of file menelaus.h.

#define omap_has_menelaus ( )    0

Definition at line 46 of file menelaus.h.

Function Documentation

int menelaus_get_slot_pin_states ( void  )

Definition at line 764 of file menelaus.c.

int menelaus_register_mmc_callback ( void(*)(void *data, u8 card_mask)  callback,
void data 
)

Definition at line 411 of file menelaus.c.

int menelaus_set_mmc_opendrain ( int  slot,
int  enable 
)

Definition at line 298 of file menelaus.c.

int menelaus_set_mmc_slot ( int  slot,
int  enable,
int  power,
int  cd_on 
)

Definition at line 349 of file menelaus.c.

int menelaus_set_regulator_sleep ( int  enable,
u32  val 
)

Definition at line 770 of file menelaus.c.

int menelaus_set_slot_sel ( int  enable)

Definition at line 329 of file menelaus.c.

int menelaus_set_vaux ( unsigned int  mV)

Definition at line 750 of file menelaus.c.

int menelaus_set_vcore_hw ( unsigned int  roof_mV,
unsigned int  floor_mV 
)

Definition at line 561 of file menelaus.c.

int menelaus_set_vcore_sw ( unsigned int  mV)

Definition at line 538 of file menelaus.c.

int menelaus_set_vdcdc ( int  dcdc,
unsigned int  mV 
)

Definition at line 683 of file menelaus.c.

int menelaus_set_vio ( unsigned int  mV)

Definition at line 642 of file menelaus.c.

int menelaus_set_vmem ( unsigned int  mV)

Definition at line 613 of file menelaus.c.

int menelaus_set_vmmc ( unsigned int  mV)

Definition at line 720 of file menelaus.c.

void menelaus_unregister_mmc_callback ( void  )

Definition at line 437 of file menelaus.c.