Searched refs:abs (Results 1 - 25 of 539) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/timens/
H A Dclock_nanosleep.c29 int abs; member in struct:thread_args
36 clock_nanosleep(args->clockid, args->abs ? TIMER_ABSTIME : 0, args->now, args->rem);
41 int run_test(int clockid, int abs) argument
63 if (abs) {
69 args.abs = abs;
100 ksft_test_result_pass("clockid: %d abs:%d timeout\n", clockid, abs);
105 pr_fail("clockid: %d abs: %d remain: %ld\n",
106 clockid, abs, re
[all...]
H A Dexec.c33 if (abs(tst.tv_sec - now.tv_sec) > 5)
53 if (abs(tst.tv_sec - now.tv_sec) > 5)
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5)
H A Dvfork_exec.c35 if (abs(tst.tv_sec - now->tv_sec) > 5) {
67 if (abs(tst.tv_sec - now->tv_sec) > 5)
/linux-master/fs/bcachefs/
H A Derrcode.c26 err = abs(err);
41 err = abs(err);
42 class = abs(class);
/linux-master/include/linux/input/
H A Dmt.h23 * @abs: holds current values of ABS_MT axes for this slot
28 int abs[ABS_MT_LAST - ABS_MT_FIRST + 1]; member in struct:input_mt_slot
56 slot->abs[code - ABS_MT_FIRST] = value;
62 return slot->abs[code - ABS_MT_FIRST];
/linux-master/drivers/virtio/
H A Dvirtio_input.c172 static void virtinput_cfg_abs(struct virtio_input *vi, int abs) argument
176 virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ABS_INFO, abs);
177 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.min, &mi);
178 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.max, &ma);
179 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.res, &re);
180 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu);
181 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.flat, &fl);
182 input_set_abs_params(vi->idev, abs, mi, ma, fu, fl);
183 input_abs_set_res(vi->idev, abs, re);
223 int abs, er local
[all...]
/linux-master/drivers/isdn/mISDN/
H A Ddsp_ecdis.h63 Use abs instead of multiply for speed (is it really faster?).
67 det->channel_level += ((abs(amp) - det->channel_level) >> 5);
68 det->notch_level += ((abs(notched) - det->notch_level) >> 4);
/linux-master/arch/hexagon/lib/
H A Dmodsi3.S11 r2 = abs(r0)
12 r1 = abs(r1)
/linux-master/drivers/input/touchscreen/
H A Dcyttsp4_core.c391 enum cyttsp4_tch_abs abs; local
435 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) {
436 tch = &si->si_ofs.tch_abs[abs];
437 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs];
452 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) {
453 tch = &si->si_ofs.tch_abs[abs];
463 for (abs = 0; abs < CY_TCH_NUM_AB
808 enum cyttsp4_tch_abs abs; local
[all...]
H A Dcyttsp5.c158 size_t ofs; /* abs byte offset */
166 int abs[CY_TCH_NUM_ABS]; member in struct:cyttsp5_touch
281 enum cyttsp5_tch_abs abs; local
283 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++)
284 cyttsp5_get_touch_axis(&touch->abs[abs],
285 si->tch_abs[abs].size,
286 si->tch_abs[abs]
[all...]
/linux-master/drivers/hid/
H A Dhid-speedlink.c49 * don't. However, catching abs(value)>=256 is restrictive enough not
52 if (abs(value) >= 256)
/linux-master/include/linux/platform_data/
H A Dcyttsp4.h25 const uint16_t *abs; member in struct:touch_framework
/linux-master/include/uapi/linux/
H A Dvirtio_input.h65 struct virtio_input_absinfo abs; member in union:virtio_input_config::__anon203
H A Dinput.h179 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */
180 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */
/linux-master/tools/testing/selftests/resctrl/
H A Dcmt_test.c43 avg_diff = (long)abs(cache_span - avg_llc_val);
46 ret = platform && abs((int)diff_percent) > max_diff_percent &&
47 abs(avg_diff) > max_diff;
52 ksft_print_msg("Percent diff=%d\n", abs((int)diff_percent));
/linux-master/lib/math/
H A Ddiv64.c73 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder);
78 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder);
166 quot = div64_u64(abs(dividend), abs(divisor));
/linux-master/arch/mips/include/asm/
H A Dmc146818-time.h57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1)
61 if (abs(real_minutes - cmos_minutes) < 30) {
/linux-master/arch/x86/
H A DMakefile.postlink21 $(CMD_RELOCS) --abs-relocs $@
/linux-master/drivers/input/joystick/
H A Dtmdc.c76 char abs; member in struct:tmdc_model
97 const signed char *abs; member in struct:tmdc_port
112 signed char *abs[2];
180 if (port->abs[i] < 0)
183 input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]);
279 port->abs = model->axes;
287 port->absc = model->abs;
317 if (port->abs[i] >= 0)
318 input_set_abs_params(input_dev, port->abs[i], 8, 248, 2, 4);
H A Dadi.c100 char *abs; member in struct:adi
200 char *abs = adi->abs; local
208 input_report_abs(dev, *abs++, adi_get_bits(adi, 10));
211 input_report_abs(dev, *abs++, adi_get_bits(adi, 8));
216 input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1));
217 input_report_abs(dev, *abs++, ((t >> 1) & 1) - ((t >> 3) & 1));
224 input_report_abs(dev, *abs++, adi_hat_to_axis[t].x);
225 input_report_abs(dev, *abs++, adi_hat_to_axis[t].y);
398 adi->abs
[all...]
H A Dguillemot.c41 short *abs; member in struct:guillemot_type
116 for (i = 0; i < 6 && guillemot->type->abs[i] >= 0; i++)
117 input_report_abs(dev, guillemot->type->abs[i], data[i + 5]);
221 for (i = 0; (t = guillemot->type->abs[i]) >= 0; i++)
/linux-master/sound/soc/codecs/
H A Drl6231.c147 unsigned int red_t = abs(freq_out - freq_in);
192 red = abs(f_out - out_t);
204 red = abs(f_out - out_t);
/linux-master/arch/mips/dec/
H A Dtime.c96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1)
100 if (abs(real_minutes - cmos_minutes) < 30) {
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c67 if (prev && (abs(fq->fqid - prev->fqid) != 1 ||
78 if (prev && abs(fq->fqid - prev->fqid) == 1 &&
/linux-master/tools/testing/selftests/timers/
H A Draw_skew.c129 printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000)));
134 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000)));

Completed in 468 milliseconds

1234567891011>>