best_val 13764 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int best_val, int best_period) best_val 13782 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c set_timesync_params->drift_adjust_value = best_val; best_val 13794 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int best_dif = BNX2X_MAX_PHC_DRIFT, best_period = 0, best_val = 0; best_val 13810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c best_val = 1; best_val 13813 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c best_val = 31; best_val 13837 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c best_val = val; best_val 13843 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_send_update_drift_ramrod(bp, drift_dir, best_val, best_val 13850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(BNX2X_MSG_PTP, "Configured val = %d, period = %d\n", best_val, best_val 280 drivers/net/ethernet/qlogic/qed/qed_ptp.c s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2; best_val 326 drivers/net/ethernet/qlogic/qed/qed_ptp.c best_val = val; best_val 336 drivers/net/ethernet/qlogic/qed/qed_ptp.c best_val = 4; best_val 339 drivers/net/ethernet/qlogic/qed/qed_ptp.c best_val = 0; best_val 344 drivers/net/ethernet/qlogic/qed/qed_ptp.c (((int)best_val) << QED_DRIFT_CNTR_ADJUSTMENT_SHIFT) | best_val 3206 drivers/regulator/core.c int best_val = 0; best_val 3234 drivers/regulator/core.c best_val = ops->list_voltage(rdev, best_val 3237 drivers/regulator/core.c best_val = regulator_get_voltage_rdev(rdev); best_val 3243 drivers/regulator/core.c best_val = ops->list_voltage(rdev, ret); best_val 3244 drivers/regulator/core.c if (min_uV <= best_val && max_uV >= best_val) { best_val 3250 drivers/regulator/core.c rdev, best_val, selector); best_val 3253 drivers/regulator/core.c rdev, best_val, selector); best_val 3274 drivers/regulator/core.c if (old_uV != best_val) { best_val 3277 drivers/regulator/core.c best_val); best_val 3281 drivers/regulator/core.c best_val); best_val 3298 drivers/regulator/core.c if (best_val >= 0) { best_val 3299 drivers/regulator/core.c unsigned long data = best_val; best_val 3306 drivers/regulator/core.c trace_regulator_set_voltage_complete(rdev_get_name(rdev), best_val); best_val 62 drivers/regulator/gpio-regulator.c int ptr, target = 0, state, best_val = INT_MAX; best_val 65 drivers/regulator/gpio-regulator.c if (data->states[ptr].value < best_val && best_val 69 drivers/regulator/gpio-regulator.c best_val = data->states[ptr].value; best_val 74 drivers/regulator/gpio-regulator.c if (best_val == INT_MAX) best_val 101 drivers/regulator/gpio-regulator.c int ptr, target = 0, state, best_val = 0; best_val 104 drivers/regulator/gpio-regulator.c if (data->states[ptr].value > best_val && best_val 108 drivers/regulator/gpio-regulator.c best_val = data->states[ptr].value; best_val 111 drivers/regulator/gpio-regulator.c if (best_val == 0) best_val 293 drivers/regulator/helpers.c int best_val = INT_MAX; best_val 305 drivers/regulator/helpers.c if (ret < best_val && ret >= min_uV && ret <= max_uV) { best_val 306 drivers/regulator/helpers.c best_val = ret; best_val 311 drivers/regulator/helpers.c if (best_val != INT_MAX) best_val 384 sound/soc/atmel/atmel-classd.c int i, best, best_val, cur_val, ret; best_val 390 sound/soc/atmel/atmel-classd.c best_val = abs(fs - sample_rates[0].rate); best_val 394 sound/soc/atmel/atmel-classd.c if (cur_val < best_val) { best_val 396 sound/soc/atmel/atmel-classd.c best_val = cur_val; best_val 1416 sound/soc/codecs/max98088.c int best, best_val, save, i, sel, fs; best_val 1429 sound/soc/codecs/max98088.c best_val = INT_MAX; best_val 1432 sound/soc/codecs/max98088.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { best_val 1434 sound/soc/codecs/max98088.c best_val = abs(pdata->eq_cfg[i].rate - fs); best_val 1463 sound/soc/codecs/max98088.c int best, best_val, save, i, sel, fs; best_val 1476 sound/soc/codecs/max98088.c best_val = INT_MAX; best_val 1479 sound/soc/codecs/max98088.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { best_val 1481 sound/soc/codecs/max98088.c best_val = abs(pdata->eq_cfg[i].rate - fs); best_val 1501 sound/soc/codecs/max98095.c int fs, best, best_val, i; best_val 1519 sound/soc/codecs/max98095.c best_val = INT_MAX; best_val 1522 sound/soc/codecs/max98095.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { best_val 1524 sound/soc/codecs/max98095.c best_val = abs(pdata->eq_cfg[i].rate - fs); best_val 1652 sound/soc/codecs/max98095.c int fs, best, best_val, i; best_val 1670 sound/soc/codecs/max98095.c best_val = INT_MAX; best_val 1673 sound/soc/codecs/max98095.c abs(pdata->bq_cfg[i].rate - fs) < best_val) { best_val 1675 sound/soc/codecs/max98095.c best_val = abs(pdata->bq_cfg[i].rate - fs); best_val 1450 sound/soc/codecs/wm8903.c int best_val; best_val 1469 sound/soc/codecs/wm8903.c best_val = abs(sample_rates[dsp_config].rate - fs); best_val 1472 sound/soc/codecs/wm8903.c if (cur_val <= best_val) { best_val 1474 sound/soc/codecs/wm8903.c best_val = cur_val; best_val 1512 sound/soc/codecs/wm8903.c best_val = abs((wm8903->sysclk / best_val 1520 sound/soc/codecs/wm8903.c if (cur_val <= best_val) { best_val 1522 sound/soc/codecs/wm8903.c best_val = cur_val; best_val 1552 sound/soc/codecs/wm8903.c best_val = ((clk_sys * 10) / bclk_divs[0].ratio) - bclk; best_val 1559 sound/soc/codecs/wm8903.c best_val = cur_val; best_val 421 sound/soc/codecs/wm8904.c int best, best_val, save, i, cfg; best_val 430 sound/soc/codecs/wm8904.c best_val = INT_MAX; best_val 435 sound/soc/codecs/wm8904.c - wm8904->fs) < best_val) { best_val 437 sound/soc/codecs/wm8904.c best_val = abs(pdata->retune_mobile_cfgs[i].rate best_val 1292 sound/soc/codecs/wm8904.c int ret, i, best, best_val, cur_val; best_val 1336 sound/soc/codecs/wm8904.c best_val = abs((wm8904->sysclk_rate / clk_sys_rates[0].ratio) best_val 1341 sound/soc/codecs/wm8904.c if (cur_val < best_val) { best_val 1343 sound/soc/codecs/wm8904.c best_val = cur_val; best_val 1353 sound/soc/codecs/wm8904.c best_val = abs(wm8904->fs - sample_rates[0].rate); best_val 1357 sound/soc/codecs/wm8904.c if (cur_val < best_val) { best_val 1359 sound/soc/codecs/wm8904.c best_val = cur_val; best_val 1373 sound/soc/codecs/wm8904.c best_val = INT_MAX; best_val 1379 sound/soc/codecs/wm8904.c if (cur_val < best_val) { best_val 1381 sound/soc/codecs/wm8904.c best_val = cur_val; best_val 1190 sound/soc/codecs/wm8993.c int ret, i, best, best_val, cur_val; best_val 1242 sound/soc/codecs/wm8993.c best_val = abs((wm8993->sysclk_rate / clk_sys_rates[0].ratio) best_val 1247 sound/soc/codecs/wm8993.c if (cur_val < best_val) { best_val 1249 sound/soc/codecs/wm8993.c best_val = cur_val; best_val 1259 sound/soc/codecs/wm8993.c best_val = abs(wm8993->fs - sample_rates[0].rate); best_val 1263 sound/soc/codecs/wm8993.c if (cur_val < best_val) { best_val 1265 sound/soc/codecs/wm8993.c best_val = cur_val; best_val 1275 sound/soc/codecs/wm8993.c best_val = INT_MAX; best_val 1281 sound/soc/codecs/wm8993.c if (cur_val < best_val) { best_val 1283 sound/soc/codecs/wm8993.c best_val = cur_val; best_val 1306 sound/soc/codecs/wm8993.c best_val = abs(wm8993->pdata.retune_configs[0].rate best_val 1311 sound/soc/codecs/wm8993.c if (cur_val < best_val) { best_val 1312 sound/soc/codecs/wm8993.c best_val = cur_val; best_val 396 sound/soc/codecs/wm8994.c int iface, best, best_val, save, i, cfg; best_val 417 sound/soc/codecs/wm8994.c best_val = INT_MAX; best_val 422 sound/soc/codecs/wm8994.c - wm8994->dac_rates[iface]) < best_val) { best_val 424 sound/soc/codecs/wm8994.c best_val = abs(pdata->retune_mobile_cfgs[i].rate best_val 2790 sound/soc/codecs/wm8994.c int i, cur_val, best_val, bclk_rate, best; best_val 2885 sound/soc/codecs/wm8994.c best_val = abs((fs_ratios[0] * params_rate(params)) best_val 2890 sound/soc/codecs/wm8994.c if (cur_val >= best_val) best_val 2893 sound/soc/codecs/wm8994.c best_val = cur_val; best_val 1556 sound/soc/codecs/wm8995.c int i, rate_val, best, best_val, cur_val; best_val 1630 sound/soc/codecs/wm8995.c best_val = abs((fs_ratios[1] * params_rate(params)) best_val 1635 sound/soc/codecs/wm8995.c if (cur_val >= best_val) best_val 1638 sound/soc/codecs/wm8995.c best_val = cur_val; best_val 338 sound/soc/codecs/wm8996.c int base, best, best_val, save, i, cfg, iface; best_val 368 sound/soc/codecs/wm8996.c best_val = INT_MAX; best_val 373 sound/soc/codecs/wm8996.c - wm8996->rx_rate[iface]) < best_val) { best_val 375 sound/soc/codecs/wm8996.c best_val = abs(pdata->retune_mobile_cfgs[i].rate best_val 997 sound/soc/codecs/wm9081.c int ret, i, best, best_val, cur_val; best_val 1055 sound/soc/codecs/wm9081.c best_val = abs((wm9081->sysclk_rate / clk_sys_rates[0].ratio) best_val 1060 sound/soc/codecs/wm9081.c if (cur_val < best_val) { best_val 1062 sound/soc/codecs/wm9081.c best_val = cur_val; best_val 1072 sound/soc/codecs/wm9081.c best_val = abs(wm9081->fs - sample_rates[0].rate); best_val 1076 sound/soc/codecs/wm9081.c if (cur_val < best_val) { best_val 1078 sound/soc/codecs/wm9081.c best_val = cur_val; best_val 1088 sound/soc/codecs/wm9081.c best_val = INT_MAX; best_val 1094 sound/soc/codecs/wm9081.c if (cur_val < best_val) { best_val 1096 sound/soc/codecs/wm9081.c best_val = cur_val; best_val 1115 sound/soc/codecs/wm9081.c best_val = abs(pdata->retune_configs[0].rate - wm9081->fs); best_val 1119 sound/soc/codecs/wm9081.c if (cur_val < best_val) { best_val 1120 sound/soc/codecs/wm9081.c best_val = cur_val; best_val 279 sound/soc/sunxi/sun8i-codec.c unsigned int best_val = 0, best_diff = ~0; best_val 288 sound/soc/sunxi/sun8i-codec.c best_val = bdiv->val; best_val 292 sound/soc/sunxi/sun8i-codec.c return best_val;