cm33xx.h (9907f85eb27d98c2184a56f3b636cb82536807a0) cm33xx.h (7632a02f80eb99e942999e522b2eb0f6592ea5b5)
1/*
2 * AM33XX CM offset macros
3 *
4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
5 * Vaibhav Hiremath <hvaibhav@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as

--- 365 unchanged lines hidden (view full) ---

374
375
376#ifndef __ASSEMBLER__
377bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs);
378void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs);
379void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs);
380void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs);
381void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs);
1/*
2 * AM33XX CM offset macros
3 *
4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
5 * Vaibhav Hiremath <hvaibhav@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as

--- 365 unchanged lines hidden (view full) ---

374
375
376#ifndef __ASSEMBLER__
377bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs);
378void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs);
379void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs);
380void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs);
381void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs);
382int am33xx_cm_init(void);
382
383#if defined(CONFIG_SOC_AM33XX) || defined(CONFIG_SOC_AM43XX)
384int am33xx_cm_wait_module_idle(u16 inst, u16 clkctrl_offs);
385extern void am33xx_cm_module_enable(u8 mode, u16 inst, s16 cdoffs,
386 u16 clkctrl_offs);
387extern void am33xx_cm_module_disable(u16 inst, s16 cdoffs,
388 u16 clkctrl_offs);
389int am33xx_cm_wait_module_ready(u16 inst, u16 clkctrl_offs);

--- 22 unchanged lines hidden ---
383
384#if defined(CONFIG_SOC_AM33XX) || defined(CONFIG_SOC_AM43XX)
385int am33xx_cm_wait_module_idle(u16 inst, u16 clkctrl_offs);
386extern void am33xx_cm_module_enable(u8 mode, u16 inst, s16 cdoffs,
387 u16 clkctrl_offs);
388extern void am33xx_cm_module_disable(u16 inst, s16 cdoffs,
389 u16 clkctrl_offs);
390int am33xx_cm_wait_module_ready(u16 inst, u16 clkctrl_offs);

--- 22 unchanged lines hidden ---