/hardware/qcom/audio/msm8909/hal/msm8974/ |
H A D | hw_info.c | 159 static void update_hardware_info_8084(struct hardware_info *hw_info, const char *snd_card_name) argument 161 if (!strcmp(snd_card_name, "apq8084-taiko-mtp-snd-card") || 162 !strncmp(snd_card_name, "apq8084-taiko-i2s-mtp-snd-card", 164 !strncmp(snd_card_name, "apq8084-tomtom-mtp-snd-card", 171 } else if ((!strcmp(snd_card_name, "apq8084-taiko-cdp-snd-card")) || 172 !strncmp(snd_card_name, "apq8084-tomtom-cdp-snd-card", 179 } else if (!strncmp(snd_card_name, "apq8084-taiko-i2s-cdp-snd-card", 186 } else if (!strcmp(snd_card_name, "apq8084-taiko-liquid-snd-card")) { 192 } else if (!strcmp(snd_card_name, "apq8084-taiko-sbc-snd-card")) { 203 static void update_hardware_info_8994(struct hardware_info *hw_info, const char *snd_card_name) argument 234 update_hardware_info_8974(struct hardware_info *hw_info, const char *snd_card_name) argument 271 update_hardware_info_8610(struct hardware_info *hw_info, const char *snd_card_name) argument 296 update_hardware_info_8226(struct hardware_info *hw_info, const char *snd_card_name) argument 327 hw_info_init(const char *snd_card_name) argument [all...] |
H A D | platform.c | 780 static bool platform_is_i2s_ext_modem(const char *snd_card_name, argument 785 if (!strncmp(snd_card_name, "apq8084-taiko-i2s-mtp-snd-card", 787 !strncmp(snd_card_name, "apq8084-taiko-i2s-cdp-snd-card", 950 const char *snd_card_name; local 961 snd_card_name = mixer_get_name(my_data->adev->mixer); 962 result = my_data->acdb_init(snd_card_name, cvd_version, key); 983 const char *snd_card_name; local 1010 snd_card_name = mixer_get_name(adev->mixer); 1011 if (!snd_card_name) { 1012 ALOGE("failed to allocate memory for snd_card_name\ [all...] |
/hardware/qcom/audio/msm8909/hal/msm8916/ |
H A D | hw_info.c | 126 static void update_hardware_info_8x16(struct hardware_info *hw_info, const char *snd_card_name) argument 128 if (!strcmp(snd_card_name, "msm8x16-snd-card")) { 134 } else if (!strcmp(snd_card_name, "msm8x16-snd-card-mtp")) { 140 } else if (!strcmp(snd_card_name, "msm8x16-snd-card-sbc")) { 145 } else if (!strcmp(snd_card_name, "msm8x16-skuh-snd-card")) { 151 } else if (!strcmp(snd_card_name, "msm8x16-skui-snd-card")) { 157 } else if (!strcmp(snd_card_name, "msm8x16-skuhf-snd-card")) { 163 } else if (!strcmp(snd_card_name, "msm8939-snd-card")) { 169 } else if (!strcmp(snd_card_name, "msm8939-snd-card-mtp")) { 175 } else if (!strcmp(snd_card_name, "msm893 241 hw_info_init(const char *snd_card_name) argument [all...] |
H A D | platform.c | 597 static void update_codec_type(const char *snd_card_name) { argument 599 if (!strncmp(snd_card_name, "msm8939-tapan-snd-card", 601 !strncmp(snd_card_name, "msm8939-tapan9302-snd-card", 603 !strncmp(snd_card_name, "msm8939-tomtom9330-snd-card", 605 !strncmp(snd_card_name, "msm8x09-tasha9326-snd-card", 607 ALOGI("%s: snd_card_name: %s",__func__,snd_card_name); 612 static void query_platform(const char *snd_card_name, argument 615 if (!strncmp(snd_card_name, "msm8x16-snd-card-mtp", 624 } else if (!strncmp(snd_card_name, "msm8x1 1054 const char *snd_card_name; local 1148 const char *snd_card_name; local [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
H A D | audio_extn.c | 49 char *snd_card_name = strdup(in_snd_card_name); local 56 ALOGE("%s: snd_card_name passed is NULL", __func__); 60 device = strtok_r(snd_card_name, "-", &tmp); 81 ALOGI("%s: snd_card_name(%s) device(%s) snd_card(%s) form_factor(%s)", 85 if (snd_card_name) 86 free(snd_card_name);
|
H A D | audio_extn.h | 125 #define hw_info_init(snd_card_name) (0) 130 void *hw_info_init(const char *snd_card_name);
|
/hardware/qcom/audio/hal/msm8974/ |
H A D | hw_info.c | 91 void *hw_info_init(const char *snd_card_name) argument 96 if (strstr(snd_card_name, "msm8996")) { 100 ALOGE("%s: Unsupported target %s:",__func__, snd_card_name);
|
H A D | platform.c | 130 char *snd_card_name; member in struct:platform_data 951 const char *snd_card_name; local 983 snd_card_name = mixer_get_name(adev->mixer); 984 my_data->hw_info = hw_info_init(snd_card_name); 986 audio_extn_set_snd_card_split(snd_card_name); 1006 if (!strncmp(snd_card_name, TOMTOM_8226_SND_CARD_NAME, 1007 min(strlen(TOMTOM_8226_SND_CARD_NAME), strlen(snd_card_name)))) { 1047 * my_data->snd_card_name can contain 1052 * snd_card_name is truncated to 32 charaters as per mixer_get_name() implementation 1053 * so use min of my_data->snd_card_name an [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
H A D | audio_extn.h | 169 #define hw_info_init(snd_card_name) (0) 174 void *hw_info_init(const char *snd_card_name);
|
/hardware/qcom/audio/msm8909/hal/msm8960/ |
H A D | platform.c | 231 const char *snd_card_name; local 249 snd_card_name = mixer_get_name(adev->mixer);
|