Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp4_core.c377 enum cyttsp4_tch_abs abs; in cyttsp4_si_get_opcfg_data() local
421 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data()
422 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
423 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; in cyttsp4_si_get_opcfg_data()
438 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { in cyttsp4_si_get_opcfg_data()
439 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
449 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data()
451 cyttsp4_tch_abs_string[abs]); in cyttsp4_si_get_opcfg_data()
453 si->si_ofs.tch_abs[abs].ofs); in cyttsp4_si_get_opcfg_data()
455 si->si_ofs.tch_abs[abs].size); in cyttsp4_si_get_opcfg_data()
[all …]
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_input.c156 static void virtinput_cfg_abs(struct virtio_input *vi, int abs) in virtinput_cfg_abs() argument
160 virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ABS_INFO, abs); in virtinput_cfg_abs()
161 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.min, &mi); in virtinput_cfg_abs()
162 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.max, &ma); in virtinput_cfg_abs()
163 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.res, &re); in virtinput_cfg_abs()
164 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); in virtinput_cfg_abs()
165 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); in virtinput_cfg_abs()
166 input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); in virtinput_cfg_abs()
167 input_abs_set_res(vi->idev, abs, re); in virtinput_cfg_abs()
207 int abs, err; in virtinput_probe() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
Dcqm_test.c51 avg_diff = (long)abs(span - avg_llc_occu_resc); in show_cache_info()
55 if ((abs((int)diff_percent) <= MAX_DIFF_PERCENT) || in show_cache_info()
56 (abs(avg_diff) <= MAX_DIFF)) in show_cache_info()
65 printf("# percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/lib/math/
Ddiv64.c76 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
81 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
174 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
/kernel/linux/linux-5.10/arch/h8300/lib/
Dabs.S2 ;;; abs.S
15 ;;; int abs(int n)
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dinput.h81 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) argument
82 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dinput.h92 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) argument
93 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) argument
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dmcp77.c221 if (abs(core - out) <= abs(core - (clock >> 1))) { in mcp77_clk_calc()
249 if (abs(shader - out) <= in mcp77_clk_calc()
250 abs(shader - clock) && in mcp77_clk_calc()
264 if(abs(vdec - out) <= abs(vdec - clock)) { in mcp77_clk_calc()
/kernel/linux/linux-5.10/arch/hexagon/lib/
Dmodsi3.S11 r2 = abs(r0)
12 r1 = abs(r1)
/kernel/liteos_a/kernel/base/misc/
Dkill_shellcmd.c77 ret = OsKill(pidNo, abs(sigNo), OS_USER_KILL_PERMISSION); in OsShellCmdKill()
78 HILOG_INFO(LOG_CORE, "Send signal(%d) to pidNo = %d!\n", abs(sigNo), pidNo); in OsShellCmdKill()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dci.h152 void __iomem *abs; member
326 return ioread32(ci->hw_bank.abs + offset) & mask; in hw_read_id_reg()
340 data = (ioread32(ci->hw_bank.abs + offset) & ~mask) in hw_write_id_reg()
343 iowrite32(data, ci->hw_bank.abs + offset); in hw_write_id_reg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()

12345678910>>...20