linux/sound/pci/asihpi/hpi6000.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*****************************************************************************

    AudioScience HPI driver
    Copyright (C) 1997-2011  AudioScience Inc. <[email protected]>


Public declarations for DSP Proramming Interface to TI C6701

Shared between hpi6000.c and DSP code

(C) Copyright AudioScience Inc. 1998-2003
******************************************************************************/

#ifndef _HPI6000_H_
#define _HPI6000_H_

#define HPI_NMIXER_CONTROLS

/*
 * Control caching is always supported in the HPI code.
 * The DSP should make sure that dwControlCacheSizeInBytes is initialized to 0
 * during boot to make it in-active.
 */
struct hpi_hif_6000 {};

#define HPI_HIF_PACK_ADAPTER_INFO(adapter, version_major, version_minor)
#define HPI_HIF_ADAPTER_INFO_EXTRACT_ADAPTER(adapterinfo)
#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MAJOR(adapterinfo)
#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MINOR(adapterinfo)

/* Command/status exchanged between host and DSP */
#define HPI_HIF_IDLE
#define HPI_HIF_SEND_MSG
#define HPI_HIF_GET_RESP
#define HPI_HIF_DATA_MASK
#define HPI_HIF_SEND_DATA
#define HPI_HIF_GET_DATA
#define HPI_HIF_SEND_DONE
#define HPI_HIF_RESET

#endif				/* _HPI6000_H_ */