#ifndef __RT700_H__
#define __RT700_H__
extern const struct dev_pm_ops rt700_runtime_pm;
struct rt700_priv { … };
#define RT700_AUDIO_FUNCTION_GROUP …
#define RT700_DAC_OUT1 …
#define RT700_DAC_OUT2 …
#define RT700_ADC_IN1 …
#define RT700_ADC_IN2 …
#define RT700_DMIC1 …
#define RT700_DMIC2 …
#define RT700_SPK_OUT …
#define RT700_MIC2 …
#define RT700_LINE1 …
#define RT700_LINE2 …
#define RT700_BEEP …
#define RT700_SPDIF …
#define RT700_VENDOR_REGISTERS …
#define RT700_HP_OUT …
#define RT700_MIXER_IN1 …
#define RT700_MIXER_IN2 …
#define RT700_INLINE_CMD …
#define RT700_DAC_DC_CALI_CTL1 …
#define RT700_PARA_VERB_CTL …
#define RT700_COMBO_JACK_AUTO_CTL1 …
#define RT700_COMBO_JACK_AUTO_CTL2 …
#define RT700_INLINE_CMD_CTL …
#define RT700_DIGITAL_MISC_CTRL4 …
#define RT700_VREFOUT_CTL …
#define RT700_FSM_CTL …
#define RT700_IRQ_FLAG_TABLE1 …
#define RT700_IRQ_FLAG_TABLE2 …
#define RT700_IRQ_FLAG_TABLE3 …
#define RT700_VERB_SET_CONNECT_SEL …
#define RT700_VERB_SET_EAPD_BTLENABLE …
#define RT700_VERB_GET_CONNECT_SEL …
#define RT700_VERB_SET_POWER_STATE …
#define RT700_VERB_SET_CHANNEL_STREAMID …
#define RT700_VERB_SET_PIN_WIDGET_CONTROL …
#define RT700_VERB_SET_UNSOLICITED_ENABLE …
#define RT700_SET_AMP_GAIN_MUTE_H …
#define RT700_SET_AMP_GAIN_MUTE_L …
#define RT700_VERB_GET_PIN_SENSE …
#define RT700_READ_HDA_3 …
#define RT700_READ_HDA_2 …
#define RT700_READ_HDA_1 …
#define RT700_READ_HDA_0 …
#define RT700_PRIV_INDEX_W_H …
#define RT700_PRIV_INDEX_W_L …
#define RT700_PRIV_DATA_W_H …
#define RT700_PRIV_DATA_W_L …
#define RT700_PRIV_INDEX_R_H …
#define RT700_PRIV_INDEX_R_L …
#define RT700_PRIV_DATA_R_H …
#define RT700_PRIV_DATA_R_L …
#define RT700_DAC_FORMAT_H …
#define RT700_DAC_FORMAT_L …
#define RT700_ADC_FORMAT_H …
#define RT700_ADC_FORMAT_L …
#define RT700_SET_AUDIO_POWER_STATE …
#define RT700_SET_PIN_DMIC1 …
#define RT700_SET_PIN_DMIC2 …
#define RT700_SET_PIN_SPK …
#define RT700_SET_PIN_HP …
#define RT700_SET_PIN_MIC2 …
#define RT700_SET_PIN_LINE1 …
#define RT700_SET_PIN_LINE2 …
#define RT700_SET_MIC2_UNSOLICITED_ENABLE …
#define RT700_SET_HP_UNSOLICITED_ENABLE …
#define RT700_SET_INLINE_UNSOLICITED_ENABLE …
#define RT700_SET_STREAMID_DAC1 …
#define RT700_SET_STREAMID_DAC2 …
#define RT700_SET_STREAMID_ADC1 …
#define RT700_SET_STREAMID_ADC2 …
#define RT700_SET_GAIN_DAC1_L …
#define RT700_SET_GAIN_DAC1_H …
#define RT700_SET_GAIN_ADC1_L …
#define RT700_SET_GAIN_ADC1_H …
#define RT700_SET_GAIN_ADC2_L …
#define RT700_SET_GAIN_ADC2_H …
#define RT700_SET_GAIN_AMIC_L …
#define RT700_SET_GAIN_AMIC_H …
#define RT700_SET_GAIN_HP_L …
#define RT700_SET_GAIN_HP_H …
#define RT700_SET_GAIN_SPK_L …
#define RT700_SET_GAIN_SPK_H …
#define RT700_SET_EAPD_SPK …
#define RT700_COMBOJACK_AUTO_DET_STATUS …
#define RT700_COMBOJACK_AUTO_DET_TRS …
#define RT700_COMBOJACK_AUTO_DET_CTIA …
#define RT700_COMBOJACK_AUTO_DET_OMTP …
#define RT700_EAPD_HIGH …
#define RT700_EAPD_LOW …
#define RT700_MUTE_SFT …
#define RT700_DIR_IN_SFT …
#define RT700_DIR_OUT_SFT …
enum { … };
int rt700_io_init(struct device *dev, struct sdw_slave *slave);
int rt700_init(struct device *dev, struct regmap *sdw_regmap,
struct regmap *regmap, struct sdw_slave *slave);
int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);
int rt700_clock_config(struct device *dev);
#endif