/* 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__ */