- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# include/pm/pm_common.h

Go to the documentation of this file.

    00001
    00043 #ifndef PM_PM_COMMON_H_INCLUDED
    00044 #define PM_PM_COMMON_H_INCLUDED
    00045
    00046 #include <assert.h>
    00047 #include <util.h>
    00048
    00049 #define PM_MKVERSION(x, y, z)   (((x) << 16) | ((y) << 8) | (z))
    00050
    00051 extern int pm_enable_pll_sync(unsigned int id);
    00052 extern unsigned long pm_init_pll(unsigned int id, enum pm_pll_src source,
    00053                 unsigned int div, unsigned int mul,
    00054                 unsigned long flags);
    00055 extern unsigned long pm_get_pll_rate(unsigned int id);
    00056
    00057 extern int pm_priv_enable_osc_sync(unsigned int index,
    00058                 unsigned long startup_us);
    00059
    00060 extern void pm_priv_set_main_clock(enum pm_mainclk_src source,
    00061                 unsigned long rate);
    00062
    00063 #endif /* PM_PM_COMMON_H_INCLUDED */