/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
H A D | clock_nanosleep.c | 29 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() 105 pr_fail("clockid: %d abs: %d remain: %ld\n", in run_test() 106 clockid, abs, re in run_test() [all...] |
H A D | exec.c | 33 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-6.6/tools/testing/selftests/timens/ |
H A D | clock_nanosleep.c | 29 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() 105 pr_fail("clockid: %d abs: %d remain: %ld\n", in run_test() 106 clockid, abs, re in run_test() [all...] |
H A D | exec.c | 33 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/ |
H A D | cyttsp4_core.c | 377 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_AB in cyttsp4_si_get_opcfg_data() 794 enum cyttsp4_tch_abs abs; cyttsp4_get_touch() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 391 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_AB in cyttsp4_si_get_opcfg_data() 808 enum cyttsp4_tch_abs abs; cyttsp4_get_touch() local [all...] |
H A D | cyttsp5.c | 158 size_t ofs; /* abs byte offset */ 166 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] in cyttsp5_get_touch_record() [all...] |
/kernel/linux/linux-5.10/drivers/virtio/ |
H A D | virtio_input.c | 156 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, er in virtinput_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/virtio/ |
H A D | virtio_input.c | 172 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, er in virtinput_probe() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | cqm_test.c | 51 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/drivers/input/joystick/ |
H A D | adi.c | 103 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 in adi_init_input() [all...] |
H A D | tmdc.c | 79 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()
|
H A D | guillemot.c | 44 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-6.6/drivers/input/joystick/ |
H A D | adi.c | 100 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 in adi_init_input() [all...] |
H A D | tmdc.c | 76 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()
|
H A D | guillemot.c | 41 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()
|
/kernel/linux/linux-5.10/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 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-6.6/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 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/arch/h8300/lib/ |
H A D | abs.S | 2 ;;; abs.S 15 ;;; int abs(int n)
|
/kernel/linux/linux-5.10/arch/loongarch/mm/ |
H A D | tlbex.S | 31 la.abs t0, do_page_fault 48 la.abs t0, do_page_fault 125 la.abs t1, swapper_pg_dir 196 la.abs t0, tlb_do_page_fault_0 203 la.abs t0, tlb_do_page_fault_0 279 la.abs t1, swapper_pg_dir 352 la.abs t0, tlb_do_page_fault_1 359 la.abs t0, tlb_do_page_fault_1 434 la.abs t1, swapper_pg_dir 506 la.abs t [all...] |
/kernel/linux/linux-5.10/lib/math/ |
H A D | div64.c | 76 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-6.6/tools/testing/selftests/resctrl/ |
H A D | cache.c | 292 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()
|
/kernel/linux/linux-6.6/lib/math/ |
H A D | div64.c | 72 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()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | input.h | 176 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ 177 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
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 */
|