Lines Matching refs:NUM_EQ_BANDS
54 static const uint32_t equalizer_band_freq_range[NUM_EQ_BANDS][2] = {
73 const uint16_t equalizer_band_presets_freq[NUM_EQ_BANDS] = {
106 NUM_EQ_BANDS, in equalizer_set_band_level()
137 for (i = 0; i < NUM_EQ_BANDS; i++) { in equalizer_get_band()
142 return NUM_EQ_BANDS - 1; in equalizer_get_band()
157 for (i=0; i<NUM_EQ_BANDS; i++) in equalizer_set_preset()
159 equalizer_band_presets_level[i + preset * NUM_EQ_BANDS]; in equalizer_set_preset()
163 NUM_EQ_BANDS, in equalizer_set_preset()
239 if (p->vsize < (2 + NUM_EQ_BANDS) * sizeof(uint16_t)) in equalizer_get_parameter()
241 p->vsize = (2 + NUM_EQ_BANDS) * sizeof(uint16_t); in equalizer_get_parameter()
256 *(uint16_t *)value = (uint16_t)NUM_EQ_BANDS; in equalizer_get_parameter()
268 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
282 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
296 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
354 prop[1] = (int16_t)NUM_EQ_BANDS; in equalizer_get_parameter()
355 for (i = 0; i < NUM_EQ_BANDS; i++) { in equalizer_get_parameter()
409 if (band < 0 || band >= NUM_EQ_BANDS) { in equalizer_set_parameter()
433 if (vsize < (2 + NUM_EQ_BANDS) * sizeof(int16_t)) { in equalizer_set_parameter()
436 vsize, (unsigned int)((2 + NUM_EQ_BANDS) * sizeof(int16_t))); in equalizer_set_parameter()
440 if ((int)prop[1] != NUM_EQ_BANDS) { in equalizer_set_parameter()
444 for (i = 0; i < NUM_EQ_BANDS; i++) { in equalizer_set_parameter()