Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.6.21/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-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3326-odroid-go3.dts46 abs-flat = <10>;
47 abs-fuzz = <10>;
48 abs-range = <180 800>;
54 abs-flat = <10>;
55 abs-fuzz = <10>;
56 abs-range = <180 800>;
62 abs-flat = <10>;
63 abs-fuzz = <10>;
64 abs-range = <180 800>;
70 abs-flat = <10>;
[all …]
Drk3326-odroid-go2.dts25 abs-flat = <10>;
26 abs-fuzz = <10>;
27 abs-range = <172 772>;
33 abs-flat = <10>;
34 abs-fuzz = <10>;
35 abs-range = <278 815>;
Drk3326-odroid-go2-v11.dts29 abs-flat = <10>;
30 abs-fuzz = <10>;
31 abs-range = <172 772>;
37 abs-flat = <10>;
38 abs-fuzz = <10>;
39 abs-range = <278 815>;
Drk3566-anbernic-rgxx3.dtsi31 abs-flat = <32>;
32 abs-fuzz = <32>;
33 abs-range = <1023 15>;
39 abs-flat = <32>;
40 abs-fuzz = <32>;
41 abs-range = <15 1023>;
47 abs-flat = <32>;
48 abs-fuzz = <32>;
49 abs-range = <15 1023>;
55 abs-flat = <32>;
[all …]
/linux-6.6.21/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 …]
Dcyttsp5.c166 int abs[CY_TCH_NUM_ABS]; member
281 enum cyttsp5_tch_abs abs; in cyttsp5_get_touch_record() local
283 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) in cyttsp5_get_touch_record()
284 cyttsp5_get_touch_axis(&touch->abs[abs], in cyttsp5_get_touch_record()
285 si->tch_abs[abs].size, in cyttsp5_get_touch_record()
286 si->tch_abs[abs].max, in cyttsp5_get_touch_record()
287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record()
288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record()
301 memset(tch->abs, 0, sizeof(tch->abs)); in cyttsp5_get_mt_touches()
317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/input/
Dadc-joystick.yaml68 abs-range:
80 abs-fuzz:
86 abs-flat:
97 - abs-range
116 abs-range = <3300 0>;
117 abs-fuzz = <4>;
118 abs-flat = <200>;
123 abs-range = <0 3300>;
124 abs-fuzz = <4>;
125 abs-flat = <200>;
/linux-6.6.21/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-6.6.21/drivers/input/joystick/
Dadi.c100 char *abs; member
200 char *abs = adi->abs; in adi_decode() local
208 input_report_abs(dev, *abs++, adi_get_bits(adi, 10)); in adi_decode()
211 input_report_abs(dev, *abs++, adi_get_bits(adi, 8)); in adi_decode()
216 input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1)); in adi_decode()
217 input_report_abs(dev, *abs++, ((t >> 1) & 1) - ((t >> 3) & 1)); in adi_decode()
224 input_report_abs(dev, *abs++, adi_hat_to_axis[t].x); in adi_decode()
225 input_report_abs(dev, *abs++, adi_hat_to_axis[t].y); in adi_decode()
398 adi->abs = adi_abs[t]; in adi_init_input()
417 set_bit(adi->abs[i], input_dev->absbit); in adi_init_input()
[all …]
Dtmdc.c76 char abs; member
97 const signed char *abs; member
112 signed char *abs[2];
180 if (port->abs[i] < 0) in tmdc_parse_packet()
183 input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]); in tmdc_parse_packet()
279 port->abs = model->axes; in tmdc_setup_port()
287 port->absc = model->abs; in tmdc_setup_port()
317 if (port->abs[i] >= 0) in tmdc_setup_port()
318 input_set_abs_params(input_dev, port->abs[i], 8, 248, 2, 4); in tmdc_setup_port()
Dguillemot.c41 short *abs; member
116 for (i = 0; i < 6 && guillemot->type->abs[i] >= 0; i++) in guillemot_poll()
117 input_report_abs(dev, guillemot->type->abs[i], data[i + 5]); in guillemot_poll()
221 for (i = 0; (t = guillemot->type->abs[i]) >= 0; i++) in guillemot_connect()
/linux-6.6.21/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-6.6.21/lib/math/
Ddiv64.c72 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
77 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
165 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
/linux-6.6.21/tools/testing/selftests/resctrl/
Dcache.c292 avg_diff = (long)abs(cache_span - avg_llc_val); in show_cache_info()
295 ret = platform && abs((int)diff_percent) > max_diff_percent && in show_cache_info()
296 (cmt ? (abs(avg_diff) > max_diff) : true); in show_cache_info()
301 ksft_print_msg("Percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
/linux-6.6.21/include/uapi/linux/
Dinput.h179 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ argument
180 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ argument
/linux-6.6.21/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-go-ultra.dts34 abs-range = <3150 950>;
35 abs-fuzz = <32>;
36 abs-flat = <64>;
41 abs-range = <700 2900>;
42 abs-fuzz = <32>;
43 abs-flat = <64>;
57 abs-range = <3150 950>;
58 abs-fuzz = <32>;
59 abs-flat = <64>;
64 abs-range = <800 3000>;
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/arch/hexagon/lib/
Dmodsi3.S11 r2 = abs(r0)
12 r1 = abs(r1)
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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()

12345678910>>...22