Home
last modified time | relevance | path

Searched refs:Q_CONVERT_FLOAT (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/
Ddmic.h37 #define DMIC_HW_SENS_Q28 Q_CONVERT_FLOAT(1.0, 28) /* Q1.28 */
78 #define LOGRAMP_START_DB Q_CONVERT_FLOAT(-90, DB2LIN_FIXED_INPUT_QY)
124 #define Q_CONVERT_FLOAT(f, qy) \ macro
127 #define TWO_Q27 Q_CONVERT_FLOAT(2.0, 27) /* Use Q5.27 */
128 #define MINUS_TWO_Q27 Q_CONVERT_FLOAT(-2.0, 27) /* Use Q5.27 */
129 #define ONE_Q20 Q_CONVERT_FLOAT(1.0, 20) /* Use Q12.20 */
130 #define ONE_Q23 Q_CONVERT_FLOAT(1.0, 23) /* Use Q9.23 */
131 #define LOG10_DIV20_Q27 Q_CONVERT_FLOAT(0.1151292546, 27) /* Use Q5.27 */
Ddmic.c79 if (x < Q_CONVERT_FLOAT(-11.5, 27)) in exp_fixed()
82 if (x > Q_CONVERT_FLOAT(7.6245, 27)) in exp_fixed()
107 if (db < Q_CONVERT_FLOAT(-100.0, 24)) in db2lin_fixed()