Home
last modified time | relevance | path

Searched refs:fuzz (Results 1 – 14 of 14) sorted by relevance

/drivers/input/touchscreen/
Dof_touchscreen.c37 int max, int fuzz) in touchscreen_set_params() argument
50 absinfo->fuzz = fuzz; in touchscreen_set_params()
67 unsigned int maximum, fuzz; in touchscreen_parse_properties() local
81 &fuzz); in touchscreen_parse_properties()
83 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
92 &fuzz); in touchscreen_parse_properties()
94 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
104 &fuzz); in touchscreen_parse_properties()
106 touchscreen_set_params(input, axis, maximum, fuzz); in touchscreen_parse_properties()
/drivers/input/mouse/
Dappletouch.c51 int fuzz; /* fuzz touchpad generates */ member
65 .fuzz = 16,
76 .fuzz = 16,
87 .fuzz = 0,
97 .fuzz = 0,
107 .fuzz = 0,
516 dev->info->fuzz, 0); in atp_detect_size()
919 dev->info->fuzz, 0); in atp_probe()
922 dev->info->fuzz, 0); in atp_probe()
Dsynaptics.c1158 int fuzz = SYN_CAP_REDUCED_FILTERING(priv->ext_cap_0c) ? in set_abs_position_params() local
1161 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
1162 input_set_abs_params(dev, y_code, y_min, y_max, fuzz, 0); in set_abs_position_params()
Dbcm5974.c525 int fuzz = p->snratio ? (p->max - p->min) / p->snratio : 0; in set_abs() local
526 input_set_abs_params(input, code, p->min, p->max, fuzz, 0); in set_abs()
/drivers/misc/lis3lv02d/
Dlis3lv02d.c694 int max_val, fuzz, flat; in lis3lv02d_joystick_enable() local
722 fuzz = LIS3_DEFAULT_FUZZ_12B; in lis3lv02d_joystick_enable()
725 fuzz = LIS3_DEFAULT_FUZZ_8B; in lis3lv02d_joystick_enable()
728 fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()
731 input_set_abs_params(input_dev, ABS_X, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
732 input_set_abs_params(input_dev, ABS_Y, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
733 input_set_abs_params(input_dev, ABS_Z, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
/drivers/input/
Dinput.c59 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
61 if (fuzz) { in input_defuzz_abs_event()
62 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event()
65 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event()
68 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event()
249 dev->absinfo[code].fuzz); in input_handle_abs_event()
493 int min, int max, int fuzz, int flat) in input_set_abs_params() argument
504 absinfo->fuzz = fuzz; in input_set_abs_params()
Dinput-mt.c21 dev->absinfo[dst].fuzz = 0; in copy_abs()
/drivers/input/joystick/
Danalog.c131 int fuzz; member
511 input_set_abs_params(input_dev, t, v, (x << 1) - v, port->fuzz, w); in analog_init_device()
630 port->fuzz = (port->speed * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; in analog_init_port()
669 port->fuzz = gameport->fuzz; in analog_init_port()
Dsidewinder.c763 int min, max, fuzz, flat; in sw_connect() local
768 fuzz = (bits >> 1) >= 2 ? 1 << ((bits >> 1) - 2) : 0; in sw_connect()
773 min, max, fuzz, flat); in sw_connect()
Da3d.c368 adc->fuzz = 1; in a3d_connect()
/drivers/input/misc/
Dgpio_tilt_polled.c152 pdata->axes[i].fuzz, pdata->axes[i].flat); in gpio_tilt_polled_probe()
/drivers/virtio/
Dvirtio_input.c162 virtio_cread(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); in virtinput_cfg_abs()
/drivers/hid/
Dhid-multitouch.c415 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs() local
416 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
Dwacom_wac.c1482 struct hid_field *field, __u8 type, __u16 code, int fuzz) in wacom_map_usage() argument
1494 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()