Lines Matching refs:namelist
2735 char **namelist; in parse_audio_selector_unit() local
2776 namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); in parse_audio_selector_unit()
2777 if (!namelist) { in parse_audio_selector_unit()
2784 namelist[i] = kmalloc(MAX_ITEM_NAME_LEN, GFP_KERNEL); in parse_audio_selector_unit()
2785 if (!namelist[i]) { in parse_audio_selector_unit()
2789 len = check_mapped_selector_name(state, unitid, i, namelist[i], in parse_audio_selector_unit()
2792 len = get_term_name(state->chip, &iterm, namelist[i], in parse_audio_selector_unit()
2795 sprintf(namelist[i], "Input %u", i); in parse_audio_selector_unit()
2804 kctl->private_value = (unsigned long)namelist; in parse_audio_selector_unit()
2851 kfree(namelist[i]); in parse_audio_selector_unit()
2852 kfree(namelist); in parse_audio_selector_unit()