Lines Matching refs:badness

1279 	int badness = 0;  in assign_out_path_ctls()  local
1294 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1298 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1308 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1312 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1313 return badness; in assign_out_path_ctls()
1365 int badness = 0; in try_assign_dacs() local
1378 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1386 badness += bad->shared_primary; in try_assign_dacs()
1388 badness += BAD_NO_PRIMARY_DAC; in try_assign_dacs()
1415 badness += bad->shared_primary; in try_assign_dacs()
1417 badness += bad->shared_surr; in try_assign_dacs()
1419 badness += bad->shared_clfe; in try_assign_dacs()
1422 badness += bad->shared_surr_main; in try_assign_dacs()
1424 badness += bad->no_primary_dac; in try_assign_dacs()
1426 badness += bad->no_dac; in try_assign_dacs()
1437 badness += bad->no_dac; in try_assign_dacs()
1442 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1446 return badness; in try_assign_dacs()
1525 int badness = 0; in fill_multi_ios() local
1557 badness++; in fill_multi_ios()
1563 badness++; in fill_multi_ios()
1577 if (badness) in fill_multi_ios()
1578 badness = BAD_MULTI_IO; in fill_multi_ios()
1583 return badness; /* no badness if nothing found */ in fill_multi_ios()
1589 return badness; in fill_multi_ios()
1595 badness += assign_out_path_ctls(codec, path); in fill_multi_ios()
1598 return badness; in fill_multi_ios()
1736 int i, err, badness; in fill_and_eval_dacs() local
1757 badness = 0; in fill_and_eval_dacs()
1785 badness += try_assign_dacs(codec, cfg->line_outs, cfg->line_out_pins, in fill_and_eval_dacs()
1805 badness += err; in fill_and_eval_dacs()
1815 badness += err; in fill_and_eval_dacs()
1822 badness += err; in fill_and_eval_dacs()
1863 badness += BAD_MULTI_IO; in fill_and_eval_dacs()
1867 badness += BAD_NO_INDEP_HP; in fill_and_eval_dacs()
1879 return badness; in fill_and_eval_dacs()
1981 int badness; in parse_output_paths() local
1992 badness = fill_and_eval_dacs(codec, fill_hardwired, in parse_output_paths()
1994 if (badness < 0) { in parse_output_paths()
1996 return badness; in parse_output_paths()
2000 badness); in parse_output_paths()
2002 if (badness < best_badness) { in parse_output_paths()
2003 best_badness = badness; in parse_output_paths()
2008 if (!badness) in parse_output_paths()
2050 if (badness) { in parse_output_paths()