/linux-master/tools/testing/selftests/timens/ |
H A D | clock_nanosleep.c | 29 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 D | exec.c | 33 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 D | vfork_exec.c | 35 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 D | errcode.c | 26 err = abs(err); 41 err = abs(err); 42 class = abs(class);
|
/linux-master/include/linux/input/ |
H A D | mt.h | 23 * @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 D | virtio_input.c | 172 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 D | dsp_ecdis.h | 63 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 D | modsi3.S | 11 r2 = abs(r0) 12 r1 = abs(r1)
|
/linux-master/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 391 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 D | cyttsp5.c | 158 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 D | hid-speedlink.c | 49 * don't. However, catching abs(value)>=256 is restrictive enough not 52 if (abs(value) >= 256)
|
/linux-master/include/linux/platform_data/ |
H A D | cyttsp4.h | 25 const uint16_t *abs; member in struct:touch_framework
|
/linux-master/include/uapi/linux/ |
H A D | virtio_input.h | 65 struct virtio_input_absinfo abs; member in union:virtio_input_config::__anon203
|
H A D | input.h | 179 #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 D | cmt_test.c | 43 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 D | div64.c | 73 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 D | mc146818-time.h | 57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) 61 if (abs(real_minutes - cmos_minutes) < 30) {
|
/linux-master/arch/x86/ |
H A D | Makefile.postlink | 21 $(CMD_RELOCS) --abs-relocs $@
|
/linux-master/drivers/input/joystick/ |
H A D | tmdc.c | 76 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 D | adi.c | 100 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 D | guillemot.c | 41 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 D | rl6231.c | 147 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 D | time.c | 96 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 D | dpaa_eth_sysfs.c | 67 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 D | raw_skew.c | 129 printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); 134 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000)));
|