// SPDX-License-Identifier: GPL-2.0-only /*********************************************************************** AudioScience HPI driver Functions for reading DSP code using hotplug firmware loader Copyright (C) 1997-2014 AudioScience Inc. <[email protected]> ***********************************************************************/ #define SOURCEFILE_NAME … #include "hpidspcd.h" #include "hpidebug.h" #include "hpi_version.h" struct dsp_code_private { … }; /*-------------------------------------------------------------------*/ short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, u32 *os_error_code) { … } /*-------------------------------------------------------------------*/ void hpi_dsp_code_close(struct dsp_code *dsp_code) { … } /*-------------------------------------------------------------------*/ void hpi_dsp_code_rewind(struct dsp_code *dsp_code) { … } /*-------------------------------------------------------------------*/ short hpi_dsp_code_read_word(struct dsp_code *dsp_code, u32 *pword) { … } /*-------------------------------------------------------------------*/ short hpi_dsp_code_read_block(size_t words_requested, struct dsp_code *dsp_code, u32 **ppblock) { … }