Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-5.10/tools/testing/selftests/timens/
H A 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()
105 pr_fail("clockid: %d abs: %d remain: %ld\n", in run_test()
106 clockid, abs, re in run_test()
[all...]
H A 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-6.6/tools/testing/selftests/timens/
H A 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()
105 pr_fail("clockid: %d abs: %d remain: %ld\n", in run_test()
106 clockid, abs, re in run_test()
[all...]
H A 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/
H A 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_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 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_AB in cyttsp4_si_get_opcfg_data()
808 enum cyttsp4_tch_abs abs; cyttsp4_get_touch() local
[all...]
H A Dcyttsp5.c158 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 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, er in virtinput_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/virtio/
H A 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, er in virtinput_probe() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A 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/drivers/input/joystick/
H A 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 in adi_init_input()
[all...]
H A 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()
H A 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-6.6/drivers/input/joystick/
H A 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 in adi_init_input()
[all...]
H A 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()
H A 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()
/kernel/linux/linux-5.10/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
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 Dmt.h23 * @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 Dabs.S2 ;;; abs.S
15 ;;; int abs(int n)
/kernel/linux/linux-5.10/arch/loongarch/mm/
H A Dtlbex.S31 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 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-6.6/tools/testing/selftests/resctrl/
H A 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()
/kernel/linux/linux-6.6/lib/math/
H A 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()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dinput.h176 #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 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 */

Completed in 14 milliseconds

12345678910>>...41