| /hardware/qcom/audio/hal/ |
| 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() 86 void voice_set_sidetone(struct audio_device *adev, in voice_set_sidetone() 102 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase() 156 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase() 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() 291 int voice_check_and_set_incall_rec_usecase(struct audio_device *adev, in voice_check_and_set_incall_rec_usecase() 334 int voice_check_and_stop_incall_rec_usecase(struct audio_device *adev, in voice_check_and_stop_incall_rec_usecase() 349 int voice_check_and_set_incall_music_usecase(struct audio_device *adev, in voice_check_and_set_incall_music_usecase() [all …]
|
| D | audio_hw.c | 357 static struct audio_device *adev = NULL; variable 371 static bool may_use_noirq_mode(struct audio_device *adev, audio_usecase_t uc_id, in may_use_noirq_mode() 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 618 static int audio_ssr_status(struct audio_device *adev) in audio_ssr_status() 651 int enable_audio_route(struct audio_device *adev, in enable_audio_route() [all …]
|
| /hardware/qcom/audio/hal/voice_extn/ |
| 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() 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() 454 int voice_extn_set_parameters(struct audio_device *adev, in voice_extn_set_parameters() [all …]
|
| /hardware/qcom/audio/hal/audio_extn/ |
| 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 86 #define audio_extn_usb_alive(adev) (false) argument 118 #define audio_extn_sound_trigger_init(adev) (0) argument 119 #define audio_extn_sound_trigger_deinit(adev) (0) argument [all …]
|
| 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()
|
| 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()
|
| 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 | 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
|
| 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()
|
| 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
|
| 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()
|
| 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()
|
| D | tfa_98xx.h | 37 #define audio_extn_tfa_98xx_init(adev) (0) argument
|
| 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()
|
| 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()
|
| D | audiozoom.c | 190 struct audio_device *adev = in->dev; in audio_extn_audiozoom_set_microphone_field_dimension_zoom() local
|
| D | usb.c | 92 struct audio_device *adev; member 1322 void audio_extn_usb_init(void *adev) in audio_extn_usb_init()
|
| D | a2dp.c | 203 struct audio_device *adev; member 1714 void audio_extn_a2dp_init(void *adev) in audio_extn_a2dp_init()
|
| /hardware/qcom/audio/hal/msm8974/ |
| D | platform.c | 149 struct audio_device *adev; member 1071 struct audio_device *adev = my_data->adev; in platform_send_gain_dep_cal() local 1130 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device) in platform_set_echo_reference() 1508 void get_cvd_version(char *cvd_version, struct audio_device *adev) in get_cvd_version() 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 2642 void platform_set_speaker_gain_in_combo(struct audio_device *adev, in platform_set_speaker_gain_in_combo() 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 [all …]
|
| /hardware/qcom/audio/hal/msm8916/ |
| D | platform.c | 145 struct audio_device *adev; member 712 void platform_set_echo_reference(struct audio_device *adev, bool enable, in platform_set_echo_reference() 774 void get_cvd_version(char *cvd_version, struct audio_device *adev) in get_cvd_version() 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 [all …]
|
| /hardware/libhardware/modules/usbaudio/ |
| D | audio_hal.c | 94 struct audio_device *adev; /* hardware information - only using this for the lock */ member 130 struct audio_device *adev; /* hardware information - only using this for the lock */ member 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() 270 struct audio_device* adev, struct listnode* list, struct listnode* stream_node) { in adev_add_stream_to_list() 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() [all …]
|
| /hardware/qcom/audio/hal/msm8960/ |
| 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()
|
| /hardware/libhardware/modules/audio/ |
| D | audio_hw.c | 574 struct stub_audio_device *adev; in adev_open() local
|