Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

dm6467gem_hal_pwr.h

Go to the documentation of this file.
00001 /** ============================================================================
00002  *  @file   dm6467gem_hal_pwr.h
00003  *
00004  *  @path   $(DSPLINK)/gpp/inc/sys/arch/DM6467GEM/
00005  *
00006  *  @brief  Hardware Abstraction Layer for Power Controller (PWR)
00007  *          module in Davinci. Declares necessary functions for
00008  *          PSC request handling.
00009  *
00010  *  @ver    1.65.00.03
00011  *  ============================================================================
00012  *  @copyright Copyright (C) 2002-2009, Texas Instruments Incorporated -
00013  *  http://www.ti.com/
00014  *
00015  *  Redistribution and use in source and binary forms, with or without
00016  *  modification, are permitted provided that the following conditions
00017  *  are met:
00018  *  
00019  *  *  Redistributions of source code must retain the above copyright
00020  *     notice, this list of conditions and the following disclaimer.
00021  *  
00022  *  *  Redistributions in binary form must reproduce the above copyright
00023  *     notice, this list of conditions and the following disclaimer in the
00024  *     documentation and/or other materials provided with the distribution.
00025  *  
00026  *  *  Neither the name of Texas Instruments Incorporated nor the names of
00027  *     its contributors may be used to endorse or promote products derived
00028  *     from this software without specific prior written permission.
00029  *  
00030  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00031  *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00032  *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00033  *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00034  *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00035  *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00036  *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00037  *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00038  *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00039  *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00040  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00041  *  ============================================================================
00042  */
00043 
00044 
00045 #if !defined (DM6467GEM_HAL_PWR_H)
00046 #define DM6467GEM_HAL_PWR_H
00047 
00048 
00049 /*  ----------------------------------- DSP/BIOS Link               */
00050 #include <dsplink.h>
00051 #include <_dsplink.h>
00052 
00053 /*  ----------------------------------- Trace & Debug               */
00054 #include <_trace.h>
00055 
00056 /*  ----------------------------------- Hardware Abstraction Layer  */
00057 #include <dm6467gem_hal.h>
00058 
00059 
00060 #if defined (__cplusplus)
00061 extern "C" {
00062 #endif
00063 
00064 
00065 /** ============================================================================
00066  *  @func   DM6467GEM_halPwrCtrl
00067  *
00068  *  @brief  Power conrtoller.
00069  *
00070  *  @param halObj.
00071  *              Pointer to HAL object.
00072  *  @param cmd.
00073  *              Command.
00074  *  @param arg.
00075  *              Command specific arguments.
00076  *
00077  *  @return DSP_SOK
00078  *              Operation successfully completed.
00079  *          DSP_EINVALIDARG
00080  *              Unsupported interrupt control command .
00081  *
00082  *  @pre    None.
00083  *
00084  *  @post   None.
00085  *
00086  *  @see    None
00087  *  ============================================================================
00088  */
00089 NORMAL_API
00090 DSP_STATUS
00091 DM6467GEM_halPwrCtrl (IN         Pvoid          halObj,
00092                       IN         DSP_PwrCtrlCmd cmd,
00093                       IN OUT     Pvoid          arg) ;
00094 
00095 
00096 #if defined (__cplusplus)
00097 }
00098 #endif
00099 
00100 
00101 #endif  /* !defined (DM6467GEM_HAL_PWR_H) */

Generated on Fri Jul 16 14:34:02 2010 for DSP/BIOSLink by  doxygen 1.4.4