/aosp12/hardware/qcom/audio/hal/ |
H A D | voice.c | 86 void voice_set_sidetone(struct audio_device *adev, in voice_set_sidetone() 248 bool voice_is_call_state_active(struct audio_device *adev) in voice_is_call_state_active() 261 bool voice_is_in_call(struct audio_device *adev) in voice_is_in_call() 279 uint32_t voice_get_active_session_id(struct audio_device *adev) in voice_get_active_session_id() 363 int voice_set_mic_mute(struct audio_device *adev, bool state) in voice_set_mic_mute() 383 bool voice_get_mic_mute(struct audio_device *adev) in voice_get_mic_mute() 407 int voice_set_volume(struct audio_device *adev, float volume) in voice_set_volume() 432 int voice_start_call(struct audio_device *adev) in voice_start_call() 448 int voice_stop_call(struct audio_device *adev) in voice_stop_call() 461 void voice_get_parameters(struct audio_device *adev, in voice_get_parameters() [all …]
|
H A D | audio_hw.c | 357 static struct audio_device *adev = NULL; variable 394 struct audio_device *adev = out->dev; in register_out_stream() local 417 struct audio_device *adev = in->dev; in register_in_stream() local 438 struct audio_device *adev = out->dev; in request_out_focus() local 449 struct audio_device *adev = in->dev; in request_in_focus() local 460 struct audio_device *adev = out->dev; in release_out_focus() local 468 struct audio_device *adev = in->dev; in release_in_focus() local 1879 struct audio_device *adev = in->dev; in stop_input_stream() local 1921 struct audio_device *adev = in->dev; in start_input_stream() local 4203 struct audio_device *adev = in->dev; in in_standby() local [all …]
|
/aosp12/hardware/qcom/audio/hal/voice_extn/ |
H A D | voice_extn.c | 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() 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() 454 int voice_extn_set_parameters(struct audio_device *adev, in voice_extn_set_parameters() 524 static int get_all_call_states_str(const struct audio_device *adev, in get_all_call_states_str() [all …]
|
/aosp12/hardware/qcom/audio/hal/audio_extn/ |
H A D | audio_extn.h | 39 #define audio_extn_spkr_prot_init(adev) (0) argument 41 #define audio_extn_spkr_prot_calib_cancel(adev) (0) argument 45 #define audio_extn_spkr_prot_deinit(adev) (0) argument 58 #define audio_extn_hfp_is_active(adev) (0) argument 60 #define audio_extn_hfp_set_parameters(adev, params) (0) argument 61 #define audio_extn_hfp_set_mic_mute(adev, state) (0) argument 75 #define audio_extn_usb_init(adev) (0) argument 118 #define audio_extn_sound_trigger_init(adev) (0) argument 119 #define audio_extn_sound_trigger_deinit(adev) (0) argument 122 #define audio_extn_sound_trigger_set_parameters(adev, parms) (0) argument [all …]
|
H A D | hfp.c | 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()
|
H A 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()
|
H A 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() 211 static int derive_capture_app_type_cfg(struct audio_device *adev, in derive_capture_app_type_cfg() 264 static int derive_playback_app_type_cfg(struct audio_device *adev, in derive_playback_app_type_cfg() 345 int audio_extn_utils_send_app_type_cfg(struct audio_device *adev, in audio_extn_utils_send_app_type_cfg() 418 int audio_extn_utils_send_app_type_gain(struct audio_device *adev, in audio_extn_utils_send_app_type_gain() 442 void audio_extn_utils_send_audio_calibration(struct audio_device *adev, in audio_extn_utils_send_audio_calibration()
|
H A D | maxxaudio.h | 23 #define audio_extn_ma_set_state(adev, type, vol, active) (false) argument 25 #define audio_extn_ma_set_parameters(adev, param) (0) argument
|
H A D | cirrus_playback.c | 168 void audio_extn_spkr_prot_init(void *adev) { in audio_extn_spkr_prot_init() 207 struct audio_device *adev = handle.adev_handle; in audio_extn_cirrus_run_calibration() local 388 struct audio_device *adev = handle.adev_handle; in audio_extn_cirrus_load_usecase_configs() local 459 struct audio_device *adev = handle.adev_handle; in audio_extn_cirrus_calibration_thread() local 557 struct audio_device *adev = handle.adev_handle; in audio_extn_cirrus_config_thread() local 640 struct audio_device *adev = handle.adev_handle; in audio_extn_cirrus_failure_detect_thread() local 803 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_start_processing() local 891 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_stop_processing() local 939 void audio_extn_spkr_prot_calib_cancel(__unused void *adev) { in audio_extn_spkr_prot_calib_cancel()
|
H A D | spkr_protection.c | 138 void audio_extn_spkr_prot_calib_cancel(void *adev) in audio_extn_spkr_prot_calib_cancel() 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() local 544 struct audio_device *adev = handle.adev_handle; in spkr_calibration_thread() local 702 void audio_extn_spkr_prot_init(void *adev) in audio_extn_spkr_prot_init() 806 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_start_processing() local 892 struct audio_device *adev = handle.adev_handle; in audio_extn_spkr_prot_stop_processing() local
|
H A D | tfa_98xx.c | 64 struct audio_device *adev; member 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()
|
H A D | ext_speaker.c | 37 struct audio_device *adev; member 101 void *audio_extn_extspk_init(struct audio_device *adev) in audio_extn_extspk_init()
|
H A D | tfa_98xx.h | 37 #define audio_extn_tfa_98xx_init(adev) (0) argument
|
H A D | maxxaudio.c | 287 static bool check_and_send_all_audio_cal(struct audio_device *adev, ma_cmd_t cmd) in check_and_send_all_audio_cal() 392 static void ma_set_swap_l(struct audio_device *adev, bool enable) in ma_set_swap_l() 400 static void ma_set_rotation_l(struct audio_device *adev, int orientation) in ma_set_rotation_l() 645 bool audio_extn_ma_set_state(struct audio_device *adev, int stream_type, in audio_extn_ma_set_state() 739 void audio_extn_ma_set_parameters(struct audio_device *adev, in audio_extn_ma_set_parameters()
|
H A D | soundtrigger.c | 156 struct audio_device *adev; member 501 int audio_extn_sound_trigger_init(struct audio_device *adev) in audio_extn_sound_trigger_init() 566 void audio_extn_sound_trigger_deinit(struct audio_device *adev) in audio_extn_sound_trigger_deinit()
|
H A D | audiozoom.c | 190 struct audio_device *adev = in->dev; in audio_extn_audiozoom_set_microphone_field_dimension_zoom() local
|
H A D | usb.c | 92 struct audio_device *adev; member 1322 void audio_extn_usb_init(void *adev) in audio_extn_usb_init()
|
H A D | a2dp.c | 203 struct audio_device *adev; member 1714 void audio_extn_a2dp_init(void *adev) in audio_extn_a2dp_init()
|
/aosp12/hardware/qcom/audio/hal/msm8974/ |
H A D | platform.c | 149 struct audio_device *adev; member 1071 struct audio_device *adev = my_data->adev; in platform_send_gain_dep_cal() local 1538 struct audio_device *adev = my_data->adev; in platform_acdb_init() local 1711 void *platform_init(struct audio_device *adev) in platform_init() 2612 struct audio_device *adev = my_data->adev; in platform_set_mic_break_det() local 2682 struct audio_device *adev = my_data->adev; in platform_set_voice_volume() local 2737 struct audio_device *adev = my_data->adev; in platform_set_mic_mute() local 2775 struct audio_device *adev = my_data->adev; in platform_set_device_mute() local 2910 struct audio_device *adev = my_data->adev; in platform_get_output_snd_device() local 3114 struct audio_device *adev = my_data->adev; in get_snd_device_for_voice_comm() local [all …]
|
/aosp12/hardware/qcom/audio/hal/msm8916/ |
H A D | platform.c | 145 struct audio_device *adev; member 1037 void *platform_init(struct audio_device *adev) in platform_init() 1769 struct audio_device *adev = my_data->adev; local 1815 struct audio_device *adev = my_data->adev; local 1845 struct audio_device *adev = my_data->adev; local 1914 struct audio_device *adev = my_data->adev; local 2056 struct audio_device *adev = my_data->adev; local 2097 struct audio_device *adev = my_data->adev; local 2188 struct audio_device *adev = my_data->adev; local 2406 struct audio_device *adev = my_data->adev; local [all …]
|
/aosp12/hardware/libhardware/modules/usbaudio/ |
H A D | audio_hal.c | 254 static void device_lock(struct audio_device *adev) { in device_lock() 258 static int device_try_lock(struct audio_device *adev) { in device_try_lock() 262 static void device_unlock(struct audio_device *adev) { in device_unlock() 279 struct audio_device* adev, audio_io_handle_t handle) { in adev_get_stream_out_by_io_handle_l() 291 struct audio_device* adev, audio_io_handle_t handle) { in adev_get_stream_in_by_io_handle_l() 303 struct audio_device* adev, audio_patch_handle_t patch_handle) { in adev_get_stream_out_by_patch_handle_l() 315 struct audio_device* adev, audio_patch_handle_t patch_handle) { in adev_get_stream_in_by_patch_handle_l() 1519 struct audio_device * adev = (struct audio_device *)hw_dev; in adev_set_mic_mute() local 1561 struct audio_device* adev = (struct audio_device*) dev; in adev_create_audio_patch() local 1697 struct audio_device* adev = (struct audio_device*) dev; in adev_release_audio_patch() local [all …]
|
/aosp12/hardware/qcom/audio/hal/msm8960/ |
H A D | platform.c | 80 struct audio_device *adev; member 289 void *platform_init(struct audio_device *adev) in platform_init() 663 struct audio_device *adev = my_data->adev; in platform_get_output_snd_device() local 767 struct audio_device *adev = my_data->adev; in platform_get_input_snd_device() local 938 struct audio_device *adev = my_data->adev; in platform_set_hdmi_channels() local 1178 int ramp_speaker_gain(struct audio_device *adev, bool ramp_up, int target_ramp_up_gain) { in ramp_speaker_gain() 1238 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() 1276 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() 1288 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels) in platform_set_swap_channels() 1418 int platform_set_sidetone(struct audio_device *adev, in platform_set_sidetone()
|
/aosp12/system/bt/audio_bluetooth_hw/ |
H A D | audio_bluetooth_hw.cc | 116 struct audio_hw_device* adev = &bluetooth_audio_device->audio_device_; in adev_open() local
|
/aosp12/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 574 struct stub_audio_device *adev; in adev_open() local
|
/aosp12/system/bt/audio_hearing_aid_hw/src/ |
H A D | audio_hearing_aid_hw.cc | 1852 struct ha_audio_device* adev; in adev_open() local
|