Home
last modified time | relevance | path

Searched refs:badness (Results 1 – 2 of 2) sorted by relevance

/sound/core/oss/
Dpcm_plugin.c325 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
334 badness = w - width; in snd_pcm_plug_slave_format()
336 badness = width - w + 32; in snd_pcm_plug_slave_format()
337 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
338 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
339 if (badness < best) { in snd_pcm_plug_slave_format()
341 best = badness; in snd_pcm_plug_slave_format()
/sound/pci/hda/
Dhda_generic.c1271 int badness = 0; in assign_out_path_ctls() local
1286 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1290 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1300 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1304 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1305 return badness; in assign_out_path_ctls()
1357 int badness = 0; in try_assign_dacs() local
1369 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1376 badness += bad->shared_primary; in try_assign_dacs()
1403 badness += bad->shared_primary; in try_assign_dacs()
[all …]