Home
last modified time | relevance | path

Searched refs:snd_card (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Daudio_extn.c34 .snd_card = {0},
52 char *snd_card = NULL; in audio_extn_set_snd_card_split() local
67 snd_card = strtok_r(NULL, "-", &tmp); in audio_extn_set_snd_card_split()
68 if (snd_card == NULL) { in audio_extn_set_snd_card_split()
72 strlcpy(cur_snd_card_split.snd_card, snd_card, HW_INFO_ARRAY_MAX_SIZE); in audio_extn_set_snd_card_split()
82 __func__, in_snd_card_name, device, snd_card, form_factor); in audio_extn_set_snd_card_split()
Dhfp.c289 __func__, adev->snd_card, pcm_dev_rx_id); in start_hfp()
290 hfpmod.hfp_sco_rx = pcm_open(adev->snd_card, in start_hfp()
299 __func__, adev->snd_card, pcm_dev_tx_id); in start_hfp()
302 hfpmod.hfp_pcm_rx = pcm_open(adev->snd_card, in start_hfp()
311 hfpmod.hfp_sco_tx = pcm_open(adev->snd_card, in start_hfp()
320 __func__, adev->snd_card, pcm_dev_tx_id); in start_hfp()
323 hfpmod.hfp_pcm_tx = pcm_open(adev->snd_card, in start_hfp()
Dhwdep_cal.c123 void audio_extn_hwdep_cal_send(int snd_card, void *acdb_handle) in audio_extn_hwdep_cal_send() argument
127 fd = hw_util_open(snd_card); in audio_extn_hwdep_cal_send()
Daudio_extn.h26 char snd_card[HW_INFO_ARRAY_MAX_SIZE]; member
195 #define audio_extn_hwdep_cal_send(snd_card, acdb_handle) (0) argument
197 void audio_extn_hwdep_cal_send(int snd_card, void *acdb_handle);
Ddsm_feedback.c61 dsm_pcm_handle = pcm_open(adev->snd_card, in start_dsm_feedback_processing()
Dutils.c513 PLATFORM_INFO_XML_BASE_STRING, snd_split_handle->snd_card, in audio_extn_utils_get_platform_info()
519 PLATFORM_INFO_XML_BASE_STRING, snd_split_handle->snd_card); in audio_extn_utils_get_platform_info()
Dspkr_protection.c356 handle.pcm_rx = pcm_open(adev->snd_card, in spkr_calibrate()
387 handle.pcm_tx = pcm_open(adev->snd_card, in spkr_calibrate()
844 handle.pcm_tx = pcm_open(adev->snd_card, in audio_extn_spkr_prot_start_processing()
Dcirrus_playback.c501 handle.pcm_rx = pcm_open(adev->snd_card, pcm_dev_rx_id, in audio_extn_cirrus_calibration_thread()
843 handle.pcm_tx = pcm_open(adev->snd_card, in audio_extn_spkr_prot_start_processing()
Da2dp.c657 a2dp.abr_config.abr_tx_handle = pcm_open(a2dp.adev->snd_card, in start_abr()
/hardware/qcom/audio/hal/
Dvoice.c191 __func__, adev->snd_card, pcm_dev_tx_id); in voice_start_usecase()
192 session->pcm_tx = pcm_open(adev->snd_card, in voice_start_usecase()
202 __func__, adev->snd_card, pcm_dev_rx_id); in voice_start_usecase()
203 session->pcm_rx = pcm_open(adev->snd_card, in voice_start_usecase()
Daudio_hw.c385 adev->snd_card, dev_id, dir); in may_use_noirq_mode()
1974 __func__, adev->snd_card, in->pcm_device_id, in->config.channels); in start_input_stream()
1977 in->pcm = pcm_open(adev->snd_card, in->pcm_device_id, in start_input_stream()
2398 struct pcm* pcm_open_prepare_helper(unsigned int snd_card, unsigned int pcm_device_id, in pcm_open_prepare_helper() argument
2405 pcm = pcm_open(snd_card, pcm_device_id, flags, config); in pcm_open_prepare_helper()
2530 __func__, adev->snd_card, out->pcm_device_id, out->config.format); in start_output_stream()
2533 out->compr = compress_open(adev->snd_card, out->pcm_device_id, in start_output_stream()
2550 adev->snd_card, capture_device_id); in start_output_stream()
2575 out->pcm = pcm_open_prepare_helper(adev->snd_card, out->pcm_device_id, in start_output_stream()
2588 adev->haptic_pcm = pcm_open_prepare_helper(adev->snd_card, in start_output_stream()
[all …]
Daudio_hw.h386 int snd_card; member
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c68 __func__, tmp_handle->device, tmp_handle->snd_card, tmp_handle->form_factor); in update_hardware_info_8996()
Dplatform.c1756 MIXER_XML_BASE_STRING, snd_split_handle->snd_card, in platform_init()
1761 MIXER_XML_BASE_STRING, snd_split_handle->snd_card); in platform_init()
1789 adev->snd_card = snd_card_num; in platform_init()
1950 int result = acdb_init(adev->snd_card); in platform_init()
1968 audio_extn_hwdep_cal_send(adev->snd_card, my_data->acdb_handle); in platform_init()
4896 adev->snd_card, HWDEP_FE_BASE+fe_dev); in platform_get_mmap_data_fd()
4899 ALOGE("fe hw dep node open %d/%d failed", adev->snd_card, fe_dev); in platform_get_mmap_data_fd()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c3222 char *snd_card = NULL; in find_stdev_mixer_path() local
3247 snd_card = strtok_r(NULL, "-", &tmp); in find_stdev_mixer_path()
3248 if (snd_card == NULL) { in find_stdev_mixer_path()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c939 fd = hw_util_open(plat_data->adev->snd_card); in audio_hwdep_send_cal()
1101 adev->snd_card = snd_card_num; in platform_init()