linux/sound/soc/qcom/lpass-hdmi.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
 *
 * lpass_hdmi.h - Definitions for the QTi LPASS HDMI
 */

#ifndef __LPASS_HDMI_H__
#define __LPASS_HDMI_H__

#include <linux/regmap.h>

#define LPASS_HDMITX_LEGACY_DISABLE
#define LPASS_HDMITX_LEGACY_ENABLE
#define LPASS_DP_AUDIO_BITWIDTH16
#define LPASS_DP_AUDIO_BITWIDTH24
#define LPASS_DATA_FORMAT_SHIFT
#define LPASS_FREQ_BIT_SHIFT
#define LPASS_DATA_FORMAT_LINEAR
#define LPASS_DATA_FORMAT_NON_LINEAR
#define LPASS_SAMPLING_FREQ32
#define LPASS_SAMPLING_FREQ44
#define LPASS_SAMPLING_FREQ48
#define LPASS_TX_CTL_RESET
#define LPASS_TX_CTL_CLEAR
#define LPASS_SSTREAM_ENABLE
#define LPASS_SSTREAM_DISABLE
#define LPASS_LAYOUT_SP_DEFAULT
#define LPASS_SSTREAM_DEFAULT_ENABLE
#define LPASS_SSTREAM_DEFAULT_DISABLE
#define LPASS_MUTE_ENABLE
#define LPASS_MUTE_DISABLE
#define LPASS_META_DEFAULT_VAL
#define HW_MODE
#define SW_MODE
#define LEGACY_LPASS_LPAIF
#define LEGACY_LPASS_HDMI
#define REPLACE_VBIT
#define LINEAR_PCM_DATA
#define NON_LINEAR_PCM_DATA
#define HDMITX_PARITY_CALC_EN
#define HDMITX_PARITY_CALC_DIS
#define LPASS_DATA_FORMAT_MASK
#define LPASS_WORDLENGTH_MASK
#define LPASS_FREQ_BIT_MASK

#define LPASS_HDMI_TX_CTL_ADDR(v)
#define LPASS_HDMI_TX_LEGACY_ADDR(v)
#define LPASS_HDMI_TX_VBIT_CTL_ADDR(v)
#define LPASS_HDMI_TX_PARITY_ADDR(v)
#define LPASS_HDMI_TX_DP_ADDR(v)
#define LPASS_HDMI_TX_SSTREAM_ADDR(v)

#define LPASS_HDMI_TX_CH_LSB_ADDR(v, port)
#define LPASS_HDMI_TX_CH_MSB_ADDR(v, port)
#define LPASS_HDMI_TX_DMA_ADDR(v, port)

struct lpass_sstream_ctl {};

struct lpass_dp_metadata_ctl {};

struct lpass_hdmi_tx_ctl {};

struct lpass_hdmitx_dmactl {};

struct lpass_vbit_ctrl {};

extern const struct snd_soc_dai_ops asoc_qcom_lpass_hdmi_dai_ops;

#endif /* __LPASS_HDMI_H__ */