Lines Matching defs:lpass_data

94 struct lpass_data {  struct
97 struct clk *ahbix_clk;
100 struct clk *mi2s_osr_clk[LPASS_MAX_MI2S_PORTS];
103 struct clk *mi2s_bit_clk[LPASS_MAX_MI2S_PORTS];
105 struct clk *codec_mem0;
106 struct clk *codec_mem1;
107 struct clk *codec_mem2;
108 struct clk *va_mem0;
111 unsigned int mi2s_playback_sd_mode[LPASS_MAX_MI2S_PORTS];
112 unsigned int mi2s_capture_sd_mode[LPASS_MAX_MI2S_PORTS];
115 bool mi2s_was_prepared[LPASS_MAX_MI2S_PORTS];
117 int hdmi_port_enable;
118 int codec_dma_enable;
121 void __iomem *lpaif;
122 void __iomem *hdmiif;
123 void __iomem *rxtx_lpaif;
124 void __iomem *va_lpaif;
126 u32 rxtx_cdc_dma_lpm_buf;
127 u32 va_cdc_dma_lpm_buf;
130 struct regmap *lpaif_map;
131 struct regmap *hdmiif_map;
132 struct regmap *rxtx_lpaif_map;
133 struct regmap *va_lpaif_map;
136 int lpaif_irq;
137 int hdmiif_irq;
138 int rxtxif_irq;
139 int vaif_irq;
142 struct lpass_variant *variant;
145 unsigned long dma_ch_bit_map;
146 unsigned long hdmi_dma_ch_bit_map;
147 unsigned long rxtx_dma_ch_bit_map;
148 unsigned long va_dma_ch_bit_map;
151 struct snd_pcm_substream *substream[LPASS_MAX_DMA_CHANNELS];
152 struct snd_pcm_substream *hdmi_substream[LPASS_MAX_HDMI_DMA_CHANNELS];
153 struct snd_pcm_substream *rxtx_substream[LPASS_MAX_CDC_DMA_CHANNELS];
154 struct snd_pcm_substream *va_substream[LPASS_MAX_CDC_DMA_CHANNELS];
157 struct clk_bulk_data *clks;
158 int num_clks;
161 struct lpaif_i2sctl *i2sctl;
162 struct lpaif_dmactl *rd_dmactl;
163 struct lpaif_dmactl *wr_dmactl;
164 struct lpaif_dmactl *hdmi_rd_dmactl;
167 struct lpaif_dmactl *rxtx_rd_dmactl;
168 struct lpaif_dmactl *rxtx_wr_dmactl;
169 struct lpaif_dmactl *va_wr_dmactl;
172 struct regmap_field *hdmitx_legacy_en;
173 struct regmap_field *hdmitx_parity_calc_en;
174 struct regmap_field *hdmitx_ch_msb[LPASS_MAX_HDMI_DMA_CHANNELS];
175 struct regmap_field *hdmitx_ch_lsb[LPASS_MAX_HDMI_DMA_CHANNELS];
176 struct lpass_hdmi_tx_ctl *tx_ctl;
177 struct lpass_vbit_ctrl *vbit_ctl;
178 struct lpass_hdmitx_dmactl *hdmi_tx_dmactl[LPASS_MAX_HDMI_DMA_CHANNELS];
179 struct lpass_dp_metadata_ctl *meta_ctl;
180 struct lpass_sstream_ctl *sstream_ctl;