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.
|void||hpi_dsp_code_close (struct dsp_code *ps_dsp_code)|
|short||hpi_dsp_code_open (u32 adapter, struct dsp_code *ps_dsp_code, u32 *pos_error_code)|
|short||hpi_dsp_code_read_block (size_t words_requested, struct dsp_code *ps_dsp_code, u32 **ppblock)|
|short||hpi_dsp_code_read_word (struct dsp_code *ps_dsp_code, u32 *pword)|
|void||hpi_dsp_code_rewind (struct dsp_code *ps_dsp_code)|