/hardware/qcom/audio/hal/ |
D | voice.h | 38 struct audio_device; 73 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 74 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 76 int voice_start_call(struct audio_device *adev); 77 int voice_stop_call(struct audio_device *adev); 78 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms); 79 void voice_get_parameters(struct audio_device *adev, struct str_parms *query, 81 void voice_init(struct audio_device *adev); 82 bool voice_is_in_call(struct audio_device *adev); 84 int voice_set_mic_mute(struct audio_device *dev, bool state); [all …]
|
D | voice.c | 42 static struct voice_session *voice_get_session_from_use_case(struct audio_device *adev, in voice_get_session_from_use_case() 85 void voice_set_sidetone(struct audio_device *adev, in voice_set_sidetone() 101 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase() 155 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase() 238 bool voice_is_call_state_active(struct audio_device *adev) in voice_is_call_state_active() 251 bool voice_is_in_call(struct audio_device *adev) in voice_is_in_call() 269 uint32_t voice_get_active_session_id(struct audio_device *adev) in voice_get_active_session_id() 281 int voice_check_and_set_incall_rec_usecase(struct audio_device *adev, in voice_check_and_set_incall_rec_usecase() 320 int voice_check_and_stop_incall_rec_usecase(struct audio_device *adev, in voice_check_and_stop_incall_rec_usecase() 335 int voice_check_and_set_incall_music_usecase(struct audio_device *adev, in voice_check_and_set_incall_music_usecase() [all …]
|
D | platform_api.h | 40 void *platform_init(struct audio_device *adev); 69 void platform_set_speaker_gain_in_combo(struct audio_device *adev, 115 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device… 116 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels); 117 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels); 127 bool platform_check_and_set_playback_backend_cfg(struct audio_device* adev, 130 bool platform_check_and_set_capture_backend_cfg(struct audio_device* adev, 146 int platform_set_sidetone(struct audio_device *adev,
|
D | audio_hw.h | 217 struct audio_device *dev; 249 struct audio_device *dev; 302 struct audio_device { struct 363 int select_devices(struct audio_device *adev, argument 366 int disable_audio_route(struct audio_device *adev, 369 int disable_snd_device(struct audio_device *adev, 372 int enable_snd_device(struct audio_device *adev, 375 int enable_audio_route(struct audio_device *adev, 378 struct audio_usecase *get_usecase_from_list(struct audio_device *adev,
|
D | audio_hw.c | 316 static int set_voice_volume_l(struct audio_device *adev, float volume); 317 static struct audio_device *adev = NULL; 323 static bool may_use_noirq_mode(struct audio_device *adev, audio_usecase_t uc_id, in may_use_noirq_mode() 346 struct audio_device *adev = out->dev; in register_out_stream() 369 struct audio_device *adev = in->dev; in register_in_stream() 390 struct audio_device *adev = out->dev; in request_out_focus() 401 struct audio_device *adev = in->dev; in request_in_focus() 412 struct audio_device *adev = out->dev; in release_out_focus() 420 struct audio_device *adev = in->dev; in release_in_focus() 533 static int audio_ssr_status(struct audio_device *adev) in audio_ssr_status() [all …]
|
/hardware/qcom/audio/hal/voice_extn/ |
D | voice_extn.h | 21 int voice_extn_start_call(struct audio_device *adev); 22 int voice_extn_stop_call(struct audio_device *adev); 23 int voice_extn_get_session_from_use_case(struct audio_device *adev, 26 void voice_extn_init(struct audio_device *adev); 27 int voice_extn_set_parameters(struct audio_device *adev, 29 void voice_extn_get_parameters(const struct audio_device *adev, 33 int voice_extn_get_active_session_id(struct audio_device *adev, 35 int voice_extn_is_call_state_active(struct audio_device *adev, 38 static int voice_extn_start_call(struct audio_device *adev __unused) in voice_extn_start_call() 43 static int voice_extn_stop_call(struct audio_device *adev __unused) in voice_extn_stop_call() [all …]
|
D | voice_extn.c | 75 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active); 139 static uint32_t get_session_id_with_state(struct audio_device *adev, in get_session_id_with_state() 157 static int update_calls(struct audio_device *adev) in update_calls() 290 static int update_call_states(struct audio_device *adev, in update_call_states() 329 int voice_extn_get_active_session_id(struct audio_device *adev, in voice_extn_get_active_session_id() 336 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active) in voice_extn_is_call_state_active() 366 void voice_extn_init(struct audio_device *adev) in voice_extn_init() 377 int voice_extn_get_session_from_use_case(struct audio_device *adev, in voice_extn_get_session_from_use_case() 421 int voice_extn_start_call(struct audio_device *adev) in voice_extn_start_call() 430 int voice_extn_stop_call(struct audio_device *adev) in voice_extn_stop_call() [all …]
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.h | 30 void *audio_extn_extspk_init(struct audio_device *adev); 63 bool audio_extn_hfp_is_active(struct audio_device *adev); 67 void audio_extn_hfp_set_parameters(struct audio_device *adev, 69 int audio_extn_hfp_set_mic_mute(struct audio_device *adev, bool state); 125 int audio_extn_sound_trigger_init(struct audio_device *adev); 126 void audio_extn_sound_trigger_deinit(struct audio_device *adev); 129 void audio_extn_sound_trigger_set_parameters(struct audio_device *adev, 140 void audio_extn_dsm_feedback_enable(struct audio_device *adev, 146 int audio_extn_utils_send_app_type_cfg(struct audio_device *adev, 148 void audio_extn_utils_send_audio_calibration(struct audio_device *adev, [all …]
|
D | hfp.c | 43 static int32_t start_hfp(struct audio_device *adev, 46 static int32_t stop_hfp(struct audio_device *adev); 84 static int32_t hfp_set_volume(struct audio_device *adev, float value) in hfp_set_volume() 139 static int hfp_set_mic_volume(struct audio_device *adev, float value) in hfp_set_mic_volume() 180 static float hfp_get_mic_volume(struct audio_device *adev) in hfp_get_mic_volume() 226 int audio_extn_hfp_set_mic_mute(struct audio_device *adev, bool state) in audio_extn_hfp_set_mic_mute() 243 static int32_t start_hfp(struct audio_device *adev, in start_hfp() 357 static int32_t stop_hfp(struct audio_device *adev) in stop_hfp() 414 bool audio_extn_hfp_is_active(struct audio_device *adev) in audio_extn_hfp_is_active() 430 void audio_extn_hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) in audio_extn_hfp_set_parameters()
|
D | dsm_feedback.c | 42 int start_dsm_feedback_processing(struct audio_device *adev, int enable) in start_dsm_feedback_processing() 89 void audio_extn_dsm_feedback_enable(struct audio_device *adev, in audio_extn_dsm_feedback_enable()
|
D | utils.c | 38 static int set_stream_app_type_mixer_ctrl(struct audio_device *adev, in set_stream_app_type_mixer_ctrl() 119 static int audio_extn_utils_send_app_type_cfg_hfp(struct audio_device *adev, in audio_extn_utils_send_app_type_cfg_hfp() 213 static int derive_capture_app_type_cfg(struct audio_device *adev, in derive_capture_app_type_cfg() 266 static int derive_playback_app_type_cfg(struct audio_device *adev, in derive_playback_app_type_cfg() 329 static int derive_acdb_dev_id(struct audio_device *adev __unused, in derive_acdb_dev_id() 343 int audio_extn_utils_send_app_type_cfg(struct audio_device *adev, in audio_extn_utils_send_app_type_cfg() 399 int audio_extn_utils_send_app_type_gain(struct audio_device *adev, in audio_extn_utils_send_app_type_gain() 423 void audio_extn_utils_send_audio_calibration(struct audio_device *adev, in audio_extn_utils_send_audio_calibration()
|
D | tfa_98xx.c | 64 struct audio_device *adev; 133 static int adev_i2s_clock_operation(int enable, struct audio_device *adev, char *paths) in adev_i2s_clock_operation() 154 static int tfa_98xx_set_audio_mode(int enable, struct audio_device *adev, exTfa98xx_audio_mode_t au… in tfa_98xx_set_audio_mode() 230 static int tfa_98xx_set_func_mode(int enable, struct audio_device *adev, exTfa98xx_func_mode_t func… in tfa_98xx_set_func_mode() 498 int audio_extn_tfa_98xx_init(struct audio_device *adev) in audio_extn_tfa_98xx_init()
|
D | ext_speaker.c | 37 struct audio_device *adev; 101 void *audio_extn_extspk_init(struct audio_device *adev) in audio_extn_extspk_init()
|
D | soundtrigger.c | 50 struct audio_device *adev; 259 void audio_extn_sound_trigger_set_parameters(struct audio_device *adev __unused, in audio_extn_sound_trigger_set_parameters() 307 int audio_extn_sound_trigger_init(struct audio_device *adev) in audio_extn_sound_trigger_init() 360 void audio_extn_sound_trigger_deinit(struct audio_device *adev) in audio_extn_sound_trigger_deinit()
|
D | tfa_98xx.h | 27 int audio_extn_tfa_98xx_init(struct audio_device *adev);
|
D | spkr_protection.c | 273 static int vi_feed_get_channels(struct audio_device *adev) in vi_feed_get_channels() 298 struct audio_device *adev = handle.adev_handle; in spkr_calibrate() 530 struct audio_device *adev = handle.adev_handle; in spkr_calibration_thread() 805 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_start_processing() 877 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_stop_processing()
|
D | usb.c | 85 struct audio_device *adev; 1126 usbmod->adev = (struct audio_device*)adev; in audio_extn_usb_init()
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 52 struct audio_device { struct 86 struct audio_device *adev; /* hardware information - only using this for the lock */ argument 117 struct audio_device *adev; /* hardware information - only using this for the lock */ 167 static void device_lock(struct audio_device *adev) { in device_lock() 171 static int device_try_lock(struct audio_device *adev) { in device_try_lock() 175 static void device_unlock(struct audio_device *adev) { in device_unlock() 183 struct audio_device* adev, struct listnode* list, struct listnode* stream_node) { in adev_add_stream_to_list() 192 struct audio_device* adev, struct listnode* stream_node) { in adev_remove_stream_from_list() 566 out->adev = (struct audio_device *)hw_dev; in adev_open_output_stream() 970 in->adev = (struct audio_device *)hw_dev; in adev_open_input_stream() [all …]
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 80 struct audio_device *adev; 267 void *platform_init(struct audio_device *adev) in platform_init() 571 void platform_set_speaker_gain_in_combo(struct audio_device *adev __unused, in platform_set_speaker_gain_in_combo() 629 struct audio_device *adev = my_data->adev; in platform_get_output_snd_device() 723 struct audio_device *adev = my_data->adev; in platform_get_input_snd_device() 893 struct audio_device *adev = my_data->adev; in platform_set_hdmi_channels() 1052 void platform_set_echo_reference(struct audio_device *adev __unused, in platform_set_echo_reference() 1060 int ramp_speaker_gain(struct audio_device *adev, bool ramp_up, int target_ramp_up_gain) { in ramp_speaker_gain() 1120 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() 1158 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() [all …]
|
/hardware/intel/audio_media/hdmi/ |
D | tinyaudio_hw.c | 114 struct audio_device { struct 142 struct audio_device *dev; argument 226 struct audio_device *adev = out->dev; in start_output_stream() 379 struct audio_device *adev = out->dev; in out_set_parameters() 473 struct audio_device *adev = out->dev; in out_read_edid() 496 struct audio_device *adev = out->dev; in out_get_parameters() 684 struct audio_device *adev = (struct audio_device *)dev; in adev_open_output_stream() 916 struct audio_device *adev; in adev_open() 923 adev = calloc(1, sizeof(struct audio_device)); in adev_open()
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 132 struct audio_device *adev; 627 void platform_set_echo_reference(struct audio_device *adev, bool enable, in platform_set_echo_reference() 685 void get_cvd_version(char *cvd_version, struct audio_device *adev) in get_cvd_version() 839 void *platform_init(struct audio_device *adev) in platform_init() 1110 bool platform_check_and_set_playback_backend_cfg(struct audio_device* adev __unused, in platform_check_and_set_playback_backend_cfg() 1117 bool platform_check_and_set_capture_backend_cfg(struct audio_device* adev __unused, in platform_check_and_set_capture_backend_cfg() 1418 void platform_set_speaker_gain_in_combo(struct audio_device *adev __unused, in platform_set_speaker_gain_in_combo() 1428 struct audio_device *adev = my_data->adev; in platform_set_voice_volume() 1457 struct audio_device *adev = my_data->adev; in platform_set_mic_mute() 1487 struct audio_device *adev = my_data->adev; in platform_set_device_mute() [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 112 struct audio_device *adev; 618 static int init_be_dai_name_table(struct audio_device *adev); 734 struct audio_device *adev = my_data->adev; in platform_send_gain_dep_cal() 796 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device) in platform_set_echo_reference() 1107 void get_cvd_version(char *cvd_version, struct audio_device *adev) in get_cvd_version() 1137 struct audio_device *adev = my_data->adev; in platform_acdb_init() 1265 void *platform_init(struct audio_device *adev) in platform_init() 2067 void platform_set_speaker_gain_in_combo(struct audio_device *adev, in platform_set_speaker_gain_in_combo() 2107 struct audio_device *adev = my_data->adev; in platform_set_voice_volume() 2143 struct audio_device *adev = my_data->adev; in platform_set_mic_mute() [all …]
|