acpi: Add IORT helper functions
[coreboot2.git] / src / drivers / i2c / pi608gp / pi608gp.h
blob9a5f5df7e88d83f087e8da940cc799c7c1443859
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _I2C_PI608GP_H_
4 #define _I2C_PI608GP_H_
6 #include <stdint.h>
8 /* Struct to store fixed-point millivolt values */
9 struct deemph_lvl { uint32_t lvl, lvl_10; };
11 #define AMP_LVL_MV(_LVL) (_LVL)
12 #define DEEMPH_LVL_MV(_LVL, _LVL_10) { .lvl = _LVL, .lvl_10 = _LVL_10 }
14 #endif