Logo Search packages:      
Sourcecode: alsa-driver version File versions  Download package

hpidspcd.h File Reference

Detailed Description

AudioScience HPI driver Copyright (C) 1997-2003 AudioScience Inc. <support@audioscience.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Functions for reading DSP code to load into DSP USE_ZLIB is forced to be undefined.

If it is not defined, code is read from linked arrays. HPI_INCLUDE_**** must be defined and the appropriate hzz?????.c or hex?????.c linked in

If USE_ZLIB is defined, hpizlib.c must also be linked

Definition in file hpidspcd.h.

#include "hpi.h"

Go to the source code of this file.




typedef struct DSP_CODE_ARRAY DSP_CODE


enum  BootLoadFamily {
  Load2200 = 0x2200, Load4100 = 0x4100, Load4300 = 0x4300, Load4400 = 0x4400,
  Load4500 = 0x4500, Load4600 = 0x4600, Load5000 = 0x5000, Load6200 = 0x6200,
  Load6413 = 0x6413, Load6600 = 0x6600, Load8600 = 0x8600, Load6205 = 0x6205,
  Load8713 = 0x8713, Load8800 = 0x8800


void HpiDspCode_Close (DSP_CODE *psDspCode)
short HpiDspCode_Open (u32 nAdapter, DSP_CODE *psDspCode, u32 *pdwOsErrorCode)
short HpiDspCode_ReadBlock (size_t nWordsRequested, DSP_CODE *psDspCode, u32 **ppdwBlock)
short HpiDspCode_ReadWord (DSP_CODE *psDspCode, u32 *pdwWord)
void HpiDspCode_Rewind (DSP_CODE *psDspCode)

Generated by  Doxygen 1.6.0   Back to index