Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dof_touchscreen.c34 int min, int max, int fuzz) in touchscreen_set_params() argument
48 absinfo->fuzz = fuzz; in touchscreen_set_params()
70 unsigned int minimum, maximum, fuzz; in touchscreen_parse_properties() local
87 &fuzz); in touchscreen_parse_properties()
89 touchscreen_set_params(input, axis, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
101 &fuzz); in touchscreen_parse_properties()
103 touchscreen_set_params(input, axis, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
113 &fuzz); in touchscreen_parse_properties()
115 touchscreen_set_params(input, axis, 0, maximum, fuzz); in touchscreen_parse_properties()
/drivers/input/mouse/
Dappletouch.c37 int fuzz; /* fuzz touchpad generates */ member
51 .fuzz = 16,
62 .fuzz = 16,
73 .fuzz = 0,
83 .fuzz = 0,
93 .fuzz = 0,
503 dev->info->fuzz, 0); in atp_detect_size()
906 dev->info->fuzz, 0); in atp_probe()
909 dev->info->fuzz, 0); in atp_probe()
Dbcm5974.c511 int fuzz = p->snratio ? (p->max - p->min) / p->snratio : 0; in set_abs() local
512 input_set_abs_params(input, code, p->min, p->max, fuzz, 0); in set_abs()
Dsynaptics.c1232 int fuzz = SYN_CAP_REDUCED_FILTERING(info->ext_cap_0c) ? in set_abs_position_params() local
1235 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
1236 input_set_abs_params(dev, y_code, y_min, y_max, fuzz, 0); in set_abs_position_params()
/drivers/misc/lis3lv02d/
Dlis3lv02d.c674 int max_val, fuzz, flat; in lis3lv02d_joystick_enable() local
702 fuzz = LIS3_DEFAULT_FUZZ_12B; in lis3lv02d_joystick_enable()
705 fuzz = LIS3_DEFAULT_FUZZ_8B; in lis3lv02d_joystick_enable()
708 fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()
711 input_set_abs_params(input_dev, ABS_X, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
712 input_set_abs_params(input_dev, ABS_Y, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
713 input_set_abs_params(input_dev, ABS_Z, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
/drivers/input/
Dinput.c56 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
58 if (fuzz) { in input_defuzz_abs_event()
59 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event()
62 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event()
65 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event()
244 dev->absinfo[code].fuzz); in input_handle_abs_event()
504 int min, int max, int fuzz, int flat) in input_set_abs_params() argument
515 absinfo->fuzz = fuzz; in input_set_abs_params()
Dinput-mt.c18 dev->absinfo[dst].fuzz = 0; in copy_abs()
/drivers/input/joystick/
Danalog.c115 int fuzz; member
495 input_set_abs_params(input_dev, t, v, (x << 1) - v, port->fuzz, w); in analog_init_device()
614 port->fuzz = (port->speed * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; in analog_init_port()
653 port->fuzz = gameport->fuzz; in analog_init_port()
Dsidewinder.c747 int min, max, fuzz, flat; in sw_connect() local
752 fuzz = (bits >> 1) >= 2 ? 1 << ((bits >> 1) - 2) : 0; in sw_connect()
757 min, max, fuzz, flat); in sw_connect()
Da3d.c352 adc->fuzz = 1; in a3d_connect()
/drivers/virtio/
Dvirtio_input.c164 virtio_cread(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); in virtinput_cfg_abs()
/drivers/hid/
Dhid-multitouch.c488 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs() local
489 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
Dwacom_wac.c1834 struct hid_field *field, __u8 type, __u16 code, int fuzz) in wacom_map_usage() argument
1864 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()