/hardware/qcom/audio/hal/msm8916/ |
D | hw_info.c | 42 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 …]
|
D | platform.c | 557 static void query_platform(const char *snd_card_name, in query_platform() argument 560 if (!strncmp(snd_card_name, "msm8x16-snd-card-mtp", in query_platform() 564 } else if (!strncmp(snd_card_name, "msm8909-pm8916-snd-card", in query_platform() 568 } else if (!strncmp(snd_card_name, "msm-bg-snd-card", in query_platform() 572 } else if (!strncmp(snd_card_name, "msm8952-snd-card-mtp", in query_platform() 576 } else if (!strncmp(snd_card_name, "msm8952-l9300-snd-card", in query_platform() 963 const char *snd_card_name; in platform_acdb_init() local 977 snd_card_name = mixer_get_name(my_data->adev->mixer); in platform_acdb_init() 980 result = my_data->acdb_init_v3(snd_card_name, cvd_version, in platform_acdb_init() 983 result = my_data->acdb_init((char *)snd_card_name, cvd_version, key); in platform_acdb_init() [all …]
|
/hardware/qcom/audio/hal/ |
D | acdb.c | 40 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()
|
D | acdb.h | 54 char *snd_card_name; member
|
/hardware/qcom/audio/hal/audio_extn/ |
D | utils.c | 501 int audio_extn_utils_get_platform_info(const char* snd_card_name, char* platform_info_file) in audio_extn_utils_get_platform_info() argument 503 if (NULL == snd_card_name) { in audio_extn_utils_get_platform_info() 509 audio_extn_set_snd_card_split(snd_card_name); in audio_extn_utils_get_platform_info() 538 const char* snd_card_name = NULL; in audio_extn_utils_get_snd_card_num() local 577 snd_card_name = mixer_get_name(mixer); in audio_extn_utils_get_snd_card_num() 578 hw_info = hw_info_init(snd_card_name); in audio_extn_utils_get_snd_card_num() 580 if (audio_extn_utils_get_platform_info(snd_card_name, platform_info_file) < 0) { in audio_extn_utils_get_snd_card_num() 602 if (my_data->snd_card_name != NULL && in audio_extn_utils_get_snd_card_num() 603 strncmp(snd_card_name, my_data->snd_card_name, in audio_extn_utils_get_snd_card_num() 604 min(strlen(snd_card_name), strlen(my_data->snd_card_name))) != 0) { in audio_extn_utils_get_snd_card_num() [all …]
|
D | audio_extn.c | 49 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()
|
D | audio_extn.h | 211 #define hw_info_init(snd_card_name) (0) argument 216 void *hw_info_init(const char *snd_card_name); 236 int audio_extn_utils_get_platform_info(const char* snd_card_name,
|
/hardware/qcom/audio/hal/msm8974/ |
D | hw_info.c | 91 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()
|
D | platform.c | 180 char *snd_card_name; member 1537 my_data->acdb_init((char *)my_data->snd_card_name, cvd_version, 0); in platform_acdb_init() 1541 my_data->acdb_init((char *)my_data->snd_card_name); in platform_acdb_init() 1585 if (strstr(pdata->snd_card_name, "intcodec")) { in platform_backend_config_init() 1698 const char *snd_card_name; in platform_init() local 1726 snd_card_name = mixer_get_name(adev->mixer); in platform_init() 1727 my_data->hw_info = hw_info_init(snd_card_name); in platform_init() 1729 audio_extn_set_snd_card_split(snd_card_name); in platform_init() 1749 if (!strncmp(snd_card_name, TOMTOM_8226_SND_CARD_NAME, in platform_init() 1750 min(strlen(TOMTOM_8226_SND_CARD_NAME), strlen(snd_card_name)))) { in platform_init() [all …]
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | sound_trigger_hw_iaxxx.c | 3219 char *snd_card_name = NULL; in find_stdev_mixer_path() local 3234 snd_card_name = strdup(in_snd_card_name); in find_stdev_mixer_path() 3236 if (snd_card_name == NULL) { in find_stdev_mixer_path() 3241 platform = strtok_r(snd_card_name, "-", &tmp); in find_stdev_mixer_path() 3266 if (snd_card_name) in find_stdev_mixer_path() 3267 free(snd_card_name); in find_stdev_mixer_path() 3273 const char *snd_card_name; in find_sound_card() local 3301 snd_card_name = mixer_get_name(mixer); in find_sound_card() 3302 if (strstr(snd_card_name, CARD_NAME)) { in find_sound_card() 3304 __func__, snd_card_num, snd_card_name); in find_sound_card() [all …]
|