abs 396 arch/arm/mach-ep93xx/clock.c if (!found || abs(actual_rate - rate) < rate_err) { abs 403 arch/arm/mach-ep93xx/clock.c rate_err = abs(actual_rate - rate); abs 161 arch/arm/mach-omap2/vc.c smps_steps = abs(target_vsel - current_vsel); abs 1589 arch/arm64/kernel/ptrace.c return (abs(num) - 1) >> 1; abs 257 arch/m68k/bvme6000/config.c abs(ov-v) > 80 || abs 65 arch/microblaze/kernel/unwind.c return abs((s16)(instr & 0xFFFF)); abs 837 arch/mips/alchemy/devboards/db1200.c if ((pfc < 1) || (abs(50000000 - pfc) > 2500000)) abs 105 arch/mips/ar7/clock.c freq = abs(base / j * i / k - target); abs 96 arch/mips/dec/time.c if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) abs 100 arch/mips/dec/time.c if (abs(real_minutes - cmos_minutes) < 30) { abs 57 arch/mips/include/asm/mc146818-time.h if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) abs 61 arch/mips/include/asm/mc146818-time.h if (abs(real_minutes - cmos_minutes) < 30) { abs 146 arch/powerpc/kernel/smp-tbsync.c score = abs(score); abs 147 arch/powerpc/kernel/smp-tbsync.c score2 = abs(score2); abs 141 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); abs 150 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); abs 171 arch/powerpc/platforms/512x/mpc512x_shared.c delta = abs(pixclock - got); abs 89 arch/powerpc/platforms/powermac/backlight.c int diff = abs(info->bl_curve[i] - value); abs 450 arch/s390/kernel/time.c if ((abs(tod_steering_delta) >> 48) != 0) abs 453 arch/s390/kernel/time.c tod_steering_end = now + (abs(tod_steering_delta) << 15); abs 104 arch/sh/boards/mach-sh03/rtc.c if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) abs 108 arch/sh/boards/mach-sh03/rtc.c if (abs(real_minutes - cmos_minutes) < 30) { abs 287 arch/x86/kernel/cpu/resctrl/monitor.c m->delta_bw = abs(cur_bw - m->prev_bw); abs 378 arch/x86/kernel/kprobes/opt.c if (abs(rel) > 0x7fffffff) { abs 901 arch/x86/kernel/tsc.c else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) abs 1337 arch/x86/kernel/tsc.c if (abs(tsc_khz - freq) > tsc_khz/100) abs 1421 arch/x86/kernel/tsc.c else if (abs(cpu_khz - tsc_khz) * 10 > tsc_khz) abs 1486 arch/x86/kvm/lapic.c if (abs(advance_expire_delta) > LAPIC_TIMER_ADVANCE_ADJUST_MAX || abs 1487 arch/x86/kvm/lapic.c abs(advance_expire_delta) < LAPIC_TIMER_ADVANCE_ADJUST_MIN) abs 2131 block/bfq-iosched.c return abs(blk_rq_pos(rq) - last_pos); abs 2406 block/bfq-iosched.c return abs(bfq_io_struct_pos(io_struct, request) - sector) <= abs 1190 block/blk-iocost.c abs(oexpires - expires) <= margin_ns / 4) abs 1255 block/blk-iocost.c abs(oexpires - expires) <= margin_ns / 4) abs 1589 block/blk-iocost.c int idx = min_t(int, abs(ioc->busy_level), abs 1660 block/blk-iocost.c seek_pages = abs(bio->bi_iter.bi_sector - iocg->cursor); abs 1383 drivers/acpi/acpi_video.c if (abs(l - level_current) < abs(delta)) { abs 603 drivers/acpi/battery.c battery->rate_now = abs((s16)battery->rate_now); abs 200 drivers/acpi/sbs.c val->intval = abs(battery->rate_now) * abs 208 drivers/acpi/sbs.c val->intval = abs(battery->rate_avg) * abs 3532 drivers/block/drbd/drbd_receiver.c int f = (hg == -100) || abs(hg) == 2; abs 3540 drivers/block/drbd/drbd_receiver.c if (abs(hg) == 100) abs 3566 drivers/block/drbd/drbd_receiver.c if (abs(hg) < 100) { abs 3584 drivers/block/drbd/drbd_receiver.c if (abs(hg) < 100) abs 3626 drivers/block/drbd/drbd_receiver.c abs(hg) >= 2 ? "full" : "bit-map based"); abs 3630 drivers/block/drbd/drbd_receiver.c if (abs(hg) >= 2) { abs 1286 drivers/char/random.c delta = abs(delta) - ((avg_deviation + FIXED_1_2) >> AVG_SHIFT); abs 290 drivers/clk/analogbits/wrpll-cln28hpc.c delta = abs(target_rate - vco); abs 309 drivers/clk/at91/clk-audio-pll.c tmp_diff = abs(rate - tmp_rate); abs 346 drivers/clk/at91/clk-audio-pll.c tmp_diff = abs(rate - tmp_rate); abs 110 drivers/clk/at91/clk-generated.c tmp_diff = abs(req->rate - tmp_rate); abs 170 drivers/clk/axs10x/pll_clock.c if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) abs 537 drivers/clk/bcm/clk-iproc-pll.c diff = abs(req->rate - pll->vco_param[i].rate); abs 1054 drivers/clk/bcm/clk-kona.c best_delta = abs(best_rate - req->rate); abs 1070 drivers/clk/bcm/clk-kona.c delta = abs(other_rate - req->rate); abs 135 drivers/clk/clk-axi-clkgen.c if (abs(f - fout) < abs(best_f - fout)) { abs 426 drivers/clk/clk-cdce925.c rate_error = abs((long)actual_rate - (long)rate); abs 93 drivers/clk/clk-composite.c rate_diff = abs(req->rate - tmp_rate); abs 270 drivers/clk/clk-divider.c return abs(rate - now) < abs(rate - best); abs 210 drivers/clk/clk-hsdk-pll.c if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) abs 60 drivers/clk/clk-multiplier.c return abs(rate - new) < abs(rate - best); abs 1061 drivers/clk/clk-si5351.c err = abs(new_rate - rate); abs 1064 drivers/clk/clk-si5351.c new_err = abs(new_rate - rate); abs 1092 drivers/clk/clk-si5351.c err = abs(new_rate - rate); abs 1095 drivers/clk/clk-si5351.c new_err = abs(new_rate - rate); abs 383 drivers/clk/clk-si544.c if (abs(delta) <= max_delta) abs 251 drivers/clk/clk-si570.c if (div64_u64(abs(rate - data->frequency) * 10000LL, abs 346 drivers/clk/clk-si570.c if (div64_u64(abs(rate - data->frequency) * 10000LL, abs 143 drivers/clk/clk-wm831x.c if (abs(wm831x_fll_auto_rates[i] - rate) < abs 144 drivers/clk/clk-wm831x.c abs(wm831x_fll_auto_rates[best] - rate)) abs 546 drivers/clk/clk.c return abs(now - rate) < abs(best - rate); abs 49 drivers/clk/h8300/clk-h8s2678.c offset[i] = abs(rate - (*prate * (1 << i))); abs 63 drivers/clk/imx/clk-composite-8m.c if (abs(new_error) < abs(error)) { abs 99 drivers/clk/imx/clk-pllv2.c temp = (u64) ref_clk * abs(mfn); abs 121 drivers/clk/imx/clk-sccg-pll.c if (abs(diff) > abs(new_diff)) { abs 80 drivers/clk/meson/clk-dualdiv.c } else if (abs(now - rate) < abs(best - rate)) { abs 128 drivers/clk/meson/clk-pll.c if (abs(now - rate) < abs(best - rate)) abs 84 drivers/clk/meson/sclk-div.c if (abs(rate - now) < abs(rate - best)) { abs 137 drivers/clk/microchip/clk-core.c if (abs(rate - divided_rate_down) < abs(rate - divided_rate)) abs 406 drivers/clk/microchip/clk-core.c delta = abs(nearest_rate - req->rate); abs 614 drivers/clk/microchip/clk-core.c delta = abs(rate - new_rate); abs 231 drivers/clk/mmp/clk-mix.c gap = abs(mix_rate - req->rate); abs 249 drivers/clk/mmp/clk-mix.c gap = abs(mix_rate - req->rate); abs 17 drivers/clk/rockchip/clk-half-divider.c return abs(rate - now) < abs(rate - best); abs 608 drivers/clk/st/clkgen-fsyn.c new_deviation = abs(output - new_freq); abs 671 drivers/clk/st/clkgen-fsyn.c new_deviation = abs(output - new_freq); abs 284 drivers/clk/st/clkgen-pll.c new_deviation = abs(new_freq - output); abs 253 drivers/clocksource/timer-cadence-ttc.c if (abs(rate_high - (factor * rate_low)) > MAX_F_ERR) abs 179 drivers/cpufreq/freq_table.c diff = abs(freq - target_freq); abs 234 drivers/cpufreq/gx-suspmod.c if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) { abs 94 drivers/cpufreq/s3c24xx-cpufreq.c int diff_cur = abs(target - c); abs 95 drivers/cpufreq/s3c24xx-cpufreq.c int diff_new = abs(target - n); abs 233 drivers/crypto/nx/nx.c data_back = (abs(oplen) / AES_BLOCK_SIZE) * sg->len; abs 203 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c diff = abs(target_clock - (pll->reference_freq * fb_div) / abs 583 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c return (abs(frequency1 - frequency2) <= EPSILON); abs 199 drivers/gpu/drm/arm/hdlcd_crtc.c if (abs(rate - clk_rate) * 1000 > clk_rate) { abs 463 drivers/gpu/drm/bridge/sii902x.c unsigned int d = abs(div - sii902x_mclk_div_table[i]); abs 510 drivers/gpu/drm/bridge/tc358767.c if (abs(delta) < abs(best_delta)) { abs 1862 drivers/gpu/drm/drm_edid.c #define MODE_REFRESH_DIFF(c,t) (abs((c) - (t))) abs 3054 drivers/gpu/drm/drm_edid.c if (abs(to_match->clock - clock1) > clock_tolerance && abs 3055 drivers/gpu/drm/drm_edid.c abs(to_match->clock - clock2) > clock_tolerance) abs 3159 drivers/gpu/drm/drm_edid.c if (abs(to_match->clock - clock1) > clock_tolerance && abs 3160 drivers/gpu/drm/drm_edid.c abs(to_match->clock - clock2) > clock_tolerance) abs 3924 drivers/gpu/drm/drm_edid.c if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) abs 574 drivers/gpu/drm/exynos/exynos_drm_dsi.c delta = abs(fout - tmp); abs 749 drivers/gpu/drm/gma500/gma_display.c this_err = abs(clock.dot - target); abs 646 drivers/gpu/drm/gma500/mdfld_intel_display.c this_err = abs(clock.dot - target); abs 198 drivers/gpu/drm/gma500/oaktrail_crtc.c this_err = abs(clock.dot - target); abs 269 drivers/gpu/drm/i2c/ch7006_mode.c if (abs(freq - mode->mode.clock) < abs 270 drivers/gpu/drm/i2c/ch7006_mode.c abs(best_freq - mode->mode.clock)) { abs 700 drivers/gpu/drm/i915/display/intel_display.c this_err = abs(clock.dot - target); abs 756 drivers/gpu/drm/i915/display/intel_display.c this_err = abs(clock.dot - target); abs 814 drivers/gpu/drm/i915/display/intel_display.c this_err = abs(clock.dot - target); abs 852 drivers/gpu/drm/i915/display/intel_display.c abs(target_freq - calculated_clock->dot), abs 12420 drivers/gpu/drm/i915/display/intel_display.c diff = abs(clock1 - clock2); abs 2295 drivers/gpu/drm/i915/display/intel_dpll_mgr.c dco_centrality = abs(dco - dco_mid); abs 964 drivers/gpu/drm/i915/display/intel_tv.c if (tv_mode && abs(tv_mode->refresh - drm_mode_vrefresh(mode) * 1000) abs 85 drivers/gpu/drm/i915/display/vlv_dsi_pll.c delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); abs 94 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int d = abs(target_dsi_clk - calc_dsi_clk); abs 779 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = mdp5_crtc->cursor.width - abs(mdp5_crtc->cursor.x); abs 784 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_h = mdp5_crtc->cursor.height - abs(mdp5_crtc->cursor.y); abs 818 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c src_x = abs(mdp5_crtc->cursor.x); abs 824 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c src_y = abs(mdp5_crtc->cursor.y); abs 1333 drivers/gpu/drm/msm/edp/edp_ctrl.c clk_err = abs(divs[i].rate - pixel_rate); abs 332 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (abs(drm_mode_vrefresh(mode) * 1000 - abs 202 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c abs(align), zero, &gpuobj->memory); abs 299 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { abs 313 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { abs 173 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c delta = abs(lwv - target_clk_f); abs 206 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c if (abs(dvfs->dfs_ext_cal) >= BIT(DFS_DET_RANGE)) abs 221 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if (abs(core - out) <= abs(core - (clock >> 1))) { abs 249 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if (abs(shader - out) <= abs 250 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c abs(shader - clock) && abs 264 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if(abs(vdec - out) <= abs(vdec - clock)) { abs 409 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c if (abs(vdec - freq) <= abs(vdec - out)) { abs 67 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c err = abs(freq - (info->refclk * N / M / *P)); abs 108 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c delta = abs(calcclk - clk); abs 204 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c delta = abs(calcclkout - clk); abs 464 drivers/gpu/drm/pl111/pl111_display.c diff = abs(rate - div_rate); abs 1047 drivers/gpu/drm/radeon/radeon_display.c diff = abs(target_clock - (pll->reference_freq * fb_div) / abs 1230 drivers/gpu/drm/radeon/radeon_display.c error = abs(current_freq - freq); abs 1231 drivers/gpu/drm/radeon/radeon_display.c vco_diff = abs(vco - best_vco); abs 1236 drivers/gpu/drm/radeon/radeon_display.c (abs(error - best_error) < 100 && vco_diff < best_vco_diff)))) { abs 144 drivers/gpu/drm/rcar-du/rcar_du_crtc.c diff = abs((long)output - (long)target); abs 192 drivers/gpu/drm/rcar-du/rcar_du_crtc.c diff = abs(rate / (div + 1) - target); abs 292 drivers/gpu/drm/rcar-du/rcar_lvds.c diff = abs(fout / div - target); abs 540 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c delta = abs(fout - tmp); abs 102 drivers/gpu/drm/sun4i/sun4i_dotclock.c if (abs(rate - rounded / i) < abs 103 drivers/gpu/drm/sun4i/sun4i_dotclock.c abs(rate - best_parent / best_div)) { abs 46 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c if (abs(rate - tmp_rate) < abs(rate - best_rate)) { abs 103 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c abs(rate - rounded / i / j) < abs 104 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c abs(rate - best_parent / best_half / abs 49 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c abs(rate - rounded / i) < abs 50 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c abs(rate - best_rate / best_div)) { abs 396 drivers/gpu/drm/tegra/hdmi.c delta = abs(n - ideal_n); abs 399 drivers/gpu/drm/tegra/hdmi.c err = abs((int64_t)cts_f - cts); abs 889 drivers/gpu/drm/tegra/sor.c if (error <= 0 && abs(error) < params->error) { abs 893 drivers/gpu/drm/tegra/sor.c params->error = abs(error); abs 201 drivers/gpu/drm/tilcdc/tilcdc_crtc.c return (unsigned int)(abs(((rr - r) * 100) / r)); abs 626 drivers/gpu/drm/via/via_dmablit.c abs(xfer->fb_stride) < xfer->line_length) { abs 1333 drivers/hid/hid-input.c int count = abs(value); abs 476 drivers/hid/hid-logitech-hidpp.c if (abs(remainder) >= 60) { abs 746 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; abs 748 drivers/hid/hid-sony.c if (abs >= ARRAY_SIZE(navigation_absmap)) abs 751 drivers/hid/hid-sony.c abs = navigation_absmap[abs]; abs 753 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); abs 795 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; abs 797 drivers/hid/hid-sony.c if (abs >= ARRAY_SIZE(sixaxis_absmap)) abs 800 drivers/hid/hid-sony.c abs = sixaxis_absmap[abs]; abs 802 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); abs 823 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; abs 829 drivers/hid/hid-sony.c if (abs >= ARRAY_SIZE(ds4_absmap)) abs 832 drivers/hid/hid-sony.c abs = ds4_absmap[abs]; abs 833 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); abs 52 drivers/hid/hid-speedlink.c if (abs(value) >= 256) abs 1667 drivers/hid/hid-wiimote-modules.c if (abs(lx) < 500) abs 1669 drivers/hid/hid-wiimote-modules.c if (abs(ly) < 500) abs 1671 drivers/hid/hid-wiimote-modules.c if (abs(rx) < 500) abs 1673 drivers/hid/hid-wiimote-modules.c if (abs(ry) < 500) abs 1781 drivers/hid/wacom_wac.c struct input_absinfo *abs = &input->absinfo[usage->code]; abs 1782 drivers/hid/wacom_wac.c int range = (abs->maximum - abs->minimum + 1); abs 1785 drivers/hid/wacom_wac.c if (value > abs->maximum) abs 1787 drivers/hid/wacom_wac.c else if (value < abs->minimum) abs 219 drivers/hwmon/lochnagar-hwmon.c power = abs(*val); abs 226 drivers/hwmon/lochnagar-hwmon.c power *= abs(*val); abs 160 drivers/hwmon/ltc4215.c const unsigned int power = abs(output_voltage * curr); abs 325 drivers/hwmon/ltc4245.c *val = abs(curr * voltage); abs 53 drivers/hwmon/scmi-hwmon.c if (abs(scale) > 19) abs 56 drivers/hwmon/scmi-hwmon.c f = __pow10(abs(scale)); abs 312 drivers/hwmon/w83795.c if (abs(val - best0) > abs(val - best1)) abs 432 drivers/i2c/busses/i2c-ocores.c if (abs(diff) > i2c->bus_clock_khz / 10) { abs 685 drivers/i2c/busses/i2c-octeon-core.c diff = abs(foscl - i2c->twsi_freq); abs 416 drivers/i2c/busses/i2c-sh7760.c dff = abs(scl_hz - m1); abs 169 drivers/iio/adc/ad7124.c diff_new = abs(val - array[i]); abs 305 drivers/iio/adc/ad7768-1.c diff_new = abs(res - ad7768_clk_config[i].clk_div); abs 1029 drivers/iio/adc/at91_adc.c if (abs(st->ts_pendbc - (1 << i)) < abs(st->ts_pendbc - (1 << (i - 1)))) abs 147 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value = abs(val1) * int_pow(10, -exp); abs 148 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value += abs(val2) / divisor; abs 151 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value = abs(val1) / divisor; abs 331 drivers/iio/common/hid-sensors/hid-sensor-attributes.c exp = abs(exp); abs 437 drivers/iio/dac/ad5758.c diff_new = abs(st->slew_time - calc_slew_time); abs 436 drivers/iio/frequency/ad9523.c use_alt_clk_src = (abs(tmp1 - freq) > abs(tmp2 - freq)); abs 567 drivers/iio/industrialio-core.c return snprintf(buf, len, "-%d.%06u%s", abs(vals[0]), abs 574 drivers/iio/industrialio-core.c return snprintf(buf, len, "-%d.%09u", abs(vals[0]), abs 582 drivers/iio/industrialio-core.c return snprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); abs 586 drivers/iio/industrialio-core.c return snprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); abs 310 drivers/iio/light/si1133.c return abs(output); abs 1034 drivers/input/evdev.c struct input_absinfo abs; abs 1209 drivers/input/evdev.c abs = dev->absinfo[t]; abs 1211 drivers/input/evdev.c if (copy_to_user(p, &abs, min_t(size_t, abs 1228 drivers/input/evdev.c if (copy_from_user(&abs, p, min_t(size_t, abs 1233 drivers/input/evdev.c abs.resolution = 0; abs 1245 drivers/input/evdev.c dev->absinfo[t] = abs; abs 181 drivers/input/ff-memless.c difference = abs(value) - envelope_level; abs 295 drivers/input/ff-memless.c i = apply_envelope(state, abs(new->u.periodic.magnitude), abs 234 drivers/input/input.c pold = &mt->slots[mt->slot].abs[code - ABS_MT_FIRST]; abs 1507 drivers/input/input.c INPUT_DEV_CAP_ATTR(ABS, abs); abs 2076 drivers/input/input.c INPUT_CLEANSE_BITMASK(dev, ABS, abs); abs 55 drivers/input/joydev.c __s16 abs[ABS_CNT]; abs 135 drivers/input/joydev.c if (event.value == joydev->abs[event.number]) abs 137 drivers/input/joydev.c joydev->abs[event.number] = event.value; abs 193 drivers/input/joydev.c joydev->abs[i] = joydev_correct(val, &joydev->corr[i]); abs 310 drivers/input/joydev.c event->value = joydev->abs[event->number]; abs 357 drivers/input/joydev.c data.x = (joydev->abs[0] / 256 + 128) >> joydev->glue.JS_CORR.x; abs 358 drivers/input/joydev.c data.y = (joydev->abs[1] / 256 + 128) >> joydev->glue.JS_CORR.y; abs 549 drivers/input/joydev.c joydev->abs[i] = joydev_correct(val, &joydev->corr[i]); abs 103 drivers/input/joystick/adi.c char *abs; abs 203 drivers/input/joystick/adi.c char *abs = adi->abs; abs 211 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, adi_get_bits(adi, 10)); abs 214 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, adi_get_bits(adi, 8)); abs 219 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1)); abs 220 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, ((t >> 1) & 1) - ((t >> 3) & 1)); abs 227 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, adi_hat_to_axis[t].x); abs 228 drivers/input/joystick/adi.c input_report_abs(dev, *abs++, adi_hat_to_axis[t].y); abs 401 drivers/input/joystick/adi.c adi->abs = adi_abs[t]; abs 420 drivers/input/joystick/adi.c set_bit(adi->abs[i], input_dev->absbit); abs 437 drivers/input/joystick/adi.c t = adi->abs[i]; abs 44 drivers/input/joystick/guillemot.c short *abs; abs 119 drivers/input/joystick/guillemot.c for (i = 0; i < 6 && guillemot->type->abs[i] >= 0; i++) abs 120 drivers/input/joystick/guillemot.c input_report_abs(dev, guillemot->type->abs[i], data[i + 5]); abs 224 drivers/input/joystick/guillemot.c for (i = 0; (t = guillemot->type->abs[i]) >= 0; i++) abs 338 drivers/input/joystick/iforce/iforce-main.c for (i = 0; iforce->type->abs[i] >= 0; i++) { abs 340 drivers/input/joystick/iforce/iforce-main.c signed short t = iforce->type->abs[i]; abs 71 drivers/input/joystick/iforce/iforce.h signed short *abs; abs 59 drivers/input/joystick/interact.c short *abs; abs 255 drivers/input/joystick/interact.c for (i = 0; (t = interact_type[interact->type].abs[i]) >= 0; i++) { abs 79 drivers/input/joystick/tmdc.c char abs; abs 100 drivers/input/joystick/tmdc.c const signed char *abs; abs 115 drivers/input/joystick/tmdc.c signed char *abs[2]; abs 183 drivers/input/joystick/tmdc.c if (port->abs[i] < 0) abs 186 drivers/input/joystick/tmdc.c input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]); abs 282 drivers/input/joystick/tmdc.c port->abs = model->axes; abs 290 drivers/input/joystick/tmdc.c port->absc = model->abs; abs 320 drivers/input/joystick/tmdc.c if (port->abs[i] >= 0) abs 321 drivers/input/joystick/tmdc.c input_set_abs_params(input_dev, port->abs[i], 8, 248, 2, 4); abs 149 drivers/input/joystick/walkera0701.c if (abs(pulse_time - SYNC_PULSE) < RESERVE) /* new frame sync */ abs 160 drivers/input/joystick/walkera0701.c } else if (abs(pulse_time - SYNC_PULSE - BIN0_PULSE) < abs 1577 drivers/input/joystick/xpad.c static void xpad_set_up_abs(struct input_dev *input_dev, signed short abs) abs 1581 drivers/input/joystick/xpad.c switch (abs) { abs 1586 drivers/input/joystick/xpad.c input_set_abs_params(input_dev, abs, -32768, 32767, 16, 128); abs 1591 drivers/input/joystick/xpad.c input_set_abs_params(input_dev, abs, 0, 1023, 0, 0); abs 1593 drivers/input/joystick/xpad.c input_set_abs_params(input_dev, abs, 0, 255, 0, 0); abs 1597 drivers/input/joystick/xpad.c input_set_abs_params(input_dev, abs, -1, 1, 0, 0); abs 1600 drivers/input/joystick/xpad.c input_set_abs_params(input_dev, abs, 0, 0, 0, 0); abs 46 drivers/input/keyboard/adc-keys.c diff = abs(st->map[i].voltage - value); abs 54 drivers/input/keyboard/adc-keys.c if (abs(st->keyup_voltage - value) < closest) abs 461 drivers/input/keyboard/lm8323.c steps = abs(pwm->desired_brightness - pwm->brightness); abs 116 drivers/input/keyboard/sun4i-lradc-keys.c diff = abs(lradc->chan0_map[i].voltage - voltage); abs 262 drivers/input/misc/ad714x.c abs(ad714x->adc_reg[i] - ad714x->amb_reg[i]); abs 155 drivers/input/misc/axp20x-pek.c err = abs(time[i].time - val); abs 398 drivers/input/misc/uinput.c const struct input_absinfo *abs) abs 402 drivers/input/misc/uinput.c min = abs->minimum; abs 403 drivers/input/misc/uinput.c max = abs->maximum; abs 412 drivers/input/misc/uinput.c if (!check_sub_overflow(max, min, &range) && abs->flat > range) { abs 415 drivers/input/misc/uinput.c UINPUT_NAME, code, abs->flat, min, max); abs 274 drivers/input/misc/xen-kbdfront.c unsigned int abs; abs 277 drivers/input/misc/xen-kbdfront.c abs = xenbus_read_unsigned(dev->otherend, abs 285 drivers/input/misc/xen-kbdfront.c if (abs) { abs 290 drivers/input/misc/xen-kbdfront.c abs = 0; abs 303 drivers/input/misc/xen-kbdfront.c if (abs) { abs 130 drivers/input/mouse/hgpk.c avx = abs(x); abs 131 drivers/input/mouse/hgpk.c avy = abs(y); abs 225 drivers/input/mouse/hgpk.c if (abs(x) > 3 || abs(y) > 3) { abs 259 drivers/input/mouse/hgpk.c if (abs(priv->x_tally) < 3 && abs(priv->y_tally) < 3) { abs 186 drivers/input/mouse/psmouse-base.c if (psmouse_a4tech_2wheels && abs(wheel) > 1) abs 624 drivers/input/touchscreen/ads7846.c if (!ts->read_cnt || (abs(ts->last_read - *val) > ts->debounce_tol)) { abs 179 drivers/input/touchscreen/auo-pixcir-ts.c int abs = -1; abs 220 drivers/input/touchscreen/auo-pixcir-ts.c abs = i; abs 231 drivers/input/touchscreen/auo-pixcir-ts.c if (abs > -1) { abs 232 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_X, point[abs].coord_x); abs 233 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_Y, point[abs].coord_y); abs 217 drivers/input/touchscreen/bu21013_ts.c (abs(pos[0].x - pos[1].x) < DELTA_MIN || abs 218 drivers/input/touchscreen/bu21013_ts.c abs(pos[0].y - pos[1].y) < DELTA_MIN)) { abs 377 drivers/input/touchscreen/cyttsp4_core.c enum cyttsp4_tch_abs abs; abs 421 drivers/input/touchscreen/cyttsp4_core.c for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { abs 422 drivers/input/touchscreen/cyttsp4_core.c tch = &si->si_ofs.tch_abs[abs]; abs 423 drivers/input/touchscreen/cyttsp4_core.c tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; abs 438 drivers/input/touchscreen/cyttsp4_core.c for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { abs 439 drivers/input/touchscreen/cyttsp4_core.c tch = &si->si_ofs.tch_abs[abs]; abs 449 drivers/input/touchscreen/cyttsp4_core.c for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { abs 451 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_tch_abs_string[abs]); abs 453 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].ofs); abs 455 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].size); abs 457 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].max); abs 459 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].bofs); abs 795 drivers/input/touchscreen/cyttsp4_core.c enum cyttsp4_tch_abs abs; abs 798 drivers/input/touchscreen/cyttsp4_core.c for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) { abs 799 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_get_touch_axis(md, &touch->abs[abs], abs 800 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].size, abs 801 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].max, abs 802 drivers/input/touchscreen/cyttsp4_core.c xy_data + si->si_ofs.tch_abs[abs].ofs, abs 803 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].bofs); abs 805 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_tch_abs_string[abs], abs 806 drivers/input/touchscreen/cyttsp4_core.c touch->abs[abs], touch->abs[abs]); abs 810 drivers/input/touchscreen/cyttsp4_core.c swap(touch->abs[CY_TCH_X], touch->abs[CY_TCH_Y]); abs 817 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - abs 818 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X]; abs 820 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - abs 821 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X]; abs 825 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - abs 826 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y]; abs 828 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - abs 829 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y]; abs 836 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], abs 837 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); abs 867 drivers/input/touchscreen/cyttsp4_core.c if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs abs 869 drivers/input/touchscreen/cyttsp4_core.c (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs abs 872 drivers/input/touchscreen/cyttsp4_core.c __func__, i, tch.abs[CY_TCH_T], abs 873 drivers/input/touchscreen/cyttsp4_core.c md->pdata->frmwrk->abs[(CY_ABS_ID_OST * abs 879 drivers/input/touchscreen/cyttsp4_core.c sig = md->pdata->frmwrk->abs abs 882 drivers/input/touchscreen/cyttsp4_core.c t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs abs 884 drivers/input/touchscreen/cyttsp4_core.c if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { abs 886 drivers/input/touchscreen/cyttsp4_core.c __func__, t, tch.abs[CY_TCH_E]); abs 897 drivers/input/touchscreen/cyttsp4_core.c sig = md->pdata->frmwrk->abs[((CY_ABS_X_OST + j) * abs 901 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_X + j]); abs 910 drivers/input/touchscreen/cyttsp4_core.c if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) abs 911 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; abs 915 drivers/input/touchscreen/cyttsp4_core.c sig = md->pdata->frmwrk->abs abs 920 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_MAJ + j]); abs 929 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_X], abs 930 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_Y], abs 931 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_P], abs 932 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_MAJ], abs 933 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_MIN], abs 934 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_OR], abs 935 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_E]); abs 940 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_X], abs 941 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_Y], abs 942 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_P], abs 943 drivers/input/touchscreen/cyttsp4_core.c tch.abs[CY_TCH_E]); abs 1921 drivers/input/touchscreen/cyttsp4_core.c signal = md->pdata->frmwrk->abs abs 1925 drivers/input/touchscreen/cyttsp4_core.c min = md->pdata->frmwrk->abs abs 1927 drivers/input/touchscreen/cyttsp4_core.c max = md->pdata->frmwrk->abs abs 1940 drivers/input/touchscreen/cyttsp4_core.c md->pdata->frmwrk->abs abs 1942 drivers/input/touchscreen/cyttsp4_core.c md->pdata->frmwrk->abs abs 251 drivers/input/touchscreen/cyttsp4_core.h int abs[CY_TCH_NUM_ABS]; abs 126 drivers/isdn/hardware/mISDN/hfcsusb.c hw->led_state &= ~abs(led_bits); abs 131 drivers/isdn/hardware/mISDN/hfcsusb.c hw->led_state |= abs(led_bits); abs 67 drivers/isdn/mISDN/dsp_ecdis.h det->channel_level += ((abs(amp) - det->channel_level) >> 5); abs 68 drivers/isdn/mISDN/dsp_ecdis.h det->notch_level += ((abs(notched) - det->notch_level) >> 4); abs 241 drivers/leds/leds-tca6507.c d = abs(msec - tt); abs 429 drivers/leds/leds-tca6507.c d = abs(level - tca->bank[i].level); abs 65 drivers/leds/trigger/ledtrig-pattern.c step_brightness = abs(data->next->brightness - data->curr->brightness); abs 244 drivers/macintosh/therm_adt746x.c if (abs(var - th->last_var[fan_number]) < 2) abs 49 drivers/macintosh/via-pmu-backlight.c int diff = abs(bl_curve[i] - value); abs 534 drivers/md/bcache/writeback.c int s = min_t(unsigned int, abs(nr_sectors), abs 1386 drivers/md/dm-raid.c if (!__within_range(abs(value), 1, MAX_RAID_DEVICES - rt->minimal_devs)) { abs 691 drivers/md/raid1.c dist = abs(this_sector - conf->mirrors[disk].head_position); abs 821 drivers/md/raid10.c new_distance = abs(r10_bio->devs[slot].addr - abs 7256 drivers/md/raid5.c if (abs(min_offset_diff) >= mddev->chunk_sectors && abs 7257 drivers/md/raid5.c abs(min_offset_diff) >= mddev->new_chunk_sectors) abs 30 drivers/media/common/siano/smsir.c .duration = abs(samples[i]) * 1000, /* Convert to ns */ abs 1276 drivers/media/dvb-frontends/dib0090.c if (abs(adc_error) < 50 || state->agc_step++ > 5) { abs 1745 drivers/media/dvb-frontends/dib0090.c if (abs(state->adc_diff) > abs(state->min_adc_diff)) { abs 809 drivers/media/dvb-frontends/dib7000p.c u32 abs_offset_khz = abs(offset_khz); abs 2677 drivers/media/dvb-frontends/dib8000.c u32 abs_offset_khz = abs(offset_khz); abs 1191 drivers/media/dvb-frontends/mb86a16.c if ((abs(prev_swp_freq[j] - swp_freq)) < (swp_ofs * 3 / 2)) { abs 1196 drivers/media/dvb-frontends/mb86a16.c if ((signal_dupl == 0) && (swp_freq > 0) && (abs(swp_freq - state->frequency * 1000) < fcp + state->srate / 6)) { abs 1370 drivers/media/dvb-frontends/mb86a16.c if (abs(state->frequency * 1000 - swp_freq) > 3800) { abs 318 drivers/media/dvb-frontends/mn88443x.c tmp = (s64)2 * intlog10(x) - intlog10(abs(d)) - d_3 abs 177 drivers/media/dvb-frontends/stb0899_algo.c if ((lock > 48) && (abs(timing) >= 110)) { abs 214 drivers/media/dvb-frontends/stb0899_algo.c if (abs(derot_freq) > derot_limit) abs 290 drivers/media/dvb-frontends/stb0899_algo.c if(abs(derot_freq) > derot_limit) abs 395 drivers/media/dvb-frontends/stb0899_algo.c if (abs(derot_freq) > derot_limit) abs 774 drivers/media/dvb-frontends/stb0899_algo.c while ((1 << i) <= abs(number)) abs 1199 drivers/media/dvb-frontends/stv0367.c for (counter = 0; counter < abs(timing_offset); counter++) { abs 1248 drivers/media/dvb-frontends/stv0900_sw.c if (abs(offsetFreq) <= ((intp->srch_range[d] / 2000) + 500)) abs 1250 drivers/media/dvb-frontends/stv0900_sw.c else if (abs(offsetFreq) <= abs 1255 drivers/media/dvb-frontends/stv0900_sw.c } else if (abs(offsetFreq) <= ((intp->srch_range[d] / 2000) + 500)) abs 2643 drivers/media/dvb-frontends/stv090x.c if (abs(offst_freq) <= ((state->search_range / 2000) + 500)) abs 2645 drivers/media/dvb-frontends/stv090x.c else if (abs(offst_freq) <= (stv090x_car_width(state->srate, state->rolloff) / 2000)) abs 2648 drivers/media/dvb-frontends/stv090x.c if (abs(offst_freq) <= ((state->search_range / 2000) + 500)) abs 138 drivers/media/dvb-frontends/stv6110x.c if ((abs((s32)(pCalc - pVal))) < (abs((s32)(pCalcOpt - pVal)))) abs 1605 drivers/media/i2c/adv7842.c u32 delta_freq = abs(freq - reduced_freq); abs 839 drivers/media/i2c/imx274.c val -= abs(w - ask_w); abs 840 drivers/media/i2c/imx274.c val -= abs(h - ask_h); abs 520 drivers/media/i2c/m5mols/m5mols_core.c err = abs(fsize->width - mf->width) abs 521 drivers/media/i2c/m5mols/m5mols_core.c + abs(fsize->height - mf->height); abs 631 drivers/media/i2c/max2175.c u32 nco_reg, abs_nco_freq = abs(nco_freq); abs 735 drivers/media/i2c/mt9m111.c gap = abs(fps - req_fps); abs 469 drivers/media/i2c/mt9v111.c diff = abs(fps - mt9v111_frame_intervals[i]); abs 506 drivers/media/i2c/mt9v111.c diff = abs(fps - t_fps); abs 912 drivers/media/i2c/mt9v111.c unsigned int fit = abs(mt9v111_frame_sizes[i].width - abs 914 drivers/media/i2c/mt9v111.c abs(mt9v111_frame_sizes[i].height - abs 367 drivers/media/i2c/noon010pc30.c int err = abs(fsize->width - mf->width) abs 368 drivers/media/i2c/noon010pc30.c + abs(fsize->height - mf->height); abs 931 drivers/media/i2c/ov2659.c delta = abs(delta); abs 1086 drivers/media/i2c/ov2659.c int err = abs(fsize->width - mf->width) abs 1087 drivers/media/i2c/ov2659.c + abs(fsize->height - mf->height); abs 887 drivers/media/i2c/ov5640.c if (abs(rate - _rate) < abs(rate - best)) { abs 2130 drivers/media/i2c/ov5640.c if (abs(curr_fps - fps) < abs(best_fps - fps)) { abs 784 drivers/media/i2c/ov5695.c return abs(mode->width - framefmt->width) + abs 785 drivers/media/i2c/ov5695.c abs(mode->height - framefmt->height); abs 1018 drivers/media/i2c/ov7251.c dist = abs(fps_req - fps_tmp); abs 615 drivers/media/i2c/ov772x.c diff = abs(fps - ov772x_frame_intervals[i]); abs 687 drivers/media/i2c/ov772x.c diff = abs(pclk - t_pclk); abs 944 drivers/media/i2c/ov772x.c u32 diff = abs(width - ov772x_win_sizes[i].rect.width) abs 945 drivers/media/i2c/ov772x.c + abs(height - ov772x_win_sizes[i].rect.height); abs 1138 drivers/media/i2c/ov9650.c err = abs((u64)(iv->interval.numerator * 10000) / abs 1198 drivers/media/i2c/ov9650.c int err = abs(fsize->width - mf->width) abs 1199 drivers/media/i2c/ov9650.c + abs(fsize->height - mf->height); abs 807 drivers/media/i2c/s5c73m3/s5c73m3-core.c int dist = abs(fs->width - fmt->width) + abs 808 drivers/media/i2c/s5c73m3/s5c73m3-core.c abs(fs->height - fmt->height); abs 910 drivers/media/i2c/s5c73m3/s5c73m3-core.c ret = abs(iv->interval.numerator / 1000 - fr_time); abs 508 drivers/media/i2c/s5k4ecgx.c int err = abs(fsize->size.width - mf->width) abs 509 drivers/media/i2c/s5k4ecgx.c + abs(fsize->size.height - mf->height); abs 966 drivers/media/i2c/s5k6aa.c err = abs(iv->reg_fr_time - fr_time); abs 578 drivers/media/i2c/saa6752hs.c dist_352 = abs(f->width - 352); abs 579 drivers/media/i2c/saa6752hs.c dist_480 = abs(f->width - 480); abs 580 drivers/media/i2c/saa6752hs.c dist_720 = abs(f->width - 720); abs 589 drivers/media/i2c/saa6752hs.c if (abs(f->height - 576) < abs(f->height - 288)) abs 1878 drivers/media/i2c/smiapp/smiapp-core.c val -= abs(w - ask_w); abs 1879 drivers/media/i2c/smiapp/smiapp-core.c val -= abs(h - ask_h); abs 401 drivers/media/i2c/sr030pc30.c int err = abs(fsize->width - mf->width) abs 402 drivers/media/i2c/sr030pc30.c + abs(fsize->height - mf->height); abs 447 drivers/media/i2c/tw9910.c tmp = abs(width - scale[i].width) + abs 448 drivers/media/i2c/tw9910.c abs(height - scale[i].height); abs 545 drivers/media/pci/cx25821/cx25821-medusa-video.c temp = ~(abs(numeric) & 0xFF); abs 373 drivers/media/platform/atmel/atmel-isc-base.c diff = abs(req->rate - rate); abs 856 drivers/media/platform/qcom/venus/hfi_venus.c return abs(qhdr->read_idx - qhdr->write_idx); abs 261 drivers/media/platform/rockchip/rga/rga-hw.c if (abs(src_w - dst_h) < 16) abs 533 drivers/media/platform/sh_vou.c err = abs(found - geo->in_width); abs 558 drivers/media/platform/sh_vou.c err = abs(found - geo->in_height); abs 602 drivers/media/platform/sh_vou.c err = abs(found - geo->output.width); abs 632 drivers/media/platform/sh_vou.c err = abs(found - geo->output.height); abs 123 drivers/media/platform/vivid/vivid-radio-common.c if (abs(sig_qual_tx) <= abs(sig_qual)) { abs 76 drivers/media/platform/vivid/vivid-radio-rx.c abs(dev->radio_rx_sig_qual) > 200) { abs 88 drivers/media/platform/vivid/vivid-radio-rx.c perc = abs(dev->radio_rx_sig_qual) / 4; abs 249 drivers/media/platform/vivid/vivid-radio-rx.c vt->signal = abs(sig_qual) > delta ? 0 : abs 250 drivers/media/platform/vivid/vivid-radio-rx.c 0xffff - ((unsigned)abs(sig_qual) * 0xffff) / delta; abs 252 drivers/media/platform/vivid/vivid-radio-rx.c if (abs(sig_qual) > delta) abs 101 drivers/media/platform/vivid/vivid-rds-gen.c (abs(sys_tz.tz_minuteswest) / 30); abs 174 drivers/media/radio/radio-sf16fmr2.c tc9154a_set_attenuation(fmr2, abs(left - 68), TC9154A_CHANNEL_LEFT); abs 175 drivers/media/radio/radio-sf16fmr2.c tc9154a_set_attenuation(fmr2, abs(right - 68), TC9154A_CHANNEL_RIGHT); abs 426 drivers/media/radio/tea575x.c if (abs(tea->freq - freq) < 16 * spacing || abs 1171 drivers/media/rc/imon.c if (abs(x) > threshold || abs(y) > threshold) { abs 1172 drivers/media/rc/imon.c if (abs(y) > abs(x)) abs 1403 drivers/media/rc/imon.c if (abs(rel_y) > abs(rel_x)) { abs 1466 drivers/media/rc/imon.c if (abs(rel_y) > abs(rel_x)) { abs 62 drivers/media/rc/ir-imon-decoder.c if (abs(rel_y) > abs(rel_x)) abs 379 drivers/media/tuners/fc0012.c tot_agc_gain = (abs((int_temp >> 5) - 7) - 2 + abs 538 drivers/media/tuners/fc0013.c tot_agc_gain = (abs((int_temp >> 5) - 7) - 2 + abs 647 drivers/media/tuners/mt2063.c if (abs(zones[i].min_) < abs(bestDiff)) abs 649 drivers/media/tuners/mt2063.c if (abs(zones[i].max_) < abs(bestDiff)) abs 33 drivers/media/usb/gspca/autogain_functions.c steps = abs(desired_avg_lum - avg_lum) / deadzone; abs 937 drivers/media/usb/stkwebcam/stk-webcam.c || (abs(fmtd->fmt.pix.width - stk_sizes[i-1].w) abs 938 drivers/media/usb/stkwebcam/stk-webcam.c < abs(fmtd->fmt.pix.width - stk_sizes[i].w))) { abs 387 drivers/media/usb/uvc/uvc_ctrl.c data[2] = min((int)abs(value), 0xff); abs 416 drivers/media/usb/uvc/uvc_ctrl.c data[first+1] = min_t(int, abs(value), 0xff); abs 399 drivers/media/usb/uvc/uvc_v4l2.c maxd = abs((s32)probe.dwFrameInterval - interval); abs 413 drivers/media/usb/uvc/uvc_v4l2.c d = abs((s32)ival - interval); abs 173 drivers/media/v4l2-core/v4l2-common.c error = abs(*entry_width - width) + abs(*entry_height - height); abs 66 drivers/misc/cxl/sysfs.c delta = abs(mftb() - psl_tb); abs 344 drivers/misc/echo/echo.c ec->ltxacc += abs(tx) - ec->ltx; abs 346 drivers/misc/echo/echo.c ec->lrxacc += abs(rx) - ec->lrx; abs 354 drivers/misc/echo/echo.c ec->lcleanacc += abs(ec->clean) - ec->lclean; abs 361 drivers/misc/echo/echo.c ec->lclean_bgacc += abs(clean_bg) - ec->lclean_bg; abs 512 drivers/misc/echo/echo.c ec->lbgn_acc += abs(ec->clean) - ec->lbgn; abs 34 drivers/misc/habanalabs/hw_queue.c return (abs(delta) - queue_len); abs 715 drivers/misc/lis3lv02d/lis3lv02d.c lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); abs 716 drivers/misc/lis3lv02d/lis3lv02d.c lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); abs 717 drivers/misc/lis3lv02d/lis3lv02d.c lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); abs 673 drivers/mmc/host/alcor.c tmp_diff = abs(clock - tmp_clock); abs 950 drivers/mmc/host/sdhci-of-esdhc.c if (abs(tbstat_15_8 - tbstat_7_0) > (4 * esdhc->div_ratio)) { abs 101 drivers/net/can/dev.c sample_point_error = abs(sample_point_nominal - sample_point); abs 159 drivers/net/can/dev.c bitrate_error = abs(bt->bitrate - bitrate); abs 151 drivers/net/can/softing/softing_fw.c (offset >= 0) ? '+' : '-', (unsigned int)abs(offset)); abs 433 drivers/net/ethernet/cadence/macb_main.c ferr = abs(rate_rounded - rate); abs 93 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c if (prev && (abs(fq->fqid - prev->fqid) != 1 || abs 104 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c if (prev && abs(fq->fqid - prev->fqid) == 1 && abs 736 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 len = abs(meta->ldst_gather_len); abs 1054 drivers/net/ethernet/netronome/nfp/bpf/jit.c shf = abs(src_byte - dst_byte) * 8; abs 1124 drivers/net/ethernet/netronome/nfp/bpf/jit.c shf = abs(src_byte - dst_byte) * 8; abs 5021 drivers/net/ethernet/qlogic/qed/qed_dev.c USTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); abs 5060 drivers/net/ethernet/qlogic/qed/qed_dev.c XSTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); abs 251 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs = p_cid->rel; abs 259 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); abs 263 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_fw_l2_queue(p_hwfn, p_cid->rel.queue_id, &p_cid->abs.queue_id); abs 272 drivers/net/ethernet/qlogic/qed/qed_l2.c &p_cid->abs.stats_id); abs 276 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs.stats_id = p_cid->rel.stats_id; abs 296 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs.vport_id, abs 299 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs.queue_id, abs 301 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs.stats_id, p_cid->sb_igu_id, p_cid->sb_idx); abs 521 drivers/net/ethernet/qlogic/qed/qed_l2.c cpu_to_le16(p_queue->abs.queue_id); abs 873 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cid->abs.queue_id, p_cid->abs.vport_id, p_cid->sb_igu_id); abs 891 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->vport_id = p_cid->abs.vport_id; abs 892 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->stats_counter_id = p_cid->abs.stats_id; abs 893 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->rx_queue_id = cpu_to_le16(p_cid->abs.queue_id); abs 929 drivers/net/ethernet/qlogic/qed/qed_l2.c MSTORM_ETH_PF_PRODS_OFFSET(p_cid->abs.queue_id); abs 1015 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->vport_id = p_cid->abs.vport_id; abs 1017 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->rx_queue_id = cpu_to_le16(p_cid->abs.queue_id); abs 1051 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->vport_id = p_cid->abs.vport_id; abs 1052 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->rx_queue_id = cpu_to_le16(p_cid->abs.queue_id); abs 1108 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->vport_id = p_cid->abs.vport_id; abs 1112 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->stats_counter_id = p_cid->abs.stats_id; abs 1114 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->queue_zone_id = cpu_to_le16(p_cid->abs.queue_id); abs 1115 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ramrod->same_as_last_id = cpu_to_le16(p_cid->abs.queue_id); abs 2119 drivers/net/ethernet/qlogic/qed/qed_l2.c USTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); abs 2152 drivers/net/ethernet/qlogic/qed/qed_l2.c XSTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); abs 351 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_queue_cid_params abs; abs 233 drivers/net/hamradio/baycom_ser_fdx.c if (abs(timediff) > bdus4) abs 1194 drivers/net/wan/ixp4xx_hss.c new_diff = abs((u32)new_rate - rate); abs 523 drivers/net/wan/sdla.c flp->dlci[i] = abs(flp->dlci[i]); abs 545 drivers/net/wan/sdla.c flp->dlci[i] = -abs(flp->dlci[i]); abs 567 drivers/net/wan/sdla.c if (abs(flp->dlci[i]) == *(short *)(master->dev_addr)) abs 639 drivers/net/wan/sdla.c ret = sdla_cmd(slave, SDLA_READ_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, abs 642 drivers/net/wan/sdla.c ret = sdla_cmd(slave, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, abs 951 drivers/net/wan/sdla.c dlcis[len++] = abs(flp->dlci[i]); abs 1019 drivers/net/wan/sdla.c data.dlci[len++] = abs(flp->dlci[i]); abs 1086 drivers/net/wan/sdla.c sdla_cmd(dev, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, &dlp->config, sizeof(struct dlci_conf), NULL, NULL); abs 301 drivers/net/wireless/ath/ath9k/ar5008_phy.c volatile int tmp_v = abs(cur_vit_mask - bin); abs 308 drivers/net/wireless/ath/ath9k/ar5008_phy.c mask_m[abs(cur_vit_mask / 100)] = mask_amt; abs 400 drivers/net/wireless/ath/ath9k/ar9003_aic.c ar9003_aic_find_index(0, abs(aic_sram[i].dir_path_gain_lin)) - abs 403 drivers/net/wireless/ath/ath9k/ar9003_aic.c ar9003_aic_find_index(0, abs(aic_sram[i].quad_path_gain_lin)) - abs 601 drivers/net/wireless/ath/ath9k/ar9003_calib.c s32 abs_i = abs(in_re), abs 602 drivers/net/wireless/ath/ath9k/ar9003_calib.c abs_q = abs(in_im), abs 861 drivers/net/wireless/ath/ath9k/ar9003_calib.c if ((abs(mp_coeff[i][0]) < abs(mp_max)) || abs 862 drivers/net/wireless/ath/ath9k/ar9003_calib.c (abs(mp_coeff[i][0]) < abs(mp_min))) { abs 878 drivers/net/wireless/ath/ath9k/ar9003_calib.c if (abs(mp_max - mp_min) > max_delta) { abs 879 drivers/net/wireless/ath/ath9k/ar9003_calib.c if (abs(mp_max - mp_avg) > abs(mp_min - mp_avg)) abs 5513 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c (abs(targetPowerValT2[i] - abs 87 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); abs 114 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); abs 582 drivers/net/wireless/ath/ath9k/ar9003_paprd.c tmp_abs = abs(x_tilde[i]); abs 601 drivers/net/wireless/ath/ath9k/ar9003_paprd.c abs_val = abs(B1_tmp[i]); abs 605 drivers/net/wireless/ath/ath9k/ar9003_paprd.c abs_val = abs(B2_tmp[i]); abs 628 drivers/net/wireless/ath/ath9k/ar9003_paprd.c Q_scale_B = find_proper_scale(find_expn(abs(scale_B)), 10); abs 632 drivers/net/wireless/ath/ath9k/ar9003_paprd.c Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); abs 633 drivers/net/wireless/ath/ath9k/ar9003_paprd.c Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); abs 684 drivers/net/wireless/ath/ath9k/ar9003_paprd.c Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); abs 685 drivers/net/wireless/ath/ath9k/ar9003_paprd.c Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); abs 560 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (abs(freq_offset) < range) { abs 568 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (abs(freq_offset) < range) abs 160 drivers/net/wireless/ath/ath9k/dfs.c if (abs(delta) < BIN_DELTA_MIN || abs(delta) > BIN_DELTA_MAX) { abs 168 drivers/net/wireless/ath/ath9k/dfs.c if (abs(ddelta) > MAX_DIFF) { abs 1356 drivers/net/wireless/ath/wil6210/debugfs.c abs(t / 1000), abs(t % 1000)); abs 51 drivers/net/wireless/broadcom/b43/lo.c if (unlikely(abs(control->i) > 16 || abs(control->q) > 16)) { abs 190 drivers/net/wireless/broadcom/b43/lo.c pga = abs(10 - lb_gain) / 6; abs 616 drivers/net/wireless/broadcom/b43/lo.c (abs(test_loctl.i) <= 16 && abs(test_loctl.q) <= 16)) { abs 1958 drivers/net/wireless/broadcom/b43/phy_g.c if (abs(gphy->cur_idle_tssi - gphy->tgt_idle_tssi) >= 20) { abs 2304 drivers/net/wireless/broadcom/b43/phy_g.c if (abs(channel - i) > 2) abs 2346 drivers/net/wireless/broadcom/b43/phy_g.c delta = abs(q - f); abs 1723 drivers/net/wireless/broadcom/b43/phy_lp.c prod_msb = fls(abs(prod)); abs 1724 drivers/net/wireless/broadcom/b43/phy_lp.c q_msb = fls(abs(qpwr)); abs 1779 drivers/net/wireless/broadcom/b43/phy_lp.c for (i = 1; samples * abs(freq) != 20000 * i; i++) { abs 1780 drivers/net/wireless/broadcom/b43/phy_lp.c samples = (20000 * i) / abs(freq); abs 2196 drivers/net/wireless/broadcom/b43/phy_n.c offset[i] = -((abs(offset[i]) + 4) / 8); abs 2221 drivers/net/wireless/broadcom/b43/phy_n.c offset[j] = -(abs(offset[j] + 4) / 8); abs 2373 drivers/net/wireless/broadcom/b43/phy_n.c currd = abs(results[vcm][i] - code * 8); abs 2375 drivers/net/wireless/broadcom/b43/phy_n.c currd = abs(miniq[vcm][i / 2] - code * 8); abs 2396 drivers/net/wireless/broadcom/b43/phy_n.c offset[i] = -((abs(offset[i]) + 4) / 8); abs 4521 drivers/net/wireless/broadcom/b43/phy_n.c iq_nbits = fls(abs(iq)); abs 1412 drivers/net/wireless/broadcom/b43legacy/phy.c if ((abs(transition.low) < 9) abs 1413 drivers/net/wireless/broadcom/b43legacy/phy.c && (abs(transition.high) < 9)) { abs 1959 drivers/net/wireless/broadcom/b43legacy/phy.c delta = abs(q - f); abs 290 drivers/net/wireless/broadcom/b43legacy/radio.c if (abs(channel - i) > 2) abs 2787 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c abs_val = abs(value); abs 3421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c num_samps = bw / abs(f_kHz); abs 3423 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c } while ((num_samps * (u32) (abs(f_kHz))) != bw); abs 3939 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if ((abs((s8) fi0) == 15) && (abs((s8) fq0) == 15)) { abs 22531 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c abs(fine_digital_offset abs 22610 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c = abs( abs 22886 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ? abs 22910 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c abs(fine_digital_offset[result_idx]); abs 27289 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (abs((int)last_pwr_ratio - abs 27291 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c abs((int)pwr_ratio - abs 28182 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) - abs 28185 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) - abs 963 drivers/net/wireless/intel/iwlegacy/3945-mac.c abs(rxq->write - rxq->read) > 7) { abs 898 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min(abs(delta_g), CHAIN_NOISE_MAX_DELTA_GAIN_CODE); abs 328 drivers/net/wireless/intel/iwlwifi/mvm/quota.c if (abs((int)le32_to_cpu(qdata->quota) - abs 623 drivers/net/wireless/intersil/p54/eeprom.c if (abs(freq - entry[i].freq) < abs 624 drivers/net/wireless/intersil/p54/eeprom.c abs(freq - entry[found].freq)) { abs 817 drivers/net/wireless/mac80211_hwsim.c u64 delta = abs(tsf - now); abs 1767 drivers/net/wireless/marvell/mwifiex/cfg80211.c subsc_evt.bcn_l_rssi_cfg.abs_value = abs(rssi_thold); abs 1768 drivers/net/wireless/marvell/mwifiex/cfg80211.c subsc_evt.bcn_h_rssi_cfg.abs_value = abs(rssi_thold); abs 136 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c subsc_evt->bcn_l_rssi_cfg.abs_value = abs(priv->bcn_rssi_avg - abs 138 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c subsc_evt->bcn_h_rssi_cfg.abs_value = abs(priv->cqm_rssi_thold); abs 140 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c subsc_evt->bcn_l_rssi_cfg.abs_value = abs(priv->cqm_rssi_thold); abs 141 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c subsc_evt->bcn_h_rssi_cfg.abs_value = abs(priv->bcn_rssi_avg + abs 1039 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (abs(val - dev->cal.temp_vco) > 20) { abs 1044 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (abs(val - dev->cal.temp) > 30) { abs 190 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (abs(val - frac) <= margin) abs 471 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (abs(event->width - cur_event->width) > width_delta || abs 610 drivers/net/wireless/mediatek/mt7601u/phy.c mantisa <<= abs(exp); abs 924 drivers/net/wireless/mediatek/mt7601u/phy.c if ((dev->prev_pwr_diff ^ diff_pwr) < 0 && abs(diff_pwr) < 4096 && abs 925 drivers/net/wireless/mediatek/mt7601u/phy.c (abs(diff_pwr) > abs(dev->prev_pwr_diff) || abs 1045 drivers/net/wireless/mediatek/mt7601u/phy.c if (abs(last_offset) >= activate_threshold) abs 1047 drivers/net/wireless/mediatek/mt7601u/phy.c else if (abs(last_offset) <= deactivate_threshold) abs 9337 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10) abs 9339 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10) abs 9346 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10) abs 9360 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10) abs 9362 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10) abs 9367 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10) abs 134 drivers/net/wireless/ralink/rt2x00/rt2x00link.c if (abs(rssi_curr - rssi_old) < 5) abs 2754 drivers/net/wireless/realtek/rtw88/rtw8822c.c dpk_info->thermal_dpk_delta[path] = abs(t2 - t1); abs 3270 drivers/net/wireless/rndis_wlan.c if (abs(j - update_jiffies) <= 10) abs 464 drivers/pinctrl/pinctrl-st.c unsigned int divergence = abs(delay - delay_times[i]); abs 1301 drivers/pinctrl/sunxi/pinctrl-sunxi.c best_diff = abs(freq - clock); abs 1305 drivers/pinctrl/sunxi/pinctrl-sunxi.c int cur_diff = abs(freq - (clock >> i)); abs 442 drivers/platform/x86/asus-laptop.c delta = abs(curr - (short)val); abs 745 drivers/power/supply/power_supply_core.c temp_diff = abs(info->ocv_temp[i] - temp); abs 47 drivers/ptp/ptp_dte.c #define DTE_PPB_ADJ(ppb) (u32)(div64_u64((((u64)abs(ppb) * BIT(28)) +\ abs 104 drivers/ptp/ptp_dte.c if ((delta < 0) && (abs(delta) > ns)) { abs 153 drivers/ptp/ptp_dte.c if (abs(ppb) > ptp_dte->caps.max_adj) { abs 3198 drivers/regulator/core.c return DIV_ROUND_UP(abs(new_uV - old_uV), ramp_delay); abs 3483 drivers/regulator/core.c if (abs(*current_uV - *min_uV) <= constraints->max_uV_step) abs 3707 drivers/regulator/core.c delta = abs(optimal_uV - current_uV); abs 818 drivers/regulator/qcom_spmi-regulator.c diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - abs 87 drivers/regulator/s2mpa01.c return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); abs 107 drivers/regulator/s2mps11.c return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); abs 839 drivers/rtc/rtc-ds1307.c ctrl_reg = DIV_ROUND_CLOSEST(abs(offset), abs 270 drivers/rtc/rtc-pcf85063.c error0 = abs(offset - (mode0 * PCF85063_OFFSET_STEP0)); abs 271 drivers/rtc/rtc-pcf85063.c error1 = abs(offset - (mode1 * PCF85063_OFFSET_STEP1)); abs 329 drivers/rtc/rtc-pcf8523.c if (abs(reg_m0 * 4340 - offset) < abs(reg_m1 * 4069 - offset)) abs 3005 drivers/scsi/cxlflash/main.c num_hwqs = num_online_cpus() / abs(nhwqs); abs 4212 drivers/scsi/scsi_debug.c modulo = abs(sdebug_every_nth); abs 4232 drivers/scsi/scsi_debug.c if ((atomic_read(&sdebug_cmnd_count) % abs(sdebug_every_nth)) > 0) { abs 4298 drivers/scsi/scsi_debug.c abs(sdebug_every_nth))) { abs 5571 drivers/scsi/scsi_debug.c if (0 == (atomic_read(&sdebug_cmnd_count) % abs(sdebug_every_nth))) { abs 5586 drivers/scsi/scsi_debug.c (atomic_read(&sdebug_cmnd_count) % abs(sdebug_every_nth)) == 0; abs 107 drivers/sh/clk/core.c rate_error = abs(freq - rounder->rate); abs 845 drivers/spi/spi-pxa2xx.c r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); abs 850 drivers/spi/spi-pxa2xx.c r2 = abs(fref2 / q2 - rate); abs 880 drivers/spi/spi-pxa2xx.c r1 = abs(fssp - rate); abs 123 drivers/spi/spi-sh-hspi.c tmp = abs(t->speed_hz - rate); abs 4900 drivers/staging/comedi/drivers/ni_mio_common.c if (abs(new_period_ps - target_picosec) < abs 4901 drivers/staging/comedi/drivers/ni_mio_common.c abs(best_period_picosec - target_picosec)) { abs 332 drivers/staging/fbtft/fb_agm1264k-fl.c if (abs(error_b) >= abs(error_w)) { abs 494 drivers/staging/iio/adc/ad7192.c diff_new = abs(freq - freq_avail[i]); abs 887 drivers/staging/media/imx/imx-media-csi.c err = abs((s64)tmp - want_us); abs 155 drivers/staging/media/imx/imx-media-fim.c error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal); abs 159 drivers/staging/media/imx/imx-media-fim.c error = abs((u32)error / NSEC_PER_USEC); abs 441 drivers/staging/rtl8188eu/hal/phy.c delta = abs(thermal_val - dm_odm->RFCalibrateInfo.ThermalValue); abs 443 drivers/staging/rtl8188eu/hal/phy.c delta = abs(thermal_val - hal_data->EEPROMThermalMeter); abs 450 drivers/staging/rtl8188eu/hal/phy.c delta_lck = abs(dm_odm->RFCalibrateInfo.ThermalValue_LCK - thermal_val); abs 451 drivers/staging/rtl8188eu/hal/phy.c delta_iqk = abs(dm_odm->RFCalibrateInfo.ThermalValue_IQK - thermal_val); abs 460 drivers/staging/rtl8188eu/hal/phy.c delta = abs(hal_data->EEPROMThermalMeter - thermal_val); abs 901 drivers/staging/rtl8188eu/hal/phy.c diff = abs(tmp1 - tmp2); abs 369 drivers/staging/sm750fb/ddk750_chip.c diff = abs(tmp_clock - request_orig); abs 229 drivers/thermal/power_allocator.c if (abs(i_next) < max_power_frac) { abs 506 drivers/thermal/rockchip_thermal.c num = abs(table->id[mid + 1].code - table->id[mid].code); abs 584 drivers/thermal/rockchip_thermal.c num *= abs(table->id[mid - 1].code - code); abs 585 drivers/thermal/rockchip_thermal.c denom = abs(table->id[mid - 1].code - table->id[mid].code); abs 245 drivers/thunderbolt/path.c num_hops = abs(tb_route_length(tb_route(src->sw)) - abs 231 drivers/tty/serial/8250/8250_omap.c abs_d13 = abs(baud - uartclk / 13 / div_13); abs 232 drivers/tty/serial/8250/8250_omap.c abs_d16 = abs(baud - uartclk / 16 / div_16); abs 218 drivers/tty/serial/ar933x_uart.c diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); abs 230 drivers/tty/serial/lpc32xx_hs.c if (abs(comprate - rate) < rate_diff) { abs 232 drivers/tty/serial/lpc32xx_hs.c rate_diff = abs(comprate - rate); abs 1067 drivers/tty/serial/msm_serial.c diff = abs(result - baud); abs 260 drivers/tty/serial/sccnxp.c int err = abs(a - b); abs 2223 drivers/tty/serial/sh-sci.c if (abs(err) >= abs(min_err)) abs 2253 drivers/tty/serial/sh-sci.c if (abs(err) >= abs(min_err)) abs 2318 drivers/tty/serial/sh-sci.c if (abs(err) >= abs(min_err)) abs 2423 drivers/tty/serial/sh-sci.c if (abs(err) < abs(min_err)) { abs 2438 drivers/tty/serial/sh-sci.c if (abs(err) < abs(min_err)) { abs 2454 drivers/tty/serial/sh-sci.c if (abs(err) < abs(min_err)) { abs 2468 drivers/tty/serial/sh-sci.c if (abs(err) < abs(min_err)) { abs 2546 drivers/tty/serial/sh-sci.c if (abs(deviation) >= 2) { abs 151 drivers/usb/chipidea/ci.h void __iomem *abs; abs 315 drivers/usb/chipidea/ci.h return ioread32(ci->hw_bank.abs + offset) & mask; abs 329 drivers/usb/chipidea/ci.h data = (ioread32(ci->hw_bank.abs + offset) & ~mask) abs 332 drivers/usb/chipidea/ci.h iowrite32(data, ci->hw_bank.abs + offset); abs 241 drivers/usb/chipidea/core.c ci->hw_bank.abs = base; abs 243 drivers/usb/chipidea/core.c ci->hw_bank.cap = ci->hw_bank.abs; abs 253 drivers/usb/chipidea/core.c ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; abs 125 drivers/usb/chipidea/host.c hcd->regs = ci->hw_bank.abs; abs 452 drivers/usb/serial/iuu_phoenix.c if (abs((int)(tmp - frq)) < abs 453 drivers/usb/serial/iuu_phoenix.c abs((int)(frq - result))) { abs 282 drivers/vfio/vfio_iommu_type1.c ret = __account_locked_vm(mm, abs(npage), npage > 0, dma->task, abs 406 drivers/video/backlight/pwm_bl.c unsigned int delta = abs(linear_value - data->levels[i]); abs 307 drivers/video/console/vgacon.c end = start + abs(lines); abs 462 drivers/video/fbdev/cirrusfb.c if (abs(freq - mclk) < 250) { abs 465 drivers/video/fbdev/cirrusfb.c } else if (abs(freq - (mclk / 2)) < 250) { abs 778 drivers/video/fbdev/core/modedb.c int score = abs(db[i].refresh - refresh); abs 781 drivers/video/fbdev/core/modedb.c score += abs(db_interlace - interlace); abs 806 drivers/video/fbdev/core/modedb.c tdiff = abs(db[i].xres - xres) + abs 807 drivers/video/fbdev/core/modedb.c abs(db[i].yres - yres); abs 1006 drivers/video/fbdev/core/modedb.c d = abs(cmode->xres - mode->xres) + abs 1007 drivers/video/fbdev/core/modedb.c abs(cmode->yres - mode->yres); abs 1010 drivers/video/fbdev/core/modedb.c diff_refresh = abs(cmode->refresh - mode->refresh); abs 1013 drivers/video/fbdev/core/modedb.c d = abs(cmode->refresh - mode->refresh); abs 194 drivers/video/fbdev/efifb.c bmp_height = abs(dib_header->height); abs 167 drivers/video/fbdev/geode/lxfb_ops.c min = abs(pll_table[0].freq - freq); abs 170 drivers/video/fbdev/geode/lxfb_ops.c diff = abs(pll_table[i].freq - freq); abs 136 drivers/video/fbdev/geode/video_gx.c min = abs(pll_table[0].pixclock - info->var.pixclock); abs 138 drivers/video/fbdev/geode/video_gx.c diff = abs(pll_table[i].pixclock - info->var.pixclock); abs 371 drivers/video/fbdev/i740fb.c if (abs(f_err) < err_max) { abs 377 drivers/video/fbdev/i740fb.c } while ((abs(f_err) >= err_target) && abs 378 drivers/video/fbdev/i740fb.c ((n <= TARGET_MAX_N) || (abs(err_best) > err_max))); abs 380 drivers/video/fbdev/i740fb.c if (abs(f_err) < err_target) { abs 216 drivers/video/fbdev/neofb.c f_diff = abs(f_out - freq); abs 383 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->gburst_size) + ((abs(ainfo->wcglwm) + 16 ) & ~0x7) - tmp > max_gfsize) abs 390 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->vburst_size) + (abs(ainfo->wcvlwm + 32) & ~0xf) - tmp> VFIFO_SIZE) abs 395 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->gocc) > max_gfsize) abs 400 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->vocc) > VFIFO_SIZE) abs 405 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->mocc) > MFIFO_SIZE) abs 410 drivers/video/fbdev/riva/riva_hw.c if (abs(vfsize) > VFIFO_SIZE) abs 415 drivers/video/fbdev/riva/riva_hw.c if (abs(gfsize) > max_gfsize) abs 420 drivers/video/fbdev/riva/riva_hw.c if (abs(mfsize) > MFIFO_SIZE) abs 499 drivers/video/fbdev/riva/riva_hw.c res_info->graphics_lwm = (int)abs(ainfo->wcglwm) + 16; abs 500 drivers/video/fbdev/riva/riva_hw.c res_info->video_lwm = (int)abs(ainfo->wcvlwm) + 32; abs 578 drivers/video/fbdev/smscufx.c int error = abs(pllout_freq1 - clk_pixel_pll); abs 312 drivers/video/fbdev/sstfb.c if ((abs(fout - freq) < best_err) && (m > 0)) { abs 315 drivers/video/fbdev/sstfb.c best_err = abs(fout - freq); abs 314 drivers/video/fbdev/tdfxfb.c int error = abs(f - freq); abs 850 drivers/video/fbdev/tridentfb.c di = abs(fi - freq); abs 321 drivers/video/fbdev/uvesafb.c h = abs(par->vbe_modes[i].x_res - xres) + abs 322 drivers/video/fbdev/uvesafb.c abs(par->vbe_modes[i].y_res - yres) + abs 323 drivers/video/fbdev/uvesafb.c abs(depth - par->vbe_modes[i].depth); abs 1376 drivers/video/fbdev/uvesafb.c if (depth == 0 || abs(depth - var->bits_per_pixel) >= 8) abs 1384 drivers/video/fbdev/via/hw.c f = abs(get_pll_output_frequency(f0, cur) - clk); abs 1388 drivers/video/fbdev/via/hw.c if (abs(get_pll_output_frequency(f0, up) - clk) < f) abs 1390 drivers/video/fbdev/via/hw.c else if (abs(get_pll_output_frequency(f0, down) - clk) < f) abs 1398 drivers/video/fbdev/via/hw.c f = abs(get_pll_output_frequency(f0, cur) - clk); abs 1399 drivers/video/fbdev/via/hw.c if (f < abs(get_pll_output_frequency(f0, best) - clk)) abs 2006 drivers/video/fbdev/via/hw.c if (abs(best->refresh - long_refresh) > 3) { abs 350 drivers/video/fbdev/via/viamode.c if (!best || abs(modes[i].refresh - refresh) < abs 351 drivers/video/fbdev/via/viamode.c abs(best->refresh - refresh)) abs 155 drivers/virtio/virtio_input.c static void virtinput_cfg_abs(struct virtio_input *vi, int abs) abs 159 drivers/virtio/virtio_input.c virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ABS_INFO, abs); abs 160 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.min, &mi); abs 161 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.max, &ma); abs 162 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.res, &re); abs 163 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); abs 164 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); abs 165 drivers/virtio/virtio_input.c input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); abs 166 drivers/virtio/virtio_input.c input_abs_set_res(vi->idev, abs, re); abs 206 drivers/virtio/virtio_input.c int abs, err; abs 286 drivers/virtio/virtio_input.c for (abs = 0; abs < ABS_CNT; abs++) { abs 287 drivers/virtio/virtio_input.c if (!test_bit(abs, vi->idev->absbit)) abs 289 drivers/virtio/virtio_input.c virtinput_cfg_abs(vi, abs); abs 610 fs/cifs/cifssmb.c seconds = abs(val); abs 3406 fs/ext4/mballoc.c cur_distance = abs(goal_block - cpa->pa_pstart); abs 3407 fs/ext4/mballoc.c new_distance = abs(goal_block - pa->pa_pstart); abs 165 fs/f2fs/debug.c dist = abs(vblocks - hblks_per_sec); abs 50 fs/gfs2/lock_dlm.c s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; abs 110 fs/ubifs/shrinker.c abs(time - znode->time) >= age) { abs 20 include/linux/dim.h (((100UL * abs((val) - (ref))) / (ref)) > 10) abs 28 include/linux/input/mt.h int abs[ABS_MT_LAST - ABS_MT_FIRST + 1]; abs 56 include/linux/input/mt.h slot->abs[code - ABS_MT_FIRST] = value; abs 62 include/linux/input/mt.h return slot->abs[code - ABS_MT_FIRST]; abs 25 include/linux/platform_data/cyttsp4.h const uint16_t *abs; abs 187 include/linux/ring_buffer.h void ring_buffer_set_time_stamp_abs(struct ring_buffer *buffer, bool abs); abs 176 include/uapi/linux/input.h #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ abs 177 include/uapi/linux/input.h #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ abs 65 include/uapi/linux/virtio_input.h struct virtio_input_absinfo abs; abs 2137 kernel/debug/kdb/kdb_main.c lines = abs(lines); abs 2140 kernel/debug/kdb/kdb_main.c lines = abs(lines); abs 41 kernel/power/suspend_test.c msec = jiffies_to_msecs(abs(nj)); abs 7775 kernel/sched/core.c delta = abs(sched_prio_to_weight[prio] - weight); abs 1565 kernel/sched/fair.c imb = abs(dst_load * src_capacity - src_load * dst_capacity); abs 1570 kernel/sched/fair.c old_imb = abs(orig_dst_load * src_capacity - orig_src_load * dst_capacity); abs 3159 kernel/sched/fair.c if (force || abs(delta) > cfs_rq->tg_load_avg_contrib / 64) { abs 238 kernel/time/clocksource.c if (abs(cs_nsec - wd_nsec) > WATCHDOG_THRESHOLD) { abs 1780 kernel/time/timekeeping.c if (abs(delta_delta.tv_sec) >= 2) { abs 1927 kernel/time/timekeeping.c (abs(tk->tkr_mono.mult - tk->tkr_mono.clock->mult) abs 1472 kernel/trace/ring_buffer.c void ring_buffer_set_time_stamp_abs(struct ring_buffer *buffer, bool abs) abs 1474 kernel/trace/ring_buffer.c buffer->time_stamp_abs = abs; abs 2308 kernel/trace/ring_buffer.c rb_add_time_stamp(struct ring_buffer_event *event, u64 delta, bool abs) abs 2310 kernel/trace/ring_buffer.c if (abs) abs 2316 kernel/trace/ring_buffer.c if (abs || rb_event_index(event)) { abs 2359 kernel/trace/ring_buffer.c bool abs = ring_buffer_time_stamp_abs(cpu_buffer->buffer); abs 2361 kernel/trace/ring_buffer.c event = rb_add_time_stamp(event, info->delta, abs); abs 6645 kernel/trace/trace.c int tracing_set_time_stamp_abs(struct trace_array *tr, bool abs) abs 6651 kernel/trace/trace.c if (abs && tr->time_stamp_abs_ref++) abs 6654 kernel/trace/trace.c if (!abs) { abs 6664 kernel/trace/trace.c ring_buffer_set_time_stamp_abs(tr->trace_buffer.buffer, abs); abs 6668 kernel/trace/trace.c ring_buffer_set_time_stamp_abs(tr->max_buffer.buffer, abs); abs 343 kernel/trace/trace.h extern int tracing_set_time_stamp_abs(struct trace_array *tr, bool abs); abs 76 lib/math/div64.c quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); abs 81 lib/math/div64.c quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); abs 174 lib/math/div64.c quot = div64_u64(abs(dividend), abs(divisor)); abs 208 lib/percpu_counter.c if (abs(count - rhs) > (batch * num_online_cpus())) { abs 699 mm/memcontrol.c if (unlikely(abs(x) > MEMCG_CHARGE_BATCH)) { abs 759 mm/memcontrol.c if (unlikely(abs(x) > MEMCG_CHARGE_BATCH)) { abs 1146 net/bluetooth/hci_core.c abs(p->data.rssi) >= abs(ie->data.rssi)) abs 3156 net/core/filter.c u32 len_cur, len_diff_abs = abs(len_diff); abs 817 net/core/rtnetlink.c clock = jiffies_to_clock_t(abs(expires)); abs 662 net/ipv4/tcp_bbr.c diff = abs(bw - bbr->lt_bw); abs 1122 net/iucv/iucv.c *residual = abs(size - 8); abs 204 net/mac80211/scan.c signal_valid = abs(channel->center_freq - cbss->channel->center_freq) abs 332 net/mac80211/tdls.c if (abs(uc.chan->center_freq - centers_80mhz[i]) <= 30) { abs 3038 net/mac80211/util.c diff = abs(ccf1 - ccf0); abs 513 net/netfilter/ipvs/ip_vs_sync.c if (abs(diff) < min_t(long, sync_refresh_period, min_diff)) { abs 163 net/sctp/auth.c for (i = 0; i < abs(diff); i++) { abs 350 net/sctp/transport.c + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); abs 1284 net/wireless/reg.c if (abs(freq_khz - freq_range->start_freq_khz) <= limit) abs 1286 net/wireless/reg.c if (abs(freq_khz - freq_range->end_freq_khz) <= limit) abs 1437 net/wireless/scan.c signal_valid = abs(data->chan->center_freq - channel->center_freq) <= abs 1855 net/wireless/scan.c signal_valid = abs(data->chan->center_freq - channel->center_freq) <= abs 287 sound/isa/gus/gus_main.c dma1 = abs(dma1); abs 290 sound/isa/gus/gus_main.c dma2 = abs(dma2); abs 299 sound/isa/gus/gus_main.c irq = abs(irq); abs 919 sound/oss/dmasound/dmasound_atari.c if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) < catchRadius) abs 1046 sound/oss/dmasound/dmasound_atari.c if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) < catchRadius) abs 517 sound/oss/dmasound/dmasound_q40.c if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius) abs 1757 sound/pci/korg1212/korg1212.c val = abs(val) * (korg1212->volumePhase[i] > 0 ? -1 : 1); abs 1768 sound/pci/korg1212/korg1212.c val = abs(val) * (korg1212->volumePhase[i+1] > 0 ? -1 : 1); abs 1798 sound/pci/korg1212/korg1212.c u->value.integer.value[0] = abs(korg1212->sharedBufferPtr->volumeData[i]); abs 1801 sound/pci/korg1212/korg1212.c u->value.integer.value[1] = abs(korg1212->sharedBufferPtr->volumeData[i+1]); abs 1823 sound/pci/korg1212/korg1212.c abs(korg1212->sharedBufferPtr->volumeData[i])) { abs 1834 sound/pci/korg1212/korg1212.c abs(korg1212->sharedBufferPtr->volumeData[i+1])) { abs 390 sound/soc/atmel/atmel-classd.c best_val = abs(fs - sample_rates[0].rate); abs 393 sound/soc/atmel/atmel-classd.c cur_val = abs(fs - sample_rates[i].rate); abs 307 sound/soc/atmel/atmel-i2s.c int val = abs(fs - gck_param->fs); abs 384 sound/soc/atmel/mchp-i2s-mcc.c diff_rate = abs(rate - round_rate); abs 78 sound/soc/codecs/ak4641.c abs(deemph_settings[i] - ak4641->playback_fs) < abs 79 sound/soc/codecs/ak4641.c abs(deemph_settings[best] - ak4641->playback_fs)) abs 2714 sound/soc/codecs/arizona.c return abs(a) >= 4096; abs 2716 sound/soc/codecs/arizona.c if (abs(b) >= 4096) abs 2719 sound/soc/codecs/arizona.c return (abs((a << 16) / (4096 - b)) >= 4096 << 4); abs 2775 sound/soc/codecs/arizona.c if (abs(val) >= 4096) { abs 267 sound/soc/codecs/cs4271.c if (abs(cs4271_deemph[i] - cs4271->rate) < abs 268 sound/soc/codecs/cs4271.c abs(cs4271_deemph[val] - cs4271->rate)) abs 703 sound/soc/codecs/cs42l52.c if (abs(mclk - mclk1) < abs(mclk - mclk2)) { abs 909 sound/soc/codecs/cs42l52.c if (abs(cs42l52->beep_rate - beep_rates[i]) < abs 910 sound/soc/codecs/cs42l52.c abs(cs42l52->beep_rate - beep_rates[best])) abs 973 sound/soc/codecs/cs42l56.c if (abs(cs42l56->beep_rate - beep_freq[i]) < abs 974 sound/soc/codecs/cs42l56.c abs(cs42l56->beep_rate - beep_freq[best])) abs 127 sound/soc/codecs/es8328.c if (abs(deemph_settings[i].rate - es8328->playback_fs) < abs 128 sound/soc/codecs/es8328.c abs(deemph_settings[best].rate - es8328->playback_fs)) abs 4611 sound/soc/codecs/madera.c return abs(a) >= 4096; abs 4613 sound/soc/codecs/madera.c if (abs(b) >= 4096) abs 4616 sound/soc/codecs/madera.c return (abs((a << 16) / (4096 - b)) >= 4096 << 4); abs 4677 sound/soc/codecs/madera.c if (abs(val) >= 4096) { abs 1432 sound/soc/codecs/max98088.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { abs 1434 sound/soc/codecs/max98088.c best_val = abs(pdata->eq_cfg[i].rate - fs); abs 1479 sound/soc/codecs/max98088.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { abs 1481 sound/soc/codecs/max98088.c best_val = abs(pdata->eq_cfg[i].rate - fs); abs 1840 sound/soc/codecs/max98090.c test_diff = abs(target_freq - (pclk / dmic_divisors[i])); abs 1522 sound/soc/codecs/max98095.c abs(pdata->eq_cfg[i].rate - fs) < best_val) { abs 1524 sound/soc/codecs/max98095.c best_val = abs(pdata->eq_cfg[i].rate - fs); abs 1673 sound/soc/codecs/max98095.c abs(pdata->bq_cfg[i].rate - fs) < best_val) { abs 1675 sound/soc/codecs/max98095.c best_val = abs(pdata->bq_cfg[i].rate - fs); abs 143 sound/soc/codecs/rl6231.c unsigned int red_t = abs(freq_out - freq_in); abs 185 sound/soc/codecs/rl6231.c red = abs(f_out - out_t); abs 197 sound/soc/codecs/rl6231.c red = abs(f_out - out_t); abs 214 sound/soc/codecs/tda7419.c val = abs(val); abs 236 sound/soc/codecs/tlv320aic23.c return abs(diff_adc) + abs(diff_dac); abs 1140 sound/soc/codecs/tlv320aic3x.c if (abs(codec_clk - tmp_clk) < abs 1141 sound/soc/codecs/tlv320aic3x.c abs(codec_clk - last_clk)) { abs 1168 sound/soc/codecs/tlv320aic3x.c if (abs(codec_clk - clk) < abs(codec_clk - last_clk)) { abs 99 sound/soc/codecs/wm8731.c if (abs(wm8731_deemph[i] - wm8731->playback_fs) < abs 100 sound/soc/codecs/wm8731.c abs(wm8731_deemph[best] - wm8731->playback_fs)) abs 427 sound/soc/codecs/wm8903.c if (abs(wm8903_deemph[i] - wm8903->fs) < abs 428 sound/soc/codecs/wm8903.c abs(wm8903_deemph[best] - wm8903->fs)) abs 1469 sound/soc/codecs/wm8903.c best_val = abs(sample_rates[dsp_config].rate - fs); abs 1471 sound/soc/codecs/wm8903.c cur_val = abs(sample_rates[i].rate - fs); abs 1512 sound/soc/codecs/wm8903.c best_val = abs((wm8903->sysclk / abs 1516 sound/soc/codecs/wm8903.c cur_val = abs((wm8903->sysclk / abs 434 sound/soc/codecs/wm8904.c abs(pdata->retune_mobile_cfgs[i].rate abs 437 sound/soc/codecs/wm8904.c best_val = abs(pdata->retune_mobile_cfgs[i].rate abs 501 sound/soc/codecs/wm8904.c if (abs(deemph_settings[i] - wm8904->fs) < abs 502 sound/soc/codecs/wm8904.c abs(deemph_settings[best] - wm8904->fs)) abs 1336 sound/soc/codecs/wm8904.c best_val = abs((wm8904->sysclk_rate / clk_sys_rates[0].ratio) abs 1339 sound/soc/codecs/wm8904.c cur_val = abs((wm8904->sysclk_rate / abs 1353 sound/soc/codecs/wm8904.c best_val = abs(wm8904->fs - sample_rates[0].rate); abs 1356 sound/soc/codecs/wm8904.c cur_val = abs(wm8904->fs - sample_rates[i].rate); abs 371 sound/soc/codecs/wm8955.c if (abs(deemph_settings[i] - wm8955->fs) < abs 372 sound/soc/codecs/wm8955.c abs(deemph_settings[best] - wm8955->fs)) abs 179 sound/soc/codecs/wm8960.c if (abs(deemph_settings[i] - wm8960->lrclk) < abs 180 sound/soc/codecs/wm8960.c abs(deemph_settings[best] - wm8960->lrclk)) abs 520 sound/soc/codecs/wm8961.c if (abs(wm8961_srate[i].rate - fs) < abs 521 sound/soc/codecs/wm8961.c abs(wm8961_srate[best].rate - fs)) abs 3165 sound/soc/codecs/wm8962.c if (abs(wm8962->beep_rate - beep_rates[i]) < abs 3166 sound/soc/codecs/wm8962.c abs(wm8962->beep_rate - beep_rates[best])) abs 794 sound/soc/codecs/wm8978.c diff = abs(wm8978->f_256fs * 3 - abs 693 sound/soc/codecs/wm8983.c srate_best = abs(srates[0] - params_rate(params)); abs 695 sound/soc/codecs/wm8983.c if (abs(srates[i] - params_rate(params)) >= srate_best) abs 698 sound/soc/codecs/wm8983.c srate_best = abs(srates[i] - params_rate(params)); abs 791 sound/soc/codecs/wm8985.c srate_best = abs(srates[0] - params_rate(params)); abs 793 sound/soc/codecs/wm8985.c if (abs(srates[i] - params_rate(params)) >= srate_best) abs 796 sound/soc/codecs/wm8985.c srate_best = abs(srates[i] - params_rate(params)); abs 1242 sound/soc/codecs/wm8993.c best_val = abs((wm8993->sysclk_rate / clk_sys_rates[0].ratio) abs 1245 sound/soc/codecs/wm8993.c cur_val = abs((wm8993->sysclk_rate / abs 1259 sound/soc/codecs/wm8993.c best_val = abs(wm8993->fs - sample_rates[0].rate); abs 1262 sound/soc/codecs/wm8993.c cur_val = abs(wm8993->fs - sample_rates[i].rate); abs 1306 sound/soc/codecs/wm8993.c best_val = abs(wm8993->pdata.retune_configs[0].rate abs 1309 sound/soc/codecs/wm8993.c cur_val = abs(wm8993->pdata.retune_configs[i].rate abs 137 sound/soc/codecs/wm8994.c if (abs(rates[i].sysclk - sysclk) < abs 138 sound/soc/codecs/wm8994.c abs(rates[best].sysclk - sysclk)) abs 421 sound/soc/codecs/wm8994.c abs(pdata->retune_mobile_cfgs[i].rate abs 424 sound/soc/codecs/wm8994.c best_val = abs(pdata->retune_mobile_cfgs[i].rate abs 2885 sound/soc/codecs/wm8994.c best_val = abs((fs_ratios[0] * params_rate(params)) abs 2888 sound/soc/codecs/wm8994.c cur_val = abs((fs_ratios[i] * params_rate(params)) abs 1630 sound/soc/codecs/wm8995.c best_val = abs((fs_ratios[1] * params_rate(params)) abs 1633 sound/soc/codecs/wm8995.c cur_val = abs((fs_ratios[i] * params_rate(params)) abs 372 sound/soc/codecs/wm8996.c abs(pdata->retune_mobile_cfgs[i].rate abs 375 sound/soc/codecs/wm8996.c best_val = abs(pdata->retune_mobile_cfgs[i].rate abs 1786 sound/soc/codecs/wm8996.c if (abs(dsp_divs[i] - params_rate(params)) < abs 1787 sound/soc/codecs/wm8996.c abs(dsp_divs[best] - params_rate(params))) abs 1055 sound/soc/codecs/wm9081.c best_val = abs((wm9081->sysclk_rate / clk_sys_rates[0].ratio) abs 1058 sound/soc/codecs/wm9081.c cur_val = abs((wm9081->sysclk_rate / abs 1072 sound/soc/codecs/wm9081.c best_val = abs(wm9081->fs - sample_rates[0].rate); abs 1075 sound/soc/codecs/wm9081.c cur_val = abs(wm9081->fs - sample_rates[i].rate); abs 1115 sound/soc/codecs/wm9081.c best_val = abs(pdata->retune_configs[0].rate - wm9081->fs); abs 1117 sound/soc/codecs/wm9081.c cur_val = abs(pdata->retune_configs[i].rate - abs 243 sound/soc/img/img-i2s-out.c diff_a = abs((pre_div_a / 256) - rate); abs 244 sound/soc/img/img-i2s-out.c diff_b = abs((pre_div_b / 384) - rate); abs 259 sound/soc/img/img-i2s-out.c diff_a = abs((clk_rate / 256) - rate); abs 260 sound/soc/img/img-i2s-out.c diff_b = abs((clk_rate / 384) - rate); abs 261 sound/soc/img/img-spdif-out.c diff_a = abs((pre_div_a / 256) - rate); abs 262 sound/soc/img/img-spdif-out.c diff_b = abs((pre_div_b / 384) - rate); abs 277 sound/soc/img/img-spdif-out.c diff_a = abs((clk_rate / 256) - rate); abs 278 sound/soc/img/img-spdif-out.c diff_b = abs((clk_rate / 384) - rate); abs 595 sound/soc/samsung/s3c-i2s-v2.c deviation = abs(deviation); abs 1005 sound/soc/sh/fsi.c diff = abs(actual - target); abs 136 sound/soc/sh/rcar/adg.c diff = abs(target_rate - sel_rate[sel] / div); abs 284 sound/soc/sunxi/sun8i-codec.c unsigned int diff = abs(bdiv->div - div); abs 1356 sound/soc/ti/davinci-mcasp.c if (abs(ppm) < DAVINCI_MAX_RATE_ERROR_PPM) { abs 1404 sound/soc/ti/davinci-mcasp.c if (abs(ppm) < DAVINCI_MAX_RATE_ERROR_PPM) { abs 752 sound/soc/uniphier/aio-core.c diff = abs(vol - cur); abs 139 sound/usb/caiaq/input.c weight_b = abs(mid_value - a) - (range / 2 - 100) / 2; abs 1704 sound/usb/pcm.c if (abs(est_delay - subs->last_delay) * 1000 > runtime->rate * 2) abs 1091 tools/perf/builtin-timechart.c else if (from && to && abs(from - to) == 1) abs 492 tools/perf/util/parse-events.c err = abs(err); abs 1063 tools/perf/util/stat-display.c int h, n = 1 + abs((int) (100.0 * (run - avg)/run) / 5); abs 152 tools/power/x86/intel-speed-select/isst-display.c if (abs(last_level - level) < 3) abs 15 tools/testing/selftests/cgroup/cgroup_util.h return abs(a - b) <= (a + b) / 100 * err; abs 69 tools/testing/selftests/timers/posix_timers.c if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { abs 129 tools/testing/selftests/timers/raw_skew.c printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); abs 135 tools/testing/selftests/timers/raw_skew.c printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000)));