/linux/tools/testing/selftests/timens/ |
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() 106 clockid, abs, rem.tv_sec); in run_test() 109 ksft_test_result_pass("clockid: %d abs:%d\n", clockid, abs); in run_test()
|
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()
|
/linux/drivers/input/touchscreen/ |
A D | cyttsp4_core.c | 435 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data() 463 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data() 811 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_get_touch() 812 cyttsp4_get_touch_axis(md, &touch->abs[abs], in cyttsp4_get_touch() 819 touch->abs[abs], touch->abs[abs]); in cyttsp4_get_touch() 849 touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], in cyttsp4_get_touch() 850 touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch() 880 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches() 882 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches() 895 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches() [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
A D | adc-joystick.yaml | 63 abs-range: 76 abs-fuzz: 82 abs-flat: 93 - abs-range 112 abs-range = <3300 0>; 113 abs-fuzz = <4>; 114 abs-flat = <200>; 119 abs-range = <0 3300>; 120 abs-fuzz = <4>; 121 abs-flat = <200>;
|
/linux/drivers/virtio/ |
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() 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, err, nslots; in virtinput_probe() local 303 for (abs = 0; abs < ABS_CNT; abs++) { in virtinput_probe() 304 if (!test_bit(abs, vi->idev->absbit)) in virtinput_probe() [all …]
|
/linux/drivers/input/joystick/ |
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 = adi_abs[t]; in adi_init_input() 420 set_bit(adi->abs[i], input_dev->absbit); in adi_init_input() [all …]
|
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()
|
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()
|
/linux/lib/math/ |
A D | div64.c | 78 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 83 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 176 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
|
/linux/include/linux/input/ |
A D | mt.h | 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()
|
/linux/tools/testing/selftests/resctrl/ |
A D | cache.c | 298 avg_diff = (long)abs(cache_span - avg_llc_val); in show_cache_info() 301 ret = platform && abs((int)diff_percent) > max_diff_percent && in show_cache_info() 302 (cmt ? (abs(avg_diff) > max_diff) : true); in show_cache_info() 307 ksft_print_msg("Percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
|
/linux/include/uapi/linux/ |
A D | input.h | 176 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */ argument 177 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */ argument
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-radio-rx.c | 76 abs(dev->radio_rx_sig_qual) > 200) { in vivid_radio_rx_read() 88 perc = abs(dev->radio_rx_sig_qual) / 4; in vivid_radio_rx_read() 249 vt->signal = abs(sig_qual) > delta ? 0 : in vivid_radio_rx_g_tuner() 250 0xffff - ((unsigned)abs(sig_qual) * 0xffff) / delta; in vivid_radio_rx_g_tuner() 252 if (abs(sig_qual) > delta) in vivid_radio_rx_g_tuner()
|
/linux/arch/h8300/lib/ |
A D | abs.S | 2 ;;; abs.S 15 ;;; int abs(int n)
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | mcp77.c | 218 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/m68k/fpsp040/ |
A D | bindec.S | 28 | 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) 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 668 fabsx %fp0 |take abs of YINT [all …]
|
/linux/arch/hexagon/lib/ |
A D | modsi3.S | 11 r2 = abs(r0) 12 r1 = abs(r1)
|
/linux/sound/soc/codecs/ |
A D | rl6231.c | 147 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/drivers/usb/chipidea/ |
A D | ci.h | 152 void __iomem *abs; member 324 return ioread32(ci->hw_bank.abs + offset) & mask; in hw_read_id_reg() 338 data = (ioread32(ci->hw_bank.abs + offset) & ~mask) in hw_write_id_reg() 341 iowrite32(data, ci->hw_bank.abs + offset); in hw_write_id_reg()
|
/linux/drivers/misc/echo/ |
A D | echo.c | 344 ec->ltxacc += abs(tx) - ec->ltx; in oslec_update() 346 ec->lrxacc += abs(rx) - ec->lrx; in oslec_update() 354 ec->lcleanacc += abs(ec->clean) - ec->lclean; in oslec_update() 361 ec->lclean_bgacc += abs(clean_bg) - ec->lclean_bg; in oslec_update() 512 ec->lbgn_acc += abs(ec->clean) - ec->lbgn; in oslec_update()
|
/linux/drivers/isdn/mISDN/ |
A D | dsp_ecdis.h | 67 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/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_paprd.c | 87 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/drivers/thermal/ |
A D | k3_bandgap.c | 94 int d01 = abs(s0 - s1); in vtm_get_best_value() 95 int d02 = abs(s0 - s2); in vtm_get_best_value() 96 int d12 = abs(s1 - s2); in vtm_get_best_value()
|
/linux/drivers/video/fbdev/core/ |
A D | modedb.c | 778 int score = abs(db[i].refresh - refresh); in fb_find_mode() 781 score += abs(db_interlace - interlace); in fb_find_mode() 806 tdiff = abs(db[i].xres - xres) + in fb_find_mode() 807 abs(db[i].yres - yres); in fb_find_mode() 1006 d = abs(cmode->xres - mode->xres) + in fb_find_nearest_mode() 1007 abs(cmode->yres - mode->yres); in fb_find_nearest_mode() 1010 diff_refresh = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 1013 d = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_l2.c | 227 p_cid->abs = p_cid->rel; 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() 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() 871 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_rxq_start_ramrod() 996 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_sp_eth_rx_queues_update() 1032 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_pf_rx_queue_stop() [all …]
|