/* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** AudioScience HPI driver Copyright (C) 1997-2011 AudioScience Inc. <[email protected]> Host Interface module for an ASI6205 based bus mastering PCI adapter. Copyright AudioScience, Inc., 2003 ******************************************************************************/ #ifndef _HPI6205_H_ #define _HPI6205_H_ #include "hpi_internal.h" /*********************************************************** Defines used for basic messaging ************************************************************/ #define H620_HIF_RESET … #define H620_HIF_IDLE … #define H620_HIF_GET_RESP … #define H620_HIF_DATA_DONE … #define H620_HIF_DATA_MASK … #define H620_HIF_SEND_DATA … #define H620_HIF_GET_DATA … #define H620_HIF_UNKNOWN … /*********************************************************** Types used for mixer control caching ************************************************************/ #define H620_MAX_ISTREAMS … #define H620_MAX_OSTREAMS … #define HPI_NMIXER_CONTROLS … /********************************************************************* This is used for dynamic control cache allocation **********************************************************************/ struct controlcache_6205 { … }; /********************************************************************* This is used for dynamic allocation of async event array **********************************************************************/ struct async_event_buffer_6205 { … }; /*********************************************************** The Host located memory buffer that the 6205 will bus master in and out of. ************************************************************/ #define HPI6205_SIZEOF_DATA … struct message_buffer_6205 { … }; struct response_buffer_6205 { … }; buffer_6205; struct bus_master_interface { … }; #endif