1 /* SPDX-License-Identifier: BSD-3-Clause 2 * 3 * Copyright(c) 2021 Intelligo Technology Inc. All rights reserved. 4 * 5 * Author: Fu-Yun TSUO <fy.tsuo@intelli-go.com> 6 */ 7 8 #ifndef __USER_IGO_NR_H__ 9 #define __USER_IGO_NR_H__ 10 11 #include <stdint.h> 12 13 struct IGO_PARAMS { 14 uint32_t igo_params_ver; 15 uint32_t dump_data; 16 uint32_t nr_bypass; 17 uint32_t nr_mode1_en; 18 uint32_t nr_mode3_en; 19 uint32_t nr_ul_enable; 20 uint32_t agc_gain; 21 uint32_t nr_voice_str; 22 uint32_t nr_level; 23 uint32_t nr_mode1_floor; 24 uint32_t nr_mode1_od; 25 uint32_t nr_mode1_pp_param7; 26 uint32_t nr_mode1_pp_param8; 27 uint32_t nr_mode1_pp_param10; 28 uint32_t nr_mode3_floor; 29 uint32_t nr_mode1_pp_param53; 30 } __attribute__((packed)); 31 32 struct sof_igo_nr_config { 33 /* reserved */ 34 struct IGO_PARAMS igo_params; 35 uint32_t active_channel_idx; 36 int16_t data[]; 37 } __attribute__((packed)); 38 39 #endif /* __USER_IGO_NR_H__ */ 40