Home
last modified time | relevance | path

Searched refs:snd_card (Results 1 – 13 of 13) 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
190 #define audio_extn_hwdep_cal_send(snd_card, acdb_handle) (0) argument
192 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.c492 PLATFORM_INFO_XML_BASE_STRING, snd_split_handle->snd_card, in audio_extn_utils_get_platform_info()
498 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()
839 handle.pcm_tx = pcm_open(adev->snd_card, in audio_extn_spkr_prot_start_processing()
Da2dp.c628 a2dp.abr_config.abr_tx_handle = pcm_open(a2dp.adev->snd_card, in start_abr()
/hardware/qcom/audio/hal/
Dvoice.c189 __func__, adev->snd_card, pcm_dev_tx_id); in voice_start_usecase()
190 session->pcm_tx = pcm_open(adev->snd_card, in voice_start_usecase()
200 __func__, adev->snd_card, pcm_dev_rx_id); in voice_start_usecase()
201 session->pcm_rx = pcm_open(adev->snd_card, in voice_start_usecase()
Daudio_hw.h333 int snd_card; member
Daudio_hw.c351 adev->snd_card, dev_id, dir); in may_use_noirq_mode()
1609 __func__, adev->snd_card, in->pcm_device_id, in->config.channels); in start_input_stream()
1612 in->pcm = pcm_open(adev->snd_card, in->pcm_device_id, in start_input_stream()
2093 __func__, adev->snd_card, out->pcm_device_id, out->config.format); in start_output_stream()
2096 out->compr = compress_open(adev->snd_card, out->pcm_device_id, in start_output_stream()
2134 out->pcm = pcm_open(adev->snd_card, out->pcm_device_id, in start_output_stream()
2906 bool valid_cb = (card == adev->snd_card); in out_snd_mon_cb()
3368 __func__, adev->snd_card, out->pcm_device_id, out->config.channels); in out_create_mmap_buffer()
3369 out->pcm = pcm_open(adev->snd_card, out->pcm_device_id, in out_create_mmap_buffer()
3701 bool valid_cb = (card == adev->snd_card); in in_snd_mon_cb()
[all …]
/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()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c904 fd = hw_util_open(plat_data->adev->snd_card); in audio_hwdep_send_cal()
1066 adev->snd_card = snd_card_num; in platform_init()