Searched refs:badness (Results 1 – 2 of 2) sorted by relevance
333 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local342 badness = w - width; in snd_pcm_plug_slave_format()344 badness = width - w + 32; in snd_pcm_plug_slave_format()345 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()346 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()347 if (badness < best) { in snd_pcm_plug_slave_format()349 best = badness; in snd_pcm_plug_slave_format()
1281 int badness = 0; in assign_out_path_ctls() local1296 badness += BAD_SHARED_VOL; in assign_out_path_ctls()1300 badness += BAD_SHARED_VOL; in assign_out_path_ctls()1310 badness += BAD_SHARED_VOL; in assign_out_path_ctls()1314 badness += BAD_SHARED_VOL; in assign_out_path_ctls()1315 return badness; in assign_out_path_ctls()1367 int badness = 0; in try_assign_dacs() local1379 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()1386 badness += bad->shared_primary; in try_assign_dacs()1413 badness += bad->shared_primary; in try_assign_dacs()[all …]