Lines Matching refs:dsp_context
376 ctx = iodev->dsp_context; in apply_dsp()
393 if (iodev->dsp_context) { in cras_iodev_free_dsp()
394 cras_dsp_context_free(iodev->dsp_context); in cras_iodev_free_dsp()
395 iodev->dsp_context = NULL; in cras_iodev_free_dsp()
403 struct cras_dsp_context *ctx = iodev->dsp_context; in adjust_dev_channel_for_dsp()
479 if (iodev->dsp_context) in cras_iodev_set_format()
524 pipeline = iodev->dsp_context ? in add_ext_dsp_module_to_pipeline()
525 cras_dsp_get_pipeline(iodev->dsp_context) : in add_ext_dsp_module_to_pipeline()
530 cras_dsp_load_mock_pipeline(iodev->dsp_context, in add_ext_dsp_module_to_pipeline()
532 pipeline = cras_dsp_get_pipeline(iodev->dsp_context); in add_ext_dsp_module_to_pipeline()
546 cras_dsp_put_pipeline(iodev->dsp_context); in add_ext_dsp_module_to_pipeline()
556 if (iodev->dsp_context == NULL) in release_ext_dsp_module_from_pipeline()
559 pipeline = cras_dsp_get_pipeline(iodev->dsp_context); in release_ext_dsp_module_from_pipeline()
567 cras_dsp_put_pipeline(iodev->dsp_context); in release_ext_dsp_module_from_pipeline()
588 if (!iodev->dsp_context) in cras_iodev_update_dsp()
591 cras_dsp_set_variable_string(iodev->dsp_context, "dsp_name", in cras_iodev_update_dsp()
597 cras_dsp_set_variable_boolean(iodev->dsp_context, "swap_lr_disabled", in cras_iodev_update_dsp()
600 cras_dsp_load_pipeline(iodev->dsp_context); in cras_iodev_update_dsp()
663 iodev->dsp_context = in cras_iodev_alloc_dsp()
1280 ctx = iodev->dsp_context; in cras_iodev_get_dsp_delay()