Home | History | Annotate | Download | only in libalsa-intf

Lines Matching refs:strncmp

125     if (!strncmp(identifier, "_verbs", 6)) {
126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
135 } else if (!strncmp(identifier, "_devices", 8)) {
136 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
143 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb,
150 while(strncmp(verb_list[verb_index].device_list[index],
159 } else if (!strncmp(identifier, "_modifiers", 10)) {
160 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
167 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb,
174 while(strncmp(verb_list[verb_index].modifier_list[index],
183 } else if (!strncmp(identifier, "_enadevs", 8)) {
213 } else if (!strncmp(identifier, "_enamods", 8)) {
290 if (!strncmp(identifier, "_verb", 5)) {
305 if ((!strncmp(ident1, "PlaybackPCM", 11)) ||
306 (!strncmp(ident1, "CapturePCM", 10))) {
318 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
325 while(strncmp(ctrl_list[index].case_name, ident2,
327 if (!strncmp(ctrl_list[index].case_name,
343 if(!strncmp(ident1, "PlaybackPCM", 11)) {
350 } else if(!strncmp(ident1, "CapturePCM", 10)) {
364 } else if ((!strncmp(ident1, "PlaybackCTL", 11)) ||
365 (!strncmp(ident1, "CaptureCTL", 10))) {
373 } else if (!strncmp(ident1, "ACDBID", 11)) {
378 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
388 while(strncmp(ctrl_list[index].case_name, ident2,
390 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST,
409 } else if (!strncmp(ident1, "EffectsMixerCTL", 11)) {
414 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
424 while(strncmp(ctrl_list[index].case_name, ident2, strlen(ident2)+1)) {
425 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST,
484 if (!strncmp(ident1, "_devstatus", 10)) {
493 if (!strncmp(ident2, ident_value,
507 } else if (!strncmp(ident1, "_modstatus", 10)) {
516 if (!strncmp(ident2, ident_value,
544 if ((!strncmp(use_case, SND_USE_CASE_VERB_VOICECALL,
546 (!strncmp(use_case, SND_USE_CASE_VERB_IP_VOICECALL,
548 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOICE,
550 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOIP,
586 if ((!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
588 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
600 if ((!strncmp(ident_value, SND_USE_CASE_MOD_PLAY_VOICE,
602 (!strncmp(ident_value, SND_USE_CASE_MOD_PLAY_VOIP,
617 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
632 if (strncmp(ident_value, ctrl_list[use_case_index].case_name,
642 while(strncmp(ctrl_list[index].case_name, ident_value,
644 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST,
724 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, SND_UCM_END_OF_LIST, 3)) ||
730 while(strncmp(ctrl_list[index].case_name, use_case, (strlen(use_case)+1))) {
731 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST,
777 (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, SND_UCM_END_OF_LIST, 3)) ||
880 if (!strncmp(useCase, SND_USE_CASE_VERB_HIFI,
882 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC,
884 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER,
886 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_TUNNEL,
888 !strncmp(useCase, SND_USE_CASE_VERB_HIFI2,
890 !strncmp(useCase, SND_USE_CASE_VERB_DIGITAL_RADIO,
892 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_MUSIC,
894 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC,
896 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_MUSIC2,
898 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_LPA,
900 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_TUNNEL,
902 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_FM,
905 } else if (!strncmp(useCase, SND_USE_CASE_VERB_HIFI_REC,
907 !strncmp(useCase, SND_USE_CASE_VERB_FM_REC,
909 !strncmp(useCase, SND_USE_CASE_VERB_FM_A2DP_REC,
911 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC,
913 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_REC,
915 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC,
917 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_FM,
919 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_A2DP_FM,
922 } else if (!strncmp(useCase, SND_USE_CASE_VERB_VOICECALL,
924 !strncmp(useCase, SND_USE_CASE_VERB_IP_VOICECALL,
926 !strncmp(useCase, SND_USE_CASE_VERB_DL_REC,
928 !strncmp(useCase, SND_USE_CASE_VERB_UL_DL_REC,
930 !strncmp(useCase, SND_USE_CASE_VERB_INCALL_REC,
932 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_VOICE,
934 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_VOIP,
936 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_DL,
938 !strncmp(useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL,
940 !strncmp(useCase, SND_USE_CASE_VERB_VOLTE,
942 !strncmp(useCase, SND_USE_CASE_MOD_PLAY_VOLTE,
1127 if (strncmp(uc_mgr->card_ctxt_ptr->current_verb, SND_USE_CASE_VERB_INACTIVE,
1286 while (strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1288 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], usecase,
1404 if (!strncmp(ident1, "_swdev", 6)) {
1433 } else if (!strncmp(ident1, "_swmod", 6)) {
1457 if (!strncmp(identifier, "_verb", 5)) {
1459 while (strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1461 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], value,
1468 if ((ret < 0) && (strncmp(value, SND_USE_CASE_VERB_INACTIVE,
1476 if (strncmp(uc_mgr->card_ctxt_ptr->current_verb,
1488 if (strncmp(uc_mgr->card_ctxt_ptr->current_verb,
1496 } else if (!strncmp(identifier, "_enadev", 7)) {
1504 if (!strncmp(ident1, value, (strlen(value)+1))) {
1521 } else if (!strncmp(identifier, "_disdev", 7)) {
1548 } else if (!strncmp(identifier, "_enamod", 7)) {
1557 while(strncmp(verb_list[verb_index].modifier_list[index], value,
1559 if (!strncmp(verb_list[verb_index].modifier_list[index],
1577 } else if (!strncmp(identifier, "_dismod", 7)) {
1629 if (!strncmp(ident1, "_swdev", 6)) {
1658 } else if (!strncmp(ident1, "_swmod", 6)) {
1682 if (!strncmp(identifier, "_verb", 5)) {
1684 while (strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1686 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1693 if ((ret < 0) && (strncmp(value, SND_USE_CASE_VERB_INACTIVE,
1701 if (strncmp(uc_mgr->card_ctxt_ptr->current_verb,
1713 if (strncmp(uc_mgr->card_ctxt_ptr->current_verb,
1722 if (!strncmp(ident1, usecase, MAX_STR_LEN)) {
1741 } else if (!strncmp(identifier, "_enadev", 7)) {
1749 if (!strncmp(ident1, value, MAX_STR_LEN)) {
1765 } else if (!strncmp(identifier, "_disdev", 7)) {
1791 } else if (!strncmp(identifier, "_enamod", 7)) {
1792 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb,
1798 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1800 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index],
1815 while(strncmp(verb_list[verb_index].modifier_list[index],
1817 if (!strncmp(verb_list[verb_index].modifier_list[index],
1833 if (!strncmp(ident1, usecase, MAX_STR_LEN)) {
1855 } else if (!strncmp(identifier, "_dismod", 7)) {
1894 if(!strncmp(card_name, card_mapping_list[index].card_name,
2075 if(strncmp(uc_mgr->card_ctxt_ptr->current_verb, SND_USE_CASE_VERB_INACTIVE,
3140 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[verb_index],
3147 while(strncmp(verb_list[verb_index].device_list[i],
3156 while(strncmp(verb_list[verb_index].modifier_list[i],
3504 if(!strncmp(p, "0", 1)) {
3506 } else if(!strncmp(p, "1", 1)) {
3508 } else if(!strncmp(p, "2", 1)) {
3653 while(strncmp((*uc_mgr)->card_ctxt_ptr->verb_list[verb_index],
3672 if (!strncmp
3687 if (!strncmp(verb_list[verb_index].modifier_list[index],
3749 if(!strncmp(ident, head->ident, (strlen(head->ident)+1))) {
3796 if(!strncmp(ident, head->ident, (strlen(head->ident)+1))) {
3889 } else if (!strncmp((*head)->ident, value, (strlen(value)+1))) {
3897 if (!strncmp(temp2->ident, value, (strlen(value)+1))) {