1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef _I2C_PI608GP_H_ 4 #define _I2C_PI608GP_H_ 5 6 #include <stdint.h> 7 8 /* Struct to store fixed-point millivolt values */ 9 struct deemph_lvl { uint32_t lvl, lvl_10; }; 10 11 #define AMP_LVL_MV(_LVL) (_LVL) 12 #define DEEMPH_LVL_MV(_LVL, _LVL_10) { .lvl = _LVL, .lvl_10 = _LVL_10 } 13 14 #endif 15