/* SPDX-License-Identifier: GPL-2.0 */ // // ALSA SoC Texas Instruments TAS2781 Audio Smart Amplifier // // Copyright (C) 2022 - 2024 Texas Instruments Incorporated // https://www.ti.com // // The TAS2781 driver implements a flexible and configurable // algo coefficient setting for one, two, or even multiple // TAS2781 chips. // // Author: Shenghao Ding <[email protected]> // #ifndef __TAS2781_TLV_H__ #define __TAS2781_TLV_H__ static const __maybe_unused DECLARE_TLV_DB_SCALE(dvc_tlv, -10000, 100, 0); static const __maybe_unused DECLARE_TLV_DB_SCALE(amp_vol_tlv, 1100, 50, 0); static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2563_dvc_tlv, -12150, 50, 1); /* pow(10, db/20) * pow(2,30) */ static const __maybe_unused unsigned char tas2563_dvc_table[][4] = …; #endif