Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/Linux-v5.15/tools/testing/selftests/timens/
Dclock_nanosleep.c29 int abs; member
36 clock_nanosleep(args->clockid, args->abs ? TIMER_ABSTIME : 0, args->now, args->rem); in call_nanosleep()
41 int run_test(int clockid, int abs) in run_test() argument
63 if (abs) { in run_test()
69 args.abs = abs; in run_test()
100 ksft_test_result_pass("clockid: %d abs:%d timeout\n", clockid, abs); in run_test()
106 clockid, abs, rem.tv_sec); in run_test()
109 ksft_test_result_pass("clockid: %d abs:%d\n", clockid, abs); in run_test()
Dexec.c33 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
53 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main()
/Linux-v5.15/drivers/input/touchscreen/
Dcyttsp4_core.c391 enum cyttsp4_tch_abs abs; in cyttsp4_si_get_opcfg_data() local
435 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data()
436 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
437 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; in cyttsp4_si_get_opcfg_data()
452 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { in cyttsp4_si_get_opcfg_data()
453 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
463 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data()
465 cyttsp4_tch_abs_string[abs]); in cyttsp4_si_get_opcfg_data()
467 si->si_ofs.tch_abs[abs].ofs); in cyttsp4_si_get_opcfg_data()
469 si->si_ofs.tch_abs[abs].size); in cyttsp4_si_get_opcfg_data()
[all …]
/Linux-v5.15/drivers/virtio/
Dvirtio_input.c172 static void virtinput_cfg_abs(struct virtio_input *vi, int abs) in virtinput_cfg_abs() argument
176 virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ABS_INFO, abs); in virtinput_cfg_abs()
177 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.min, &mi); in virtinput_cfg_abs()
178 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.max, &ma); in virtinput_cfg_abs()
179 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.res, &re); in virtinput_cfg_abs()
180 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); in virtinput_cfg_abs()
181 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); in virtinput_cfg_abs()
182 input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); in virtinput_cfg_abs()
183 input_abs_set_res(vi->idev, abs, re); in virtinput_cfg_abs()
223 int abs, err, nslots; in virtinput_probe() local
[all …]
/Linux-v5.15/drivers/input/joystick/
Dadi.c103 char *abs; member
203 char *abs = adi->abs; in adi_decode() local
211 input_report_abs(dev, *abs++, adi_get_bits(adi, 10)); in adi_decode()
214 input_report_abs(dev, *abs++, adi_get_bits(adi, 8)); in adi_decode()
219 input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1)); in adi_decode()
220 input_report_abs(dev, *abs++, ((t >> 1) & 1) - ((t >> 3) & 1)); in adi_decode()
227 input_report_abs(dev, *abs++, adi_hat_to_axis[t].x); in adi_decode()
228 input_report_abs(dev, *abs++, adi_hat_to_axis[t].y); in adi_decode()
401 adi->abs = adi_abs[t]; in adi_init_input()
420 set_bit(adi->abs[i], input_dev->absbit); in adi_init_input()
[all …]
Dtmdc.c79 char abs; member
100 const signed char *abs; member
115 signed char *abs[2];
183 if (port->abs[i] < 0) in tmdc_parse_packet()
186 input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]); in tmdc_parse_packet()
282 port->abs = model->axes; in tmdc_setup_port()
290 port->absc = model->abs; in tmdc_setup_port()
320 if (port->abs[i] >= 0) in tmdc_setup_port()
321 input_set_abs_params(input_dev, port->abs[i], 8, 248, 2, 4); in tmdc_setup_port()
Dguillemot.c44 short *abs; member
119 for (i = 0; i < 6 && guillemot->type->abs[i] >= 0; i++) in guillemot_poll()
120 input_report_abs(dev, guillemot->type->abs[i], data[i + 5]); in guillemot_poll()
224 for (i = 0; (t = guillemot->type->abs[i]) >= 0; i++) in guillemot_connect()
/Linux-v5.15/include/linux/input/
Dmt.h28 int abs[ABS_MT_LAST - ABS_MT_FIRST + 1]; member
56 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
62 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
/Linux-v5.15/lib/math/
Ddiv64.c78 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
83 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
176 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
/Linux-v5.15/arch/h8300/lib/
Dabs.S2 ;;; abs.S
15 ;;; int abs(int n)
/Linux-v5.15/tools/testing/selftests/resctrl/
Dcache.c298 avg_diff = (long)abs(cache_span - avg_llc_val); in show_cache_info()
301 ret = platform && abs((int)diff_percent) > max_diff_percent && in show_cache_info()
302 (cmt ? (abs(avg_diff) > max_diff) : true); in show_cache_info()
307 ksft_print_msg("Percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
/Linux-v5.15/include/uapi/linux/
Dinput.h176 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ argument
177 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ argument
/Linux-v5.15/drivers/media/test-drivers/vivid/
Dvivid-radio-rx.c76 abs(dev->radio_rx_sig_qual) > 200) { in vivid_radio_rx_read()
88 perc = abs(dev->radio_rx_sig_qual) / 4; in vivid_radio_rx_read()
249 vt->signal = abs(sig_qual) > delta ? 0 : in vivid_radio_rx_g_tuner()
250 0xffff - ((unsigned)abs(sig_qual) * 0xffff) / delta; in vivid_radio_rx_g_tuner()
252 if (abs(sig_qual) > delta) in vivid_radio_rx_g_tuner()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dmcp77.c218 if (abs(core - out) <= abs(core - (clock >> 1))) { in mcp77_clk_calc()
246 if (abs(shader - out) <= in mcp77_clk_calc()
247 abs(shader - clock) && in mcp77_clk_calc()
261 if(abs(vdec - out) <= abs(vdec - clock)) { in mcp77_clk_calc()
/Linux-v5.15/arch/hexagon/lib/
Dmodsi3.S11 r2 = abs(r0)
12 r1 = abs(r1)
/Linux-v5.15/drivers/isdn/mISDN/
Ddsp_ecdis.h67 det->channel_level += ((abs(amp) - det->channel_level) >> 5); in echo_can_disable_detector_update()
68 det->notch_level += ((abs(notched) - det->notch_level) >> 4); in echo_can_disable_detector_update()
/Linux-v5.15/sound/soc/codecs/
Drl6231.c147 unsigned int red_t = abs(freq_out - freq_in); in rl6231_pll_calc()
192 red = abs(f_out - out_t); in rl6231_pll_calc()
204 red = abs(f_out - out_t); in rl6231_pll_calc()
/Linux-v5.15/drivers/usb/chipidea/
Dci.h152 void __iomem *abs; member
324 return ioread32(ci->hw_bank.abs + offset) & mask; in hw_read_id_reg()
338 data = (ioread32(ci->hw_bank.abs + offset) & ~mask) in hw_write_id_reg()
341 iowrite32(data, ci->hw_bank.abs + offset); in hw_write_id_reg()
/Linux-v5.15/arch/m68k/fpsp040/
Dbindec.S28 | A2. Set X = abs(input).
57 | 10^^(abs(ISCALE)) using a rounding mode which is a
122 | a2: pointer to FP_X; abs(original value) in ext
208 | A2. Set X = abs(input).
214 andil #0x7fffffff,FP_SCR2(%a6) |create abs(X)
332 | of ISCALE, used in A9. Fp1 contains 10^^(abs(ISCALE)) using
398 negl %d0 |and take abs of ISCALE
629 | fp0: int portion of Y/abs(YINT) adjusted
662 fabsx %fp0 |take abs of YINT
665 | Compare abs(YINT) to 10^(LEN-1) and 10^LEN
[all …]
/Linux-v5.15/drivers/misc/echo/
Decho.c344 ec->ltxacc += abs(tx) - ec->ltx; in oslec_update()
346 ec->lrxacc += abs(rx) - ec->lrx; in oslec_update()
354 ec->lcleanacc += abs(ec->clean) - ec->lclean; in oslec_update()
361 ec->lclean_bgacc += abs(clean_bg) - ec->lclean_bg; in oslec_update()
512 ec->lbgn_acc += abs(ec->clean) - ec->lbgn; in oslec_update()
/Linux-v5.15/drivers/thermal/
Dk3_bandgap.c94 int d01 = abs(s0 - s1); in vtm_get_best_value()
95 int d02 = abs(s0 - s2); in vtm_get_best_value()
96 int d12 = abs(s1 - s2); in vtm_get_best_value()
/Linux-v5.15/arch/mips/include/asm/
Dmc146818-time.h57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mc146818_set_rtc_mmss()
61 if (abs(real_minutes - cmos_minutes) < 30) { in mc146818_set_rtc_mmss()
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dar9003_paprd.c87 delta = abs((int) ah->paprd_target_power - (int) power); in ar9003_get_training_power_2g()
114 delta = abs((int) ah->paprd_target_power - (int) power); in ar9003_get_training_power_5g()
582 tmp_abs = abs(x_tilde[i]); in create_pa_curve()
601 abs_val = abs(B1_tmp[i]); in create_pa_curve()
605 abs_val = abs(B2_tmp[i]); in create_pa_curve()
628 Q_scale_B = find_proper_scale(find_expn(abs(scale_B)), 10); in create_pa_curve()
632 Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); in create_pa_curve()
633 Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); in create_pa_curve()
684 Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); in create_pa_curve()
685 Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); in create_pa_curve()
/Linux-v5.15/arch/mips/dec/
Dtime.c96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in update_persistent_clock64()
100 if (abs(real_minutes - cmos_minutes) < 30) { in update_persistent_clock64()
/Linux-v5.15/arch/nds32/lib/
Dcopy_template.S13 abs $r4, $r4 ! check how many un-align byte to copy
28 abs $r3, $r3

12345678910>>...20