Home
last modified time | relevance | path

Searched refs:snd_card_name (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/audio/hal/msm8916/
Dhw_info.c42 static void update_hardware_info_8x16(struct hardware_info *hw_info, const char *snd_card_name) in update_hardware_info_8x16() argument
44 if (!strcmp(snd_card_name, "msm8x16-snd-card") || in update_hardware_info_8x16()
45 !strcmp(snd_card_name, "msm8x16-snd-card-mtp")) { in update_hardware_info_8x16()
47 } else if (!strcmp(snd_card_name, "msm8909-snd-card") || in update_hardware_info_8x16()
48 !strcmp(snd_card_name, "msm8909-pm8916-snd-card")) { in update_hardware_info_8x16()
50 } else if (!strcmp(snd_card_name, "msm-bg-snd-card")) { in update_hardware_info_8x16()
52 } else if (!strcmp(snd_card_name, "msm8952-snd-card") || in update_hardware_info_8x16()
53 !strcmp(snd_card_name, "msm8952-snd-card-mtp")) { in update_hardware_info_8x16()
55 } else if (!strcmp(snd_card_name, "msm8952-l9300-snd-card")) { in update_hardware_info_8x16()
62 void *hw_info_init(const char *snd_card_name) in hw_info_init() argument
[all …]
Dplatform.c522 static void query_platform(const char *snd_card_name, in query_platform() argument
525 if (!strncmp(snd_card_name, "msm8x16-snd-card-mtp", in query_platform()
529 } else if (!strncmp(snd_card_name, "msm8909-pm8916-snd-card", in query_platform()
533 } else if (!strncmp(snd_card_name, "msm-bg-snd-card", in query_platform()
537 } else if (!strncmp(snd_card_name, "msm8952-snd-card-mtp", in query_platform()
541 } else if (!strncmp(snd_card_name, "msm8952-l9300-snd-card", in query_platform()
928 const char *snd_card_name; in platform_acdb_init() local
942 snd_card_name = mixer_get_name(my_data->adev->mixer); in platform_acdb_init()
945 result = my_data->acdb_init_v3(snd_card_name, cvd_version, in platform_acdb_init()
948 result = my_data->acdb_init((char *)snd_card_name, cvd_version, key); in platform_acdb_init()
[all …]
/hardware/qcom/audio/hal/
Dacdb.c40 char *snd_card_name = NULL; in acdb_init() local
118 snd_card_name = strdup(mixer_get_name(mixer)); in acdb_init()
119 if (!snd_card_name) { in acdb_init()
126 result = my_data->acdb_init_v3(snd_card_name, cvd_version, in acdb_init()
129 result = my_data->acdb_init_v2(snd_card_name, cvd_version, 0); in acdb_init()
149 free(snd_card_name); in acdb_init()
171 my_data->snd_card_name = strdup(value); in acdb_set_parameters()
172 ALOGV("%s: sound card name %s", __func__, my_data->snd_card_name); in acdb_set_parameters()
Dacdb.h54 char *snd_card_name; member
/hardware/qcom/audio/hal/audio_extn/
Dutils.c480 int audio_extn_utils_get_platform_info(const char* snd_card_name, char* platform_info_file) in audio_extn_utils_get_platform_info() argument
482 if (NULL == snd_card_name) { in audio_extn_utils_get_platform_info()
488 audio_extn_set_snd_card_split(snd_card_name); in audio_extn_utils_get_platform_info()
517 const char* snd_card_name = NULL; in audio_extn_utils_get_snd_card_num() local
554 snd_card_name = mixer_get_name(mixer); in audio_extn_utils_get_snd_card_num()
555 hw_info = hw_info_init(snd_card_name); in audio_extn_utils_get_snd_card_num()
557 if (audio_extn_utils_get_platform_info(snd_card_name, platform_info_file) < 0) { in audio_extn_utils_get_snd_card_num()
579 if (my_data->snd_card_name != NULL && in audio_extn_utils_get_snd_card_num()
580 strncmp(snd_card_name, my_data->snd_card_name, in audio_extn_utils_get_snd_card_num()
581 min(strlen(snd_card_name), strlen(my_data->snd_card_name))) != 0) { in audio_extn_utils_get_snd_card_num()
[all …]
Daudio_extn.c49 char *snd_card_name = strdup(in_snd_card_name); in audio_extn_set_snd_card_split() local
60 device = strtok_r(snd_card_name, "-", &tmp); in audio_extn_set_snd_card_split()
85 if (snd_card_name) in audio_extn_set_snd_card_split()
86 free(snd_card_name); in audio_extn_set_snd_card_split()
Daudio_extn.h206 #define hw_info_init(snd_card_name) (0) argument
211 void *hw_info_init(const char *snd_card_name);
231 int audio_extn_utils_get_platform_info(const char* snd_card_name,
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c91 void *hw_info_init(const char *snd_card_name) in hw_info_init() argument
96 if (strstr(snd_card_name, "msm8996")) { in hw_info_init()
100 ALOGE("%s: Unsupported target %s:",__func__, snd_card_name); in hw_info_init()