|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/init.h>#include <linux/clk.h>#include <linux/io.h>#include <linux/delay.h>#include <linux/export.h>#include "common.h"#include <plat/prcm.h>#include "clock.h"#include "clock2xxx.h"#include "cm2xxx_3xxx.h"#include "prm2xxx_3xxx.h"#include "prm44xx.h"#include "prminst44xx.h"#include "cminst44xx.h"#include "prm-regbits-24xx.h"#include "prm-regbits-44xx.h"#include "control.h"Go to the source code of this file.
Macros | |
| #define | MAX_MODULE_ENABLE_WAIT 100000 |
Functions | |
| u32 | omap_prcm_get_reset_sources (void) |
| EXPORT_SYMBOL (omap_prcm_get_reset_sources) | |
| void | omap_prcm_restart (char mode, const char *cmd) |
: name of the clock (for printk) | |
omap2_cm_wait_idlest - wait for IDLEST bit to indicate module readiness : physical address of module IDLEST register : value to mask against to determine if the module is active : idle state indicator (0 or 1) for the clock Returns 1 if the module indicated readiness in time, or 0 if it failed to enable in roughly MAX_MODULE_ENABLE_WAIT microseconds. XXX This function is deprecated. It should be removed once the hwmod conversion is complete. | |
| int | omap2_cm_wait_idlest (void __iomem *reg, u32 mask, u8 idlest, const char *name) |
| void __init | omap2_set_globals_prcm (struct omap_globals *omap2_globals) |
| int __weak | omap4_cminst_wait_module_idle (u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) |
| void __weak | omap4_cminst_module_enable (u8 mode, u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) |
| void __weak | omap4_cminst_module_disable (u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) |
Variables | |
| void __iomem * | prm_base |
| void __iomem * | cm_base |
| void __iomem * | cm2_base |
| void __iomem * | prcm_mpu_base |
| EXPORT_SYMBOL | ( | omap_prcm_get_reset_sources | ) |
| void __init omap2_set_globals_prcm | ( | struct omap_globals * | omap2_globals | ) |
omap4_cminst_module_enable - Enable the modulemode inside CLKCTRL : Module mode (SW or HW) : PRCM partition ID that the CM_CLKCTRL register exists in : CM instance register offset (*_INST macro) : Clockdomain register offset (*_CDOFFS macro) : Module clock control register offset (*_CLKCTRL macro)
No return value.
omap4_cminst_wait_module_idle - wait for a module to be in 'disabled' state : PRCM partition ID that the CM_CLKCTRL register exists in : CM instance register offset (*_INST macro) : Clockdomain register offset (*_CDOFFS macro) : Module clock control register offset (*_CLKCTRL macro)
Wait for the module IDLEST to be disabled. Some PRCM transition, like reset assertion or parent clock de-activation must wait the module to be fully disabled.
1.8.2