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
(Linux only:) If DSPCODE_FIRMWARE_LOADER is defined, code is read using hotplug firmware loader from individual dsp code files
If neither of the above is defined, code is read from linked arrays. DSPCODE_ARRAY is defined.
HPI_INCLUDE_**** must be defined and the appropriate hzz?????.c or hex?????.c linked in
Definition in file hpidspcd.c.
#include "hpidspcd.h"
#include "hpidebug.h"
#include "linux/pci.h"
Go to the source code of this file.
Classes | |
struct | code_header |
Defines | |
#define | HPI_VER_DECIMAL |
#define | SOURCEFILE_NAME "hpidspcd.c" |
Functions | |
void | HpiDspCode_Close (struct dsp_code *psDspCode) |
short | HpiDspCode_Open (u32 nAdapter, struct dsp_code *psDspCode, u32 *pdwOsErrorCode) |
short | HpiDspCode_ReadBlock (size_t nWordsRequested, struct dsp_code *psDspCode, u32 **ppdwBlock) |
short | HpiDspCode_ReadWord (struct dsp_code *psDspCode, u32 *pdwWord) |
void | HpiDspCode_Rewind (struct dsp_code *psDspCode) |