Lines Matching +full:15 +full:ms
16 #define DMIC_UNMUTE_RAMP_US 1000 /* 1 ms (in microseconds) */
17 #define DMIC_UNMUTE_CIC 1 /* Unmute CIC at 1 ms */
18 #define DMIC_UNMUTE_FIR 2 /* Unmute FIR at 2 ms */
65 /* Hardcoded log ramp parameters. The default ramp is 100 ms for 48 kHz
66 * and 200 ms for 16 kHz. The first parameter is the initial gain in
70 * E.g. 100 ms @ 48 kHz, 200 ms @ 16 kHz
73 * coef = round(dy/dx * 2^15)
74 * offs = round(y16 - coef/2^15 * 16000)
80 #define LOGRAMP_TIME_OFFS_Q0 250 /* offs = Offset for line slope in ms */
83 #define LOGRAMP_TIME_MIN_MS 10 /* Min. 10 ms */
207 time_ms = Q_MULTSR_32X32((int32_t)rate, LOGRAMP_TIME_COEF_Q15, 0, 15, 0) + in dmic_get_unmute_ramp_from_samplerate()