Searched refs:abs (Results 151 - 175 of 539) sorted by relevance

1234567891011>>

/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h360 payload = (abs(errno) & 0x1ff) << 19 | (msg_id & 0x7ffff);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c273 if (abs((int)le32_to_cpu(qdata->quota) -
/linux-master/drivers/hwmon/
H A Dltc4215.c160 const unsigned int power = abs(output_voltage * curr);
/linux-master/include/linux/
H A Dmath64.h251 ret = mul_u64_u64_shr(abs(a), b, shift);
H A Dring_buffer.h191 void ring_buffer_set_time_stamp_abs(struct trace_buffer *buffer, bool abs);
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.h349 struct qed_queue_cid_params abs; member in struct:qed_queue_cid
/linux-master/drivers/spi/
H A Dspi-sh-hspi.c123 tmp = abs(t->speed_hz - rate);
/linux-master/sound/soc/codecs/
H A Dcs42l52.c705 if (abs(mclk - mclk1) < abs(mclk - mclk2)) {
912 if (abs(cs42l52->beep_rate - beep_rates[i]) <
913 abs(cs42l52->beep_rate - beep_rates[best]))
H A Dwm8903.c426 if (abs(wm8903_deemph[i] - wm8903->fs) <
427 abs(wm8903_deemph[best] - wm8903->fs))
1468 best_val = abs(sample_rates[dsp_config].rate - fs);
1470 cur_val = abs(sample_rates[i].rate - fs);
1511 best_val = abs((wm8903->sysclk /
1515 cur_val = abs((wm8903->sysclk /
/linux-master/mm/kfence/
H A Dreport.c131 const int size = abs(meta->size);
/linux-master/arch/m68k/bvme6000/
H A Dconfig.c251 abs(ov-v) > 80 ||
/linux-master/lib/
H A Derrname.c219 const char *name = __errname(abs(err));
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_modeset_verify.c103 drm_WARN(&i915->drm, abs(fdi_dotclock - dotclock) > 1,
/linux-master/drivers/media/i2c/
H A Dmt9v111.c467 diff = abs(fps - mt9v111_frame_intervals[i]);
504 diff = abs(fps - t_fps);
923 unsigned int fit = abs(mt9v111_frame_sizes[i].width -
925 abs(mt9v111_frame_sizes[i].height -
/linux-master/arch/xtensa/include/asm/
H A Dasmmacro.h221 abs \dst, \src
/linux-master/arch/x86/kernel/
H A Dtsc.c945 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz)
1426 if (abs(tsc_khz - freq) > (tsc_khz >> 11)) {
1442 if (abs(tsc_khz - freq) > tsc_khz/100)
1529 else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz)
/linux-master/fs/bcachefs/
H A Dmean_and_variance.h186 s->sum_squares = u128_add(s->sum_squares, u128_square(abs(v)));
/linux-master/drivers/cpufreq/
H A Dfreq_table.c185 diff = abs(freq - target_freq);
/linux-master/drivers/iio/frequency/
H A Dadmfm2000.c116 st->gain[chan->channel] = ~((abs(gain) / 1000) & 0x1F);
/linux-master/drivers/tty/serial/
H A Dsh-sci.c2271 if (abs(err) >= abs(min_err))
2301 if (abs(err) >= abs(min_err))
2366 if (abs(err) >= abs(min_err))
2475 if (abs(err) < abs(min_err)) {
2490 if (abs(err) < abs(min_er
[all...]
/linux-master/kernel/trace/
H A Dring_buffer.c623 static inline u64 rb_fix_abs_ts(u64 abs, u64 save_ts) argument
626 abs |= save_ts & TS_MSB;
628 if (unlikely(abs < save_ts))
629 abs += 1ULL << 59;
631 return abs;
1782 void ring_buffer_set_time_stamp_abs(struct trace_buffer *buffer, bool abs) argument
1784 buffer->time_stamp_abs = abs;
2711 struct ring_buffer_event *event, u64 delta, bool abs)
2713 if (abs)
2719 if (abs || rb_event_inde
2710 rb_add_time_stamp(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event, u64 delta, bool abs) argument
2763 bool abs = info->add_timestamp & local
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dhw.c1384 f = abs(get_pll_output_frequency(f0, cur) - clk);
1388 if (abs(get_pll_output_frequency(f0, up) - clk) < f)
1390 else if (abs(get_pll_output_frequency(f0, down) - clk) < f)
1398 f = abs(get_pll_output_frequency(f0, cur) - clk);
1399 if (f < abs(get_pll_output_frequency(f0, best) - clk))
2006 if (abs(best->refresh - long_refresh) > 3) {
H A Dviamode.c350 if (!best || abs(modes[i].refresh - refresh) <
351 abs(best->refresh - refresh))
/linux-master/drivers/iio/
H A Dindustrialio-core.c655 abs(vals[0]), -vals[1],
663 abs(vals[0]), -vals[1]);
672 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1));
675 abs(tmp1));
680 return sysfs_emit_at(buf, offset, "-0.%09u", abs(tmp1));
683 abs(tmp1));
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c400 ar9003_aic_find_index(0, abs(aic_sram[i].dir_path_gain_lin)) -
403 ar9003_aic_find_index(0, abs(aic_sram[i].quad_path_gain_lin)) -

Completed in 546 milliseconds

1234567891011>>