Home
last modified time | relevance | path

Searched refs:hfp_sco_rx (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dhfp.c41 struct pcm *hfp_sco_rx; member
51 .hfp_sco_rx = NULL,
154 hfpmod.hfp_sco_rx = pcm_open(adev->snd_card, in start_hfp()
157 if (hfpmod.hfp_sco_rx && !pcm_is_ready(hfpmod.hfp_sco_rx)) { in start_hfp()
158 ALOGE("%s: %s", __func__, pcm_get_error(hfpmod.hfp_sco_rx)); in start_hfp()
190 pcm_start(hfpmod.hfp_sco_rx); in start_hfp()
216 if (hfpmod.hfp_sco_rx) { in stop_hfp()
217 pcm_close(hfpmod.hfp_sco_rx); in stop_hfp()
218 hfpmod.hfp_sco_rx = NULL; in stop_hfp()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dhfp.c60 struct pcm *hfp_sco_rx; member
70 .hfp_sco_rx = NULL,
171 hfpmod.hfp_sco_rx = pcm_open(adev->snd_card, in start_hfp()
174 if (hfpmod.hfp_sco_rx && !pcm_is_ready(hfpmod.hfp_sco_rx)) { in start_hfp()
175 ALOGE("%s: %s", __func__, pcm_get_error(hfpmod.hfp_sco_rx)); in start_hfp()
207 if (pcm_start(hfpmod.hfp_sco_rx) < 0) { in start_hfp()
249 if (hfpmod.hfp_sco_rx) { in stop_hfp()
250 pcm_close(hfpmod.hfp_sco_rx); in stop_hfp()
251 hfpmod.hfp_sco_rx = NULL; in stop_hfp()