summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cminst44xx.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2011-02-25 15:48:14 -0700
committerPaul Walmsley <paul@pwsan.com>2011-02-25 16:09:05 -0700
commit04eb7773d803bd0a8249c5bba37f81c496253ea1 (patch)
treecceb00f50dc272bf80218b918aa72cd25df3af90 /arch/arm/mach-omap2/cminst44xx.h
parent514c5948b2b5a3f9f9ebc344fc03073f3bd481b4 (diff)
downloadblackbird-op-linux-04eb7773d803bd0a8249c5bba37f81c496253ea1.tar.gz
blackbird-op-linux-04eb7773d803bd0a8249c5bba37f81c496253ea1.zip
OMAP4: CM: Add CM accesor api for bitwise control
Add new OMAP4 CM accesor apis to set/clear and read bitfields (based on mask) from CM registers. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cminst44xx.h')
-rw-r--r--arch/arm/mach-omap2/cminst44xx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cminst44xx.h b/arch/arm/mach-omap2/cminst44xx.h
index a6abd0a8cb82..2b32c181a2ee 100644
--- a/arch/arm/mach-omap2/cminst44xx.h
+++ b/arch/arm/mach-omap2/cminst44xx.h
@@ -25,6 +25,12 @@ extern u32 omap4_cminst_read_inst_reg(u8 part, s16 inst, u16 idx);
extern void omap4_cminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
extern u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part,
s16 inst, s16 idx);
+extern u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, s16 inst,
+ s16 idx);
+extern u32 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, s16 inst,
+ s16 idx);
+extern u32 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx,
+ u32 mask);
extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg);
OpenPOWER on IntegriCloud