1234567891011121314151617181920212223 |
- /* SPDX-License-Identifier: GPL-2.0-only */
- /* Copyright (c) 2020, The Linux Foundation. All rights reserved.
- */
- #ifndef LPASS_CDC_COMP_H
- #define LPASS_CDC_COMP_H
- #include <sound/soc.h>
- #define COMP_MAX_SETTING 12
- struct comp_coeff_val {
- u8 lsb;
- u8 msb;
- };
- int lpass_cdc_load_compander_coeff(struct snd_soc_component *component,
- u16 lsb_reg, u16 msb_reg,
- struct comp_coeff_val *comp_coeff_table,
- u16 arr_size);
- int lpass_cdc_update_compander_setting(struct snd_soc_component *component,
- u16 start_addr, u8 *reg_val);
- #endif
|