Home
last modified time | relevance | path

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

12345678910>>...15

/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-h.dts27 abs-flat = <32>;
28 abs-fuzz = <32>;
29 abs-range = <4096 0>;
35 abs-flat = <32>;
36 abs-fuzz = <32>;
37 abs-range = <0 4096>;
43 abs-flat = <32>;
44 abs-fuzz = <32>;
45 abs-range = <0 4096>;
51 abs-flat = <32>;
[all …]
/linux/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 static 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...]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-anbernic-rg353x.dtsi25 abs-flat = <32>;
26 abs-fuzz = <32>;
27 abs-range = <1023 15>;
33 abs-flat = <32>;
34 abs-fuzz = <32>;
35 abs-range = <15 1023>;
41 abs-flat = <32>;
42 abs-fuzz = <32>;
43 abs-range = <15 1023>;
49 abs-flat = <32>;
[all …]
H A Drk3326-odroid-go3.dts46 abs-flat = <10>;
47 abs-fuzz = <10>;
48 abs-range = <180 800>;
54 abs-flat = <10>;
55 abs-fuzz = <10>;
56 abs-range = <180 800>;
62 abs-flat = <10>;
63 abs-fuzz = <10>;
64 abs-range = <180 800>;
70 abs-flat = <10>;
[all …]
H A Drk3326-odroid-go2.dts25 abs-flat = <10>;
26 abs-fuzz = <10>;
27 abs-range = <172 772>;
33 abs-flat = <10>;
34 abs-fuzz = <10>;
35 abs-range = <278 815>;
H A Drk3326-odroid-go2-v11.dts29 abs-flat = <10>;
30 abs-fuzz = <10>;
31 abs-range = <172 772>;
37 abs-flat = <10>;
38 abs-fuzz = <10>;
39 abs-range = <278 815>;
H A Drk3566-powkiddy-rk2023.dtsi35 abs-flat = <32>;
36 abs-fuzz = <32>;
37 abs-range = <1023 15>;
43 abs-flat = <32>;
44 abs-fuzz = <32>;
45 abs-range = <15 1023>;
51 abs-flat = <32>;
52 abs-fuzz = <32>;
53 abs-range = <15 1023>;
59 abs-flat = <32>;
[all …]
H A Drk3588s-gameforce-ace.dts61 abs-flat = <40>;
62 abs-fuzz = <30>;
63 abs-range = <0 4095>;
69 abs-flat = <40>;
70 abs-fuzz = <30>;
71 abs-range = <0 4095>;
77 abs-flat = <40>;
78 abs-fuzz = <30>;
79 abs-range = <0 4095>;
85 abs-flat = <40>;
[all …]
/linux/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()
224 int abs, err, nslots; in virtinput_probe() local
[all …]
/linux/drivers/input/touchscreen/
H A Dcyttsp5.c166 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].max, in cyttsp5_get_touch_record()
287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record()
288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record()
301 memset(tch->abs, 0, sizeof(tch->abs)); in cyttsp5_get_mt_touches()
317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
[all …]
/linux/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 = adi_abs[t]; in adi_init_input()
417 set_bit(adi->abs[i], input_dev->absbit); 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()
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-odroid-go-ultra.dts34 abs-range = <3150 950>;
35 abs-fuzz = <32>;
36 abs-flat = <64>;
41 abs-range = <700 2900>;
42 abs-fuzz = <32>;
43 abs-flat = <64>;
57 abs-range = <3150 950>;
58 abs-fuzz = <32>;
59 abs-flat = <64>;
64 abs-range = <800 3000>;
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dmcp77.c218 if (abs(core - out) <= abs(core - (clock >> 1))) { in mcp77_clk_calc()
246 if (abs(shader - out) <= in mcp77_clk_calc()
247 abs(shader - clock) && in mcp77_clk_calc()
261 if(abs(vdec - out) <= abs(vdec - clock)) { in mcp77_clk_calc()
/linux/arch/hexagon/lib/
H A Dmodsi3.S11 r2 = abs(r0)
12 r1 = abs(r1)
/linux/drivers/isdn/mISDN/
H A 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()
/linux/arch/m68k/fpsp040/
H A 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 …]
/linux/sound/soc/codecs/
H A 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()
/linux/lib/math/
H A Ddiv64.c73 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
78 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
166 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
/linux/drivers/iio/afe/
H A Diio-rescale.c86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale()
87 *val = div_s64_rem(tmp, abs(rescale->denominator), &rem); in rescale_process_scale()
89 tmp = (s64)rem * mult + (s64)abs(*val2) * abs(rescale->numerator); in rescale_process_scale()
90 tmp = div_s64(tmp, abs(rescale->denominator)); in rescale_process_scale()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c87 delta = abs((int) ah->paprd_target_power - (int) power); in ar9003_get_training_power_2g()
114 delta = abs((int) ah->paprd_target_power - (int) power); in ar9003_get_training_power_5g()
582 tmp_abs = abs(x_tilde[i]); in create_pa_curve()
601 abs_val = abs(B1_tmp[i]); in create_pa_curve()
605 abs_val = abs(B2_tmp[i]); in create_pa_curve()
628 Q_scale_B = find_proper_scale(find_expn(abs(scale_B)), 10); in create_pa_curve()
632 Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); in create_pa_curve()
633 Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); in create_pa_curve()
684 Q_beta = find_proper_scale(find_expn(abs(beta_raw)), 10); in create_pa_curve()
685 Q_alpha = find_proper_scale(find_expn(abs(alpha_raw)), 10); in create_pa_curve()
/linux/lib/
H A Dpercpu_counter.c100 if (unlikely(abs(count + amount) >= batch)) { in percpu_counter_add_batch()
127 if (abs(count) >= batch) { in percpu_counter_add_batch()
298 if (abs(count - rhs) > (batch * num_online_cpus())) { in __percpu_counter_compare()
343 if (abs(count + amount) <= batch && in __percpu_counter_limited_add()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c227 p_cid->abs = p_cid->rel; in _qed_eth_queue_to_cid()
235 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); in _qed_eth_queue_to_cid()
239 rc = qed_fw_l2_queue(p_hwfn, p_cid->rel.queue_id, &p_cid->abs.queue_id); in _qed_eth_queue_to_cid()
248 &p_cid->abs.stats_id); in _qed_eth_queue_to_cid()
252 p_cid->abs.stats_id = p_cid->rel.stats_id; in _qed_eth_queue_to_cid()
272 p_cid->abs.vport_id, in _qed_eth_queue_to_cid()
275 p_cid->abs.queue_id, in _qed_eth_queue_to_cid()
277 p_cid->abs.stats_id, p_cid->sb_igu_id, p_cid->sb_idx); in _qed_eth_queue_to_cid()
501 cpu_to_le16(p_queue->abs.queue_id); in qed_sp_vport_update_rss()
853 p_cid->abs.queue_id, p_cid->abs.vport_id, p_cid->sb_igu_id); in qed_eth_rxq_start_ramrod()
[all …]
/linux/arch/mips/dec/
H A Dtime.c96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in update_persistent_clock64()
100 if (abs(real_minutes - cmos_minutes) < 30) { in update_persistent_clock64()

12345678910>>...15