/linux-master/drivers/leds/rgb/ |
H A D | leds-ncp5623.c | 136 if (abs(brightness_diff) == 1) 139 ncp->delay = abs(brightness_diff);
|
/linux-master/drivers/clk/imx/ |
H A D | clk-composite-8m.c | 65 if (abs(new_error) < abs(error)) {
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 123 for (i = 0; abs(rendezvoused) != 1; i++) { 127 abs(rendezvoused) - 1);
|
/linux-master/drivers/input/misc/ |
H A D | xen-kbdfront.c | 274 unsigned int abs; local 276 /* Set input abs params to match backend screen res */ 277 abs = xenbus_read_unsigned(dev->otherend, 285 if (abs) { 289 pr_warn("xenkbd: can't request abs-pointer\n"); 290 abs = 0; 303 if (abs) {
|
/linux-master/drivers/iio/common/scmi_sensors/ |
H A D | scmi_iio.c | 74 do_div(time, int_pow(10, abs(tstamp_scale))); 272 sensor_interval_mult = int_pow(10, abs(mult)); 345 *val2 = int_pow(10, abs(scale)); 401 int_pow(10, abs(exponent)) 506 sensor_interval_mult = int_pow(10, abs(mult));
|
/linux-master/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 191 int abs = -1; local 232 abs = i; 243 if (abs > -1) { 244 input_report_abs(ts->input, ABS_X, point[abs].coord_x); 245 input_report_abs(ts->input, ABS_Y, point[abs].coord_y);
|
/linux-master/drivers/media/i2c/ |
H A D | saa6752hs.c | 578 dist_352 = abs(f->width - 352); 579 dist_480 = abs(f->width - 480); 580 dist_720 = abs(f->width - 720); 589 if (abs(f->height - 576) < abs(f->height - 288))
|
/linux-master/drivers/hid/ |
H A D | hid-sony.c | 592 unsigned int abs = usage->hid & HID_USAGE; local 594 if (abs == GUITAR_TILT_USAGE) { 683 unsigned int abs = usage->hid & HID_USAGE; local 685 if (abs >= ARRAY_SIZE(navigation_absmap)) 688 abs = navigation_absmap[abs]; 690 hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); 732 unsigned int abs = usage->hid & HID_USAGE; local 734 if (abs >= ARRAY_SIZE(sixaxis_absmap)) 737 abs [all...] |
/linux-master/drivers/thermal/ |
H A D | k3_j72xx_bandgap.c | 203 int d01 = abs(s0 - s1); 204 int d02 = abs(s0 - s2); 205 int d12 = abs(s1 - s2);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | veristat.c | 103 bool abs[ALL_STATS_CNT]; member in struct:stat_specs 138 bool abs; member in struct:filter 556 f->abs = true; 778 specs->abs[specs->spec_cnt] = is_abs; 1139 enum stat_id id, bool asc, bool abs) 1160 if (abs) { 1184 env.sort_spec.asc[i], env.sort_spec.abs[i]); 1254 bool asc, bool abs) 1263 if (abs) { 1286 env.sort_spec.abs[ 1138 cmp_stat(const struct verif_stats *s1, const struct verif_stats *s2, enum stat_id id, bool asc, bool abs) argument 1251 cmp_join_stat(const struct verif_stats_join *s1, const struct verif_stats_join *s2, enum stat_id id, enum stat_variant var, bool asc, bool abs) argument [all...] |
/linux-master/drivers/media/usb/gspca/ |
H A D | autogain_functions.c | 33 steps = abs(desired_avg_lum - avg_lum) / deadzone;
|
/linux-master/fs/ubifs/ |
H A D | shrinker.c | 110 abs(time - znode->time) >= age) {
|
/linux-master/drivers/soc/samsung/ |
H A D | exynos-regulator-coupler.c | 170 delta = abs(optimal_uV - current_uV);
|
/linux-master/arch/microblaze/kernel/ |
H A D | unwind.c | 65 return abs((s16)(instr & 0xFFFF));
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mcu.c | 21 abs(cmd), seq);
|
/linux-master/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 142 value = abs(val1) * int_pow(10, -exp); 143 value += abs(val2) / divisor; 146 value = abs(val1) / divisor; 380 exp = abs(exp);
|
/linux-master/drivers/gpu/drm/mcde/ |
H A D | mcde_clk_div.c | 61 diff = abs(rate - div_rate);
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | stpddc60.c | 53 offset = DIV_ROUND_CLOSEST(abs(l - v), 50);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_l2.c | 227 p_cid->abs = p_cid->rel; 235 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); 239 rc = qed_fw_l2_queue(p_hwfn, p_cid->rel.queue_id, &p_cid->abs.queue_id); 248 &p_cid->abs.stats_id); 252 p_cid->abs.stats_id = p_cid->rel.stats_id; 272 p_cid->abs.vport_id, 275 p_cid->abs.queue_id, 277 p_cid->abs.stats_id, p_cid->sb_igu_id, p_cid->sb_idx); 501 cpu_to_le16(p_queue->abs.queue_id); 853 p_cid->abs [all...] |
/linux-master/include/linux/ |
H A D | math.h | 136 * abs - return absolute value of an argument 143 #define abs(x) __abs_choose_expr(x, long long, \ macro
|
/linux-master/fs/bcachefs/ |
H A D | nocow_locking.c | 117 prt_printf(out, ": %s %u ", v < 0 ? "copy" : "update", abs(v));
|
/linux-master/drivers/clk/analogbits/ |
H A D | wrpll-cln28hpc.c | 295 delta = abs(target_rate - vco);
|
/linux-master/sound/soc/img/ |
H A D | img-i2s-out.c | 243 diff_a = abs((pre_div_a / 256) - rate); 244 diff_b = abs((pre_div_b / 384) - rate); 259 diff_a = abs((clk_rate / 256) - rate); 260 diff_b = abs((clk_rate / 384) - rate);
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 101 (abs(sys_tz.tz_minuteswest) / 30);
|
/linux-master/drivers/macintosh/ |
H A D | via-pmu-backlight.c | 49 int diff = abs(bl_curve[i] - value);
|