Searched refs:has_sw (Results 1 – 1 of 1) sorted by relevance
129 int has_vol, has_sw; in get_playback_controls_count() local132 has_sw = snd_mixer_selem_has_playback_switch(elem); in get_playback_controls_count()133 if (!has_vol && !has_sw) in get_playback_controls_count()136 (!has_sw || snd_mixer_selem_has_playback_switch_joined(elem))) in get_playback_controls_count()151 int has_vol, has_sw; in get_capture_controls_count() local154 has_sw = snd_mixer_selem_has_capture_switch(elem); in get_capture_controls_count()155 if ((!has_vol && !has_sw) || in get_capture_controls_count()159 (!has_sw || snd_mixer_selem_has_capture_switch_joined(elem))) in get_capture_controls_count()