Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 1 | /* |
| 2 | * skl_topology.h - Intel HDA Platform topology header file |
| 3 | * |
| 4 | * Copyright (C) 2014-15 Intel Corp |
| 5 | * Author: Jeeja KP <jeeja.kp@intel.com> |
| 6 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; version 2 of the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | #ifndef __SKL_TOPOLOGY_H__ |
| 22 | #define __SKL_TOPOLOGY_H__ |
| 23 | |
| 24 | #include <linux/types.h> |
| 25 | |
| 26 | #include <sound/hdaudio_ext.h> |
| 27 | #include <sound/soc.h> |
| 28 | #include "skl.h" |
| 29 | #include "skl-tplg-interface.h" |
| 30 | |
| 31 | #define BITS_PER_BYTE 8 |
| 32 | #define MAX_TS_GROUPS 8 |
| 33 | #define MAX_DMIC_TS_GROUPS 4 |
| 34 | #define MAX_FIXED_DMIC_PARAMS_SIZE 727 |
| 35 | |
| 36 | /* Maximum number of coefficients up down mixer module */ |
| 37 | #define UP_DOWN_MIXER_MAX_COEFF 6 |
| 38 | |
Hardik T Shah | 4cd9899 | 2015-10-27 09:22:55 +0900 | [diff] [blame] | 39 | #define MODULE_MAX_IN_PINS 8 |
| 40 | #define MODULE_MAX_OUT_PINS 8 |
| 41 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 42 | enum skl_channel_index { |
| 43 | SKL_CHANNEL_LEFT = 0, |
| 44 | SKL_CHANNEL_RIGHT = 1, |
| 45 | SKL_CHANNEL_CENTER = 2, |
| 46 | SKL_CHANNEL_LEFT_SURROUND = 3, |
| 47 | SKL_CHANNEL_CENTER_SURROUND = 3, |
| 48 | SKL_CHANNEL_RIGHT_SURROUND = 4, |
| 49 | SKL_CHANNEL_LFE = 7, |
| 50 | SKL_CHANNEL_INVALID = 0xF, |
| 51 | }; |
| 52 | |
| 53 | enum skl_bitdepth { |
| 54 | SKL_DEPTH_8BIT = 8, |
| 55 | SKL_DEPTH_16BIT = 16, |
| 56 | SKL_DEPTH_24BIT = 24, |
| 57 | SKL_DEPTH_32BIT = 32, |
| 58 | SKL_DEPTH_INVALID |
| 59 | }; |
| 60 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 61 | |
| 62 | enum skl_s_freq { |
| 63 | SKL_FS_8000 = 8000, |
| 64 | SKL_FS_11025 = 11025, |
| 65 | SKL_FS_12000 = 12000, |
| 66 | SKL_FS_16000 = 16000, |
| 67 | SKL_FS_22050 = 22050, |
| 68 | SKL_FS_24000 = 24000, |
| 69 | SKL_FS_32000 = 32000, |
| 70 | SKL_FS_44100 = 44100, |
| 71 | SKL_FS_48000 = 48000, |
| 72 | SKL_FS_64000 = 64000, |
| 73 | SKL_FS_88200 = 88200, |
| 74 | SKL_FS_96000 = 96000, |
| 75 | SKL_FS_128000 = 128000, |
| 76 | SKL_FS_176400 = 176400, |
| 77 | SKL_FS_192000 = 192000, |
| 78 | SKL_FS_INVALID |
| 79 | }; |
| 80 | |
| 81 | enum skl_widget_type { |
| 82 | SKL_WIDGET_VMIXER = 1, |
| 83 | SKL_WIDGET_MIXER = 2, |
| 84 | SKL_WIDGET_PGA = 3, |
| 85 | SKL_WIDGET_MUX = 4 |
| 86 | }; |
| 87 | |
| 88 | struct skl_audio_data_format { |
| 89 | enum skl_s_freq s_freq; |
| 90 | enum skl_bitdepth bit_depth; |
| 91 | u32 channel_map; |
| 92 | enum skl_ch_cfg ch_cfg; |
| 93 | enum skl_interleaving interleaving; |
| 94 | u8 number_of_channels; |
| 95 | u8 valid_bit_depth; |
| 96 | u8 sample_type; |
| 97 | u8 reserved[1]; |
| 98 | } __packed; |
| 99 | |
| 100 | struct skl_base_cfg { |
| 101 | u32 cps; |
| 102 | u32 ibs; |
| 103 | u32 obs; |
| 104 | u32 is_pages; |
| 105 | struct skl_audio_data_format audio_fmt; |
| 106 | }; |
| 107 | |
| 108 | struct skl_cpr_gtw_cfg { |
| 109 | u32 node_id; |
| 110 | u32 dma_buffer_size; |
| 111 | u32 config_length; |
| 112 | /* not mandatory; required only for DMIC/I2S */ |
| 113 | u32 config_data[1]; |
| 114 | } __packed; |
| 115 | |
Dharageswari.R | c115fa5 | 2016-02-05 12:19:07 +0530 | [diff] [blame] | 116 | struct skl_i2s_config_blob { |
| 117 | u32 gateway_attrib; |
| 118 | u32 tdm_ts_group[8]; |
| 119 | u32 ssc0; |
| 120 | u32 ssc1; |
| 121 | u32 sscto; |
| 122 | u32 sspsp; |
| 123 | u32 sstsa; |
| 124 | u32 ssrsa; |
| 125 | u32 ssc2; |
| 126 | u32 sspsp2; |
| 127 | u32 ssc3; |
| 128 | u32 ssioc; |
| 129 | u32 mdivc; |
| 130 | u32 mdivr; |
| 131 | } __packed; |
| 132 | |
| 133 | struct skl_dma_control { |
| 134 | u32 node_id; |
| 135 | u32 config_length; |
Jeeja KP | 0b6d76b | 2016-08-24 18:03:15 +0530 | [diff] [blame] | 136 | u32 config_data[0]; |
Dharageswari.R | c115fa5 | 2016-02-05 12:19:07 +0530 | [diff] [blame] | 137 | } __packed; |
| 138 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 139 | struct skl_cpr_cfg { |
| 140 | struct skl_base_cfg base_cfg; |
| 141 | struct skl_audio_data_format out_fmt; |
| 142 | u32 cpr_feature_mask; |
| 143 | struct skl_cpr_gtw_cfg gtw_cfg; |
| 144 | } __packed; |
| 145 | |
Hardik T Shah | a0ffe48 | 2015-08-01 19:40:42 +0530 | [diff] [blame] | 146 | |
| 147 | struct skl_src_module_cfg { |
| 148 | struct skl_base_cfg base_cfg; |
| 149 | enum skl_s_freq src_cfg; |
| 150 | } __packed; |
| 151 | |
Jeeja KP | 4e10996 | 2015-10-22 23:22:39 +0530 | [diff] [blame] | 152 | struct notification_mask { |
| 153 | u32 notify; |
| 154 | u32 enable; |
| 155 | } __packed; |
| 156 | |
Hardik T Shah | a0ffe48 | 2015-08-01 19:40:42 +0530 | [diff] [blame] | 157 | struct skl_up_down_mixer_cfg { |
| 158 | struct skl_base_cfg base_cfg; |
| 159 | enum skl_ch_cfg out_ch_cfg; |
| 160 | /* This should be set to 1 if user coefficients are required */ |
| 161 | u32 coeff_sel; |
| 162 | /* Pass the user coeff in this array */ |
| 163 | s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; |
| 164 | } __packed; |
| 165 | |
Jeeja KP | 399b210 | 2015-11-28 15:01:48 +0530 | [diff] [blame] | 166 | struct skl_algo_cfg { |
| 167 | struct skl_base_cfg base_cfg; |
| 168 | char params[0]; |
| 169 | } __packed; |
| 170 | |
Dharageswari R | fd18110 | 2015-12-03 23:29:52 +0530 | [diff] [blame] | 171 | struct skl_base_outfmt_cfg { |
| 172 | struct skl_base_cfg base_cfg; |
| 173 | struct skl_audio_data_format out_fmt; |
| 174 | } __packed; |
| 175 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 176 | enum skl_dma_type { |
| 177 | SKL_DMA_HDA_HOST_OUTPUT_CLASS = 0, |
| 178 | SKL_DMA_HDA_HOST_INPUT_CLASS = 1, |
| 179 | SKL_DMA_HDA_HOST_INOUT_CLASS = 2, |
| 180 | SKL_DMA_HDA_LINK_OUTPUT_CLASS = 8, |
| 181 | SKL_DMA_HDA_LINK_INPUT_CLASS = 9, |
| 182 | SKL_DMA_HDA_LINK_INOUT_CLASS = 0xA, |
| 183 | SKL_DMA_DMIC_LINK_INPUT_CLASS = 0xB, |
| 184 | SKL_DMA_I2S_LINK_OUTPUT_CLASS = 0xC, |
| 185 | SKL_DMA_I2S_LINK_INPUT_CLASS = 0xD, |
| 186 | }; |
| 187 | |
| 188 | union skl_ssp_dma_node { |
| 189 | u8 val; |
| 190 | struct { |
Jeeja KP | d7b1881 | 2015-10-22 23:22:38 +0530 | [diff] [blame] | 191 | u8 time_slot_index:4; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 192 | u8 i2s_instance:4; |
| 193 | } dma_node; |
| 194 | }; |
| 195 | |
| 196 | union skl_connector_node_id { |
| 197 | u32 val; |
| 198 | struct { |
| 199 | u32 vindex:8; |
| 200 | u32 dma_type:4; |
| 201 | u32 rsvd:20; |
| 202 | } node; |
| 203 | }; |
| 204 | |
| 205 | struct skl_module_fmt { |
| 206 | u32 channels; |
| 207 | u32 s_freq; |
| 208 | u32 bit_depth; |
| 209 | u32 valid_bit_depth; |
| 210 | u32 ch_cfg; |
Hardik T Shah | 4cd9899 | 2015-10-27 09:22:55 +0900 | [diff] [blame] | 211 | u32 interleaving_style; |
| 212 | u32 sample_type; |
| 213 | u32 ch_map; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 214 | }; |
| 215 | |
Jeeja KP | 4f74570 | 2015-10-27 09:22:49 +0900 | [diff] [blame] | 216 | struct skl_module_cfg; |
| 217 | |
Dharageswari R | 5e8f0ee | 2016-09-22 14:00:40 +0530 | [diff] [blame] | 218 | struct skl_mod_inst_map { |
| 219 | u16 mod_id; |
| 220 | u16 inst_id; |
| 221 | }; |
| 222 | |
| 223 | struct skl_kpb_params { |
| 224 | u32 num_modules; |
| 225 | struct skl_mod_inst_map map[0]; |
| 226 | }; |
| 227 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 228 | struct skl_module_inst_id { |
Vinod Koul | b7c5055 | 2016-07-26 18:06:40 +0530 | [diff] [blame] | 229 | int module_id; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 230 | u32 instance_id; |
Dharageswari R | 700a9a6 | 2016-09-22 14:00:37 +0530 | [diff] [blame] | 231 | int pvt_id; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 232 | }; |
| 233 | |
Jeeja KP | 4f74570 | 2015-10-27 09:22:49 +0900 | [diff] [blame] | 234 | enum skl_module_pin_state { |
| 235 | SKL_PIN_UNBIND = 0, |
| 236 | SKL_PIN_BIND_DONE = 1, |
| 237 | }; |
| 238 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 239 | struct skl_module_pin { |
| 240 | struct skl_module_inst_id id; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 241 | bool is_dynamic; |
| 242 | bool in_use; |
Jeeja KP | 4f74570 | 2015-10-27 09:22:49 +0900 | [diff] [blame] | 243 | enum skl_module_pin_state pin_state; |
| 244 | struct skl_module_cfg *tgt_mcfg; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 245 | }; |
| 246 | |
| 247 | struct skl_specific_cfg { |
Jeeja KP | 4ced182 | 2015-12-03 23:29:53 +0530 | [diff] [blame] | 248 | u32 set_params; |
Jeeja KP | abb7400 | 2015-11-28 15:01:49 +0530 | [diff] [blame] | 249 | u32 param_id; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 250 | u32 caps_size; |
| 251 | u32 *caps; |
| 252 | }; |
| 253 | |
| 254 | enum skl_pipe_state { |
| 255 | SKL_PIPE_INVALID = 0, |
| 256 | SKL_PIPE_CREATED = 1, |
| 257 | SKL_PIPE_PAUSED = 2, |
Jeeja KP | 2004432 | 2016-06-03 18:29:34 +0530 | [diff] [blame] | 258 | SKL_PIPE_STARTED = 3, |
| 259 | SKL_PIPE_RESET = 4 |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 260 | }; |
| 261 | |
| 262 | struct skl_pipe_module { |
| 263 | struct snd_soc_dapm_widget *w; |
| 264 | struct list_head node; |
| 265 | }; |
| 266 | |
| 267 | struct skl_pipe_params { |
| 268 | u8 host_dma_id; |
| 269 | u8 link_dma_id; |
| 270 | u32 ch; |
| 271 | u32 s_freq; |
| 272 | u32 s_fmt; |
| 273 | u8 linktype; |
| 274 | int stream; |
| 275 | }; |
| 276 | |
| 277 | struct skl_pipe { |
| 278 | u8 ppl_id; |
| 279 | u8 pipe_priority; |
| 280 | u16 conn_type; |
| 281 | u32 memory_pages; |
Vinod Koul | 8a0cb23 | 2016-11-03 17:07:18 +0530 | [diff] [blame] | 282 | u8 lp_mode; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 283 | struct skl_pipe_params *p_params; |
| 284 | enum skl_pipe_state state; |
| 285 | struct list_head w_list; |
Jeeja KP | f0aa94f | 2016-06-03 18:29:41 +0530 | [diff] [blame] | 286 | bool passthru; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 287 | }; |
| 288 | |
| 289 | enum skl_module_state { |
| 290 | SKL_MODULE_UNINIT = 0, |
Jeeja KP | d643678 | 2016-03-28 22:11:30 +0530 | [diff] [blame] | 291 | SKL_MODULE_LOADED = 1, |
| 292 | SKL_MODULE_INIT_DONE = 2, |
| 293 | SKL_MODULE_BIND_DONE = 3, |
| 294 | SKL_MODULE_UNLOADED = 4, |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 295 | }; |
| 296 | |
Vinod Koul | 6bd9dcf | 2016-11-03 17:07:19 +0530 | [diff] [blame^] | 297 | enum d0i3_capability { |
| 298 | SKL_D0I3_NONE = 0, |
| 299 | SKL_D0I3_STREAMING = 1, |
| 300 | SKL_D0I3_NON_STREAMING = 2, |
| 301 | }; |
| 302 | |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 303 | struct skl_module_cfg { |
Shreyas NC | 09305da | 2016-04-21 11:45:22 +0530 | [diff] [blame] | 304 | u8 guid[16]; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 305 | struct skl_module_inst_id id; |
Hardik T Shah | 04afbbb | 2015-10-27 09:22:56 +0900 | [diff] [blame] | 306 | u8 domain; |
Hardik T Shah | 4cd9899 | 2015-10-27 09:22:55 +0900 | [diff] [blame] | 307 | bool homogenous_inputs; |
| 308 | bool homogenous_outputs; |
| 309 | struct skl_module_fmt in_fmt[MODULE_MAX_IN_PINS]; |
| 310 | struct skl_module_fmt out_fmt[MODULE_MAX_OUT_PINS]; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 311 | u8 max_in_queue; |
| 312 | u8 max_out_queue; |
| 313 | u8 in_queue_mask; |
| 314 | u8 out_queue_mask; |
| 315 | u8 in_queue; |
| 316 | u8 out_queue; |
| 317 | u32 mcps; |
| 318 | u32 ibs; |
| 319 | u32 obs; |
| 320 | u8 is_loadable; |
| 321 | u8 core_id; |
| 322 | u8 dev_type; |
| 323 | u8 dma_id; |
| 324 | u8 time_slot; |
| 325 | u32 params_fixup; |
| 326 | u32 converter; |
| 327 | u32 vbus_id; |
Jeeja KP | b18c458 | 2015-12-03 23:29:51 +0530 | [diff] [blame] | 328 | u32 mem_pages; |
Vinod Koul | 6bd9dcf | 2016-11-03 17:07:19 +0530 | [diff] [blame^] | 329 | enum d0i3_capability d0i3_caps; |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 330 | struct skl_module_pin *m_in_pin; |
| 331 | struct skl_module_pin *m_out_pin; |
| 332 | enum skl_module_type m_type; |
| 333 | enum skl_hw_conn_type hw_conn_type; |
| 334 | enum skl_module_state m_state; |
| 335 | struct skl_pipe *pipe; |
| 336 | struct skl_specific_cfg formats_config; |
| 337 | }; |
Hardik T Shah | a0ffe48 | 2015-08-01 19:40:42 +0530 | [diff] [blame] | 338 | |
Jeeja KP | abb7400 | 2015-11-28 15:01:49 +0530 | [diff] [blame] | 339 | struct skl_algo_data { |
| 340 | u32 param_id; |
Jeeja KP | 4ced182 | 2015-12-03 23:29:53 +0530 | [diff] [blame] | 341 | u32 set_params; |
Jeeja KP | abb7400 | 2015-11-28 15:01:49 +0530 | [diff] [blame] | 342 | u32 max; |
Dharageswari R | 0d68210 | 2016-07-08 18:15:03 +0530 | [diff] [blame] | 343 | u32 size; |
Jeeja KP | abb7400 | 2015-11-28 15:01:49 +0530 | [diff] [blame] | 344 | char *params; |
| 345 | }; |
| 346 | |
Jeeja KP | e4e2d2f | 2015-10-07 11:31:52 +0100 | [diff] [blame] | 347 | struct skl_pipeline { |
| 348 | struct skl_pipe *pipe; |
| 349 | struct list_head node; |
| 350 | }; |
| 351 | |
Vinod Koul | d93f8e5 | 2015-10-07 11:31:54 +0100 | [diff] [blame] | 352 | static inline struct skl *get_skl_ctx(struct device *dev) |
| 353 | { |
| 354 | struct hdac_ext_bus *ebus = dev_get_drvdata(dev); |
| 355 | |
| 356 | return ebus_to_skl(ebus); |
| 357 | } |
| 358 | |
Vinod Koul | cfb0a87 | 2015-10-07 11:31:55 +0100 | [diff] [blame] | 359 | int skl_tplg_be_update_params(struct snd_soc_dai *dai, |
| 360 | struct skl_pipe_params *params); |
Dharageswari.R | c115fa5 | 2016-02-05 12:19:07 +0530 | [diff] [blame] | 361 | int skl_dsp_set_dma_control(struct skl_sst *ctx, |
| 362 | struct skl_module_cfg *mconfig); |
Vinod Koul | cfb0a87 | 2015-10-07 11:31:55 +0100 | [diff] [blame] | 363 | void skl_tplg_set_be_dmic_config(struct snd_soc_dai *dai, |
| 364 | struct skl_pipe_params *params, int stream); |
| 365 | int skl_tplg_init(struct snd_soc_platform *platform, |
| 366 | struct hdac_ext_bus *ebus); |
| 367 | struct skl_module_cfg *skl_tplg_fe_get_cpr_module( |
| 368 | struct snd_soc_dai *dai, int stream); |
| 369 | int skl_tplg_update_pipe_params(struct device *dev, |
| 370 | struct skl_module_cfg *mconfig, struct skl_pipe_params *params); |
| 371 | |
Jeeja KP | c9b1e83 | 2015-08-01 19:40:44 +0530 | [diff] [blame] | 372 | int skl_create_pipeline(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 373 | |
| 374 | int skl_run_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 375 | |
| 376 | int skl_pause_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 377 | |
| 378 | int skl_delete_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 379 | |
| 380 | int skl_stop_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 381 | |
Jeeja KP | 2004432 | 2016-06-03 18:29:34 +0530 | [diff] [blame] | 382 | int skl_reset_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |
| 383 | |
Jeeja KP | 9939a9c | 2015-11-28 15:01:47 +0530 | [diff] [blame] | 384 | int skl_init_module(struct skl_sst *ctx, struct skl_module_cfg *module_config); |
Jeeja KP | beb73b2 | 2015-08-01 19:40:43 +0530 | [diff] [blame] | 385 | |
| 386 | int skl_bind_modules(struct skl_sst *ctx, struct skl_module_cfg |
| 387 | *src_module, struct skl_module_cfg *dst_module); |
| 388 | |
| 389 | int skl_unbind_modules(struct skl_sst *ctx, struct skl_module_cfg |
| 390 | *src_module, struct skl_module_cfg *dst_module); |
| 391 | |
Jeeja KP | 9939a9c | 2015-11-28 15:01:47 +0530 | [diff] [blame] | 392 | int skl_set_module_params(struct skl_sst *ctx, u32 *params, int size, |
| 393 | u32 param_id, struct skl_module_cfg *mcfg); |
Omair M Abdullah | 7d9f291 | 2015-12-03 23:29:56 +0530 | [diff] [blame] | 394 | int skl_get_module_params(struct skl_sst *ctx, u32 *params, int size, |
| 395 | u32 param_id, struct skl_module_cfg *mcfg); |
Jeeja KP | 9939a9c | 2015-11-28 15:01:47 +0530 | [diff] [blame] | 396 | |
Dharageswari.R | 718a42b | 2016-02-05 12:19:06 +0530 | [diff] [blame] | 397 | struct skl_module_cfg *skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai, |
| 398 | int stream); |
Jeeja KP | 23db472 | 2015-08-01 19:40:41 +0530 | [diff] [blame] | 399 | enum skl_bitdepth skl_get_bit_depth(int params); |
| 400 | #endif |