Searched refs:strings (Results 1 – 2 of 2) sorted by relevance
21 static DEFINE_MUTEX(strings);32 mutex_lock(&strings); in snd_oss_info_register()40 mutex_unlock(&strings); in snd_oss_info_register()45 mutex_unlock(&strings); in snd_oss_info_register()56 mutex_lock(&strings); in snd_sndstat_show_strings()67 mutex_unlock(&strings); in snd_sndstat_show_strings()
2831 const char **strings, *control_name; in snd_soc_of_parse_pin_switches() local2840 strings = devm_kcalloc(dev, nb_controls_max, in snd_soc_of_parse_pin_switches()2841 sizeof(*strings), GFP_KERNEL); in snd_soc_of_parse_pin_switches()2842 if (!strings) in snd_soc_of_parse_pin_switches()2846 strings, nb_controls_max); in snd_soc_of_parse_pin_switches()2859 "%s Switch", strings[i]); in snd_soc_of_parse_pin_switches()2868 controls[i].private_value = (unsigned long)strings[i]; in snd_soc_of_parse_pin_switches()