Lines Matching refs:ident1
269 char ident[MAX_STR_LEN], *ident1, *ident2, *temp_ptr; in snd_use_case_get() local
301 if(!(ident1 = strtok_r(ident, "/", &temp_ptr))) { in snd_use_case_get()
305 if ((!strncmp(ident1, "PlaybackPCM", 11)) || in snd_use_case_get()
306 (!strncmp(ident1, "CapturePCM", 10))) { in snd_use_case_get()
343 if(!strncmp(ident1, "PlaybackPCM", 11)) { in snd_use_case_get()
350 } else if(!strncmp(ident1, "CapturePCM", 10)) { in snd_use_case_get()
364 } else if ((!strncmp(ident1, "PlaybackCTL", 11)) || in snd_use_case_get()
365 (!strncmp(ident1, "CaptureCTL", 10))) { in snd_use_case_get()
373 } else if (!strncmp(ident1, "ACDBID", 11)) { in snd_use_case_get()
409 } else if (!strncmp(ident1, "EffectsMixerCTL", 11)) { in snd_use_case_get()
446 ALOGE("Unsupported identifier value: %s", ident1); in snd_use_case_get()
467 char ident[MAX_STR_LEN], *ident1, *ident2, *ident_value, *temp_ptr; in snd_use_case_geti() local
480 if(!(ident1 = strtok_r(ident, "/", &temp_ptr))) { in snd_use_case_geti()
484 if (!strncmp(ident1, "_devstatus", 10)) { in snd_use_case_geti()
507 } else if (!strncmp(ident1, "_modstatus", 10)) { in snd_use_case_geti()
531 ALOGE("Unknown identifier: %s", ident1); in snd_use_case_geti()
1385 char ident[MAX_STR_LEN], *ident1, *ident2, *temp_ptr; in snd_use_case_set() local
1400 if(!(ident1 = strtok_r(ident, "/", &temp_ptr))) { in snd_use_case_set()
1404 if (!strncmp(ident1, "_swdev", 6)) { in snd_use_case_set()
1433 } else if (!strncmp(ident1, "_swmod", 6)) { in snd_use_case_set()
1452 ALOGV("No switch device/modifier option found: %s", ident1); in snd_use_case_set()
1501 if ((ident1 = in snd_use_case_set()
1504 if (!strncmp(ident1, value, (strlen(value)+1))) { in snd_use_case_set()
1507 free(ident1); in snd_use_case_set()
1510 free(ident1); in snd_use_case_set()
1610 char ident[MAX_STR_LEN], *ident1, *ident2, *temp_ptr; in snd_use_case_set_case() local
1625 if(!(ident1 = strtok_r(ident, "/", &temp_ptr))) { in snd_use_case_set_case()
1629 if (!strncmp(ident1, "_swdev", 6)) { in snd_use_case_set_case()
1658 } else if (!strncmp(ident1, "_swmod", 6)) { in snd_use_case_set_case()
1677 ALOGV("No switch device/modifier option found: %s", ident1); in snd_use_case_set_case()
1720 if ((ident1 = snd_ucm_get_value_at_index( in snd_use_case_set_case()
1722 if (!strncmp(ident1, usecase, MAX_STR_LEN)) { in snd_use_case_set_case()
1725 free(ident1); in snd_use_case_set_case()
1728 free(ident1); in snd_use_case_set_case()
1746 if ((ident1 = in snd_use_case_set_case()
1749 if (!strncmp(ident1, value, MAX_STR_LEN)) { in snd_use_case_set_case()
1751 free(ident1); in snd_use_case_set_case()
1754 free(ident1); in snd_use_case_set_case()
1831 if ((ident1 = snd_ucm_get_value_at_index( in snd_use_case_set_case()
1833 if (!strncmp(ident1, usecase, MAX_STR_LEN)) { in snd_use_case_set_case()
1836 free(ident1); in snd_use_case_set_case()
1839 free(ident1); in snd_use_case_set_case()