linux/sound/pci/cs46xx/cs46xx_dsp_spos.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  The driver for the Cirrus Logic's Sound Fusion CS46XX based soundcards
 *  Copyright (c) by Jaroslav Kysela <[email protected]>
 */

#ifndef __CS46XX_DSP_SPOS_H__
#define __CS46XX_DSP_SPOS_H__

#include "cs46xx_dsp_scb_types.h"
#include "cs46xx_dsp_task_types.h"

#define SYMBOL_CONSTANT
#define SYMBOL_SAMPLE
#define SYMBOL_PARAMETER
#define SYMBOL_CODE

#define SEGTYPE_SP_PROGRAM
#define SEGTYPE_SP_PARAMETER
#define SEGTYPE_SP_SAMPLE
#define SEGTYPE_SP_COEFFICIENT

#define DSP_SPOS_UU
#define DSP_SPOS_DC
#define DSP_SPOS_DC_DC
#define DSP_SPOS_UUUU
#define DSP_SPOS_UUHI
#define DSP_SPOS_UULO
#define DSP_SPOS_DCDC
#define DSP_SPOS_DCDCHI
#define DSP_SPOS_DCDCLO

#define DSP_MAX_TASK_NAME
#define DSP_MAX_SYMBOL_NAME
#define DSP_MAX_SCB_NAME
#define DSP_MAX_SCB_DESC
#define DSP_MAX_TASK_DESC

#define DSP_MAX_PCM_CHANNELS
#define DSP_MAX_SRC_NR

#define DSP_PCM_MAIN_CHANNEL
#define DSP_PCM_REAR_CHANNEL
#define DSP_PCM_CENTER_LFE_CHANNEL
#define DSP_PCM_S71_CHANNEL
#define DSP_IEC958_CHANNEL

#define DSP_SPDIF_STATUS_OUTPUT_ENABLED
#define DSP_SPDIF_STATUS_PLAYBACK_OPEN
#define DSP_SPDIF_STATUS_HW_ENABLED
#define DSP_SPDIF_STATUS_INPUT_CTRL_ENABLED

struct dsp_symbol_entry {};

struct dsp_symbol_desc {};

struct dsp_segment_desc {};

struct dsp_module_desc {};

struct dsp_scb_descriptor {};

struct dsp_task_descriptor {};

struct dsp_pcm_channel_descriptor {};

struct dsp_spos_instance {};

#endif /* __DSP_SPOS_H__ */