Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 25) sorted by relevance

/hardware/libhardware/modules/usbaudio/
Dalsa_device_profile.c63 profile->card = profile->device = -1; in profile_init()
88 return profile->card >= 0 && profile->device >= 0; in profile_is_initialized()
95 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device) { in profile_is_cached_for() argument
96 return card == profile->card && device == profile->device; in profile_is_cached_for()
100 profile->card = profile->device = -1; in profile_decache()
213 struct pcm * pcm = pcm_open(profile->card, profile->device, in profile_test_sample_rate()
312 profile->card, profile->device, profile->direction); in read_alsa_device_config()
314 if (profile->card < 0 || profile->device < 0) { in read_alsa_device_config()
319 pcm_params_get(profile->card, profile->device, profile->direction); in read_alsa_device_config()
369 struct pcm_params * alsa_hw_params = pcm_params_get(profile->card, in profile_read_device_info()
Daudio_hw.c189 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
316 int card = -1; in out_set_parameters() local
325 card = atoi(value); in out_set_parameters()
331 if (card >= 0 && device >= 0 && !profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
336 int saved_card = out->profile->card; in out_set_parameters()
338 out->profile->card = card; in out_set_parameters()
342 out->profile->card = saved_card; in out_set_parameters()
384 out->profile->card, out->profile->device); in start_output_stream()
701 int card = -1; in in_set_parameters() local
712 card = atoi(value); in in_set_parameters()
[all …]
Dalsa_device_profile.h39 int card; member
64 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device);
Dalsa_device_proxy.c68 ALOGV("proxy_open(card:%d device:%d %s)", profile->card, profile->device, in proxy_open()
71 proxy->pcm = pcm_open(profile->card, profile->device, profile->direction, &proxy->alsa_config); in proxy_open()
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c118 int card; member
246 if ((adev->card < 0) || (adev->device < 0)){ in start_output_stream()
249 adev->card = DEFAULT_CARD; in start_output_stream()
251 ALOGV("%s : Setting default card/ device %d,%d",__func__,adev->card,adev->device); in start_output_stream()
273 adev->card = get_card_number_by_name("IntelHDMI"); in start_output_stream()
274 ALOGD("%s: HDMI card number = %d, device = %d",__func__,adev->card,adev->device); in start_output_stream()
276 out->pcm = pcm_open(adev->card, adev->device, PCM_OUT, &out->pcm_config); in start_output_stream()
414 adev->card = atoi(value); in out_set_parameters()
430 int card = 0; in parse_channel_map() local
437 card = get_card_number_by_name("IntelHDMI"); in parse_channel_map()
[all …]
/hardware/qcom/msm8x84/kernel-headers/sound/
Dasound.h76 int card; member
282 int card; member
566 int card; member
632 int card; member
641 int card; member
677 int card; member
762 int card; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dasound.h104 int card; /* R: card number */ member
295 int card; /* R: card number */ member
571 int card; /* R: card number */ member
640 int card; member
648 int card; /* card number */ member
681 int card; /* card number */ member
766 int card; /* card number */ member
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dmedia.h85 __u32 card; member
/hardware/samsung_slsi/exynos5/include/
Dmedia.h81 __u32 card; member
/hardware/qcom/audio/post_proc/
Deffect_api.h20 int offload_update_mixer_and_effects_ctl(int card, int device_id,
Deffect_api.c54 int offload_update_mixer_and_effects_ctl(int card, int device_id, in offload_update_mixer_and_effects_ctl() argument
63 mixer = mixer_open(card); in offload_update_mixer_and_effects_ctl()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c315 ALOGV("card = %d\n", info->card); in info_dump()
679 sel.id.card = pcm->card_no; in enable_timer()
689 ALOGD("sel.id.card = %d\n", sel.id.card); in enable_timer()
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dvideodev2.h232 __u8 card[32]; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dvideodev2.h120 __u8 card[32]; member
/hardware/samsung_slsi/exynos5/include/linux/
Dvideodev2.h252 __u8 card[32]; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dvideodev2.h251 __u8 card[32]; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dvideodev2.h251 __u8 card[32]; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dvideodev2.h134 __u8 card[32]; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dvideodev2.h134 __u8 card[32]; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp334 " version = %d, capabilities = %x\n", cap.driver, cap.card, in venc_open()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp847 " version = %d, capabilities = %x", cap.driver, cap.card, in venc_open()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp1375 " version = %d, capabilities = %x\n", cap.driver, cap.card, in component_init()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1455 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()
Domx_vdec_hevc_swvdec.cpp1889 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()
Domx_vdec_msm8974.cpp1701 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()