This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
android-g900/kernel-2.6.33/arch/arm/mach-pxa/g900/gf5500/inc/GFI2S.h
2010-10-16 00:02:07 +06:00

50 lines
1.5 KiB
C
Executable File

/* Copyright (c) 2006 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an
* express license agreement from NVIDIA Corporation is strictly prohibited.
*/
/*
* File: GFi2s.h
* I2S header file.
*/
#ifndef __I2S_H__
#define __I2S_H__
#ifdef __cplusplus
extern "C"
{
#endif
// Typesafe functions for opening and closing this component
GF_RETTYPE GFI2SOpen(GFRmHandle hRm, GFI2SHandle *phI2S,
GF_STATE_TYPE state, GFRmChHandle hCh);
void GFI2SClose(GFI2SHandle *phI2S);
GF_RETTYPE GFI2SSetTransmitBuffer(GFI2SHandle I2SHandle,
NvU32 startAddr,
NvU32 sizeBytes,
NvU32 numBuffers);
GF_RETTYPE GFI2SSetTransmitState(GFI2SHandle I2SHandle,
NvU32 state);
GF_RETTYPE GFI2SSetReceiveBuffer(GFI2SHandle I2SHandle,
NvU32 startAddr,
NvU32 sizeBytes,
NvU32 numBuffers);
GF_RETTYPE GFI2SSetReceiveState(GFI2SHandle I2SHandle,
NvU32 state);
#ifdef __cplusplus
}
#endif
#endif /* __I2S_H__ */