Lines Matching refs:eq_ctxt

194     equalizer_context_t *eq_ctxt = (equalizer_context_t *)context;  in equalizer_get_parameter()  local
276 *(int16_t *)value = (int16_t)equalizer_get_band_level(eq_ctxt, param2); in equalizer_get_parameter()
290 *(int32_t *)value = equalizer_get_center_frequency(eq_ctxt, param2); in equalizer_get_parameter()
304 equalizer_get_band_freq_range(eq_ctxt, param2, (uint32_t *)value, in equalizer_get_parameter()
311 *(uint16_t *)value = (uint16_t)equalizer_get_band(eq_ctxt, param2); in equalizer_get_parameter()
316 *(uint16_t *)value = (uint16_t)equalizer_get_preset(eq_ctxt); in equalizer_get_parameter()
321 *(uint16_t *)value = (uint16_t)equalizer_get_num_presets(eq_ctxt); in equalizer_get_parameter()
329 param2 >= equalizer_get_num_presets(eq_ctxt)) { in equalizer_get_parameter()
345 strlcpy(name, equalizer_get_preset_name(eq_ctxt, param2), p->vsize - 1); in equalizer_get_parameter()
353 prop[0] = (int16_t)equalizer_get_preset(eq_ctxt); in equalizer_get_parameter()
356 prop[2 + i] = (int16_t)equalizer_get_band_level(eq_ctxt, i); in equalizer_get_parameter()
371 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_set_parameter() local
395 if ((preset >= equalizer_get_num_presets(eq_ctxt)) || (preset < 0)) { in equalizer_set_parameter()
399 equalizer_set_preset(eq_ctxt, preset); in equalizer_set_parameter()
417 equalizer_set_band_level(eq_ctxt, band, level); in equalizer_set_parameter()
426 if ((int)prop[0] >= equalizer_get_num_presets(eq_ctxt)) { in equalizer_set_parameter()
431 equalizer_set_preset(eq_ctxt, (int)prop[0]); in equalizer_set_parameter()
445 equalizer_set_band_level(eq_ctxt, i, (int)prop[2 + i]); in equalizer_set_parameter()
460 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_set_device() local
461 eq_ctxt->device = device; in equalizer_set_device()
462 offload_eq_set_device(&(eq_ctxt->offload_eq), device); in equalizer_set_device()
468 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_reset() local
476 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_init() local
497 memset(&(eq_ctxt->offload_eq), 0, sizeof(struct eq_params)); in equalizer_init()
498 offload_eq_set_preset(&(eq_ctxt->offload_eq), INVALID_PRESET); in equalizer_init()
505 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_enable() local
509 if (!offload_eq_get_enable_flag(&(eq_ctxt->offload_eq))) { in equalizer_enable()
510 offload_eq_set_enable_flag(&(eq_ctxt->offload_eq), true); in equalizer_enable()
511 if (eq_ctxt->ctl) in equalizer_enable()
512 offload_eq_send_params(eq_ctxt->ctl, &eq_ctxt->offload_eq, in equalizer_enable()
521 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_disable() local
524 if (offload_eq_get_enable_flag(&(eq_ctxt->offload_eq))) { in equalizer_disable()
525 offload_eq_set_enable_flag(&(eq_ctxt->offload_eq), false); in equalizer_disable()
526 if (eq_ctxt->ctl) in equalizer_disable()
527 offload_eq_send_params(eq_ctxt->ctl, &eq_ctxt->offload_eq, in equalizer_disable()
535 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_start() local
538 eq_ctxt->ctl = output->ctl; in equalizer_start()
539 if (offload_eq_get_enable_flag(&(eq_ctxt->offload_eq))) in equalizer_start()
540 if (eq_ctxt->ctl) in equalizer_start()
541 offload_eq_send_params(eq_ctxt->ctl, &eq_ctxt->offload_eq, in equalizer_start()
549 equalizer_context_t *eq_ctxt = (equalizer_context_t *)context; in equalizer_stop() local
552 eq_ctxt->ctl = NULL; in equalizer_stop()