/linux-master/mm/ |
H A D | memory-tiers.c | 664 if (abs(perf->read_latency - default_dram_perf.read_latency) * 10 > 666 abs(perf->write_latency - default_dram_perf.write_latency) * 10 > 668 abs(perf->read_bandwidth - default_dram_perf.read_bandwidth) * 10 > 670 abs(perf->write_bandwidth - default_dram_perf.write_bandwidth) * 10 >
|
/linux-master/kernel/power/ |
H A D | suspend_test.c | 41 msec = jiffies_to_msecs(abs(nj));
|
/linux-master/drivers/cpufreq/ |
H A D | gx-suspmod.c | 234 if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) {
|
/linux-master/drivers/media/radio/ |
H A D | radio-sf16fmr2.c | 174 tc9154a_set_attenuation(fmr2, abs(left - 68), TC9154A_CHANNEL_LEFT); 175 tc9154a_set_attenuation(fmr2, abs(right - 68), TC9154A_CHANNEL_RIGHT);
|
/linux-master/drivers/hwmon/ |
H A D | scmi-hwmon.c | 60 if (abs(scale) > 19) 63 f = __pow10(abs(scale));
|
H A D | lochnagar-hwmon.c | 217 power = abs(*val); 224 power *= abs(*val);
|
/linux-master/drivers/clk/ |
H A D | clk-wm831x.c | 143 if (abs(wm831x_fll_auto_rates[i] - rate) < 144 abs(wm831x_fll_auto_rates[best] - rate))
|
H A D | clk-hsdk-pll.c | 214 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate))
|
/linux-master/drivers/power/supply/ |
H A D | ug3105_battery.c | 251 curr_diff = abs(chip->curr - prev_curr); 255 volt_diff = abs(chip->volt - prev_volt);
|
/linux-master/drivers/clk/axs10x/ |
H A D | pll_clock.c | 166 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate))
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_ctrl_mbox.c | 66 return sz - (abs(pi - ci) % sz); 71 return (abs(pi - ci) % sz);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_kmem.c | 195 if (abs(sum - current) < MAX_VMSTAT_ERROR) { 383 if (current > 0 && percpu > 0 && abs(current - percpu) <
|
/linux-master/drivers/input/joystick/ |
H A D | walkera0701.c | 149 if (abs(pulse_time - SYNC_PULSE) < RESERVE) /* new frame sync */ 160 } else if (abs(pulse_time - SYNC_PULSE - BIN0_PULSE) <
|
/linux-master/fs/bcachefs/ |
H A D | printbuf.c | 367 bch2_prt_human_readable_u64(out, abs(v)); 398 bch2_prt_units_u64(out, abs(v));
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 158 error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal); 162 error = abs((u32)error / NSEC_PER_USEC);
|
/linux-master/drivers/input/mouse/ |
H A D | hgpk.c | 130 avx = abs(x); 131 avy = abs(y); 225 if (abs(x) > 3 || abs(y) > 3) { 259 if (abs(priv->x_tally) < 3 && abs(priv->y_tally) < 3) {
|
/linux-master/sound/soc/codecs/ |
H A D | wm9081.c | 1055 best_val = abs((wm9081->sysclk_rate / clk_sys_rates[0].ratio) 1058 cur_val = abs((wm9081->sysclk_rate / 1072 best_val = abs(wm9081->fs - sample_rates[0].rate); 1075 cur_val = abs(wm9081->fs - sample_rates[i].rate); 1115 best_val = abs(pdata->retune_configs[0].rate - wm9081->fs); 1117 cur_val = abs(pdata->retune_configs[i].rate -
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_calib.c | 601 s32 abs_i = abs(in_re), 602 abs_q = abs(in_im), 859 /* find average (exclude max abs value) */ 861 if ((abs(mp_coeff[i][0]) < abs(mp_max)) || 862 (abs(mp_coeff[i][0]) < abs(mp_min))) { 878 if (abs(mp_max - mp_min) > max_delta) { 879 if (abs(mp_max - mp_avg) > abs(mp_mi [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | lo.c | 51 if (unlikely(abs(control->i) > 16 || abs(control->q) > 16)) { 190 pga = abs(10 - lb_gain) / 6; 616 (abs(test_loctl.i) <= 16 && abs(test_loctl.q) <= 16)) {
|
/linux-master/drivers/input/misc/ |
H A D | uinput.c | 399 const struct input_absinfo *abs) 403 min = abs->minimum; 404 max = abs->maximum; 408 "%s: invalid abs[%02x] min:%d max:%d\n", 413 if (!check_sub_overflow(max, min, &range) && abs->flat > range) { 416 UINPUT_NAME, code, abs->flat, min, max); 398 uinput_validate_absinfo(struct input_dev *dev, unsigned int code, const struct input_absinfo *abs) argument
|
/linux-master/drivers/video/fbdev/riva/ |
H A D | riva_hw.c | 382 if (abs(ainfo->gburst_size) + ((abs(ainfo->wcglwm) + 16 ) & ~0x7) - tmp > max_gfsize) 389 if (abs(ainfo->vburst_size) + (abs(ainfo->wcvlwm + 32) & ~0xf) - tmp> VFIFO_SIZE) 394 if (abs(ainfo->gocc) > max_gfsize) 399 if (abs(ainfo->vocc) > VFIFO_SIZE) 404 if (abs(ainfo->mocc) > MFIFO_SIZE) 409 if (abs(vfsize) > VFIFO_SIZE) 414 if (abs(gfsize) > max_gfsize) 419 if (abs(mfsiz [all...] |
/linux-master/sound/isa/gus/ |
H A D | gus_main.c | 282 dma1 = abs(dma1); 285 dma2 = abs(dma2); 294 irq = abs(irq);
|
/linux-master/drivers/hid/ |
H A D | hid-playstation.c | 998 ds->gyro_calib_data[0].sens_denom = abs(gyro_pitch_plus - gyro_pitch_bias) + 999 abs(gyro_pitch_minus - gyro_pitch_bias); 1004 ds->gyro_calib_data[1].sens_denom = abs(gyro_yaw_plus - gyro_yaw_bias) + 1005 abs(gyro_yaw_minus - gyro_yaw_bias); 1010 ds->gyro_calib_data[2].sens_denom = abs(gyro_roll_plus - gyro_roll_bias) + 1011 abs(gyro_roll_minus - gyro_roll_bias); 1855 ds4->gyro_calib_data[0].sens_denom = abs(gyro_pitch_plus - gyro_pitch_bias) + 1856 abs(gyro_pitch_minus - gyro_pitch_bias); 1861 ds4->gyro_calib_data[1].sens_denom = abs(gyro_yaw_plus - gyro_yaw_bias) + 1862 abs(gyro_yaw_minu [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_panel.c | 82 return abs(fixed_mode_vrefresh - vrefresh) < 83 abs(drm_mode_vrefresh(best_mode) - vrefresh); 229 if (abs(vrefresh - fixed_mode_vrefresh) > 1) {
|
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 613 mantisa <<= abs(exp); 927 if ((dev->prev_pwr_diff ^ diff_pwr) < 0 && abs(diff_pwr) < 4096 && 928 (abs(diff_pwr) > abs(dev->prev_pwr_diff) || 1048 if (abs(last_offset) >= activate_threshold) 1050 else if (abs(last_offset) <= deactivate_threshold)
|