Home
last modified time | relevance | path

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

/drivers/input/
A Dtouchscreen.c35 int min, int max, int fuzz) in touchscreen_set_params() argument
49 absinfo->fuzz = fuzz; in touchscreen_set_params()
71 unsigned int minimum, maximum, fuzz; in touchscreen_parse_properties() local
90 &fuzz); in touchscreen_parse_properties()
92 touchscreen_set_params(input, axis_x, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
103 &fuzz); in touchscreen_parse_properties()
105 touchscreen_set_params(input, axis_y, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
115 &fuzz); in touchscreen_parse_properties()
117 touchscreen_set_params(input, axis, 0, maximum, fuzz); in touchscreen_parse_properties()
A Dinput.c70 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
72 if (fuzz) { in input_defuzz_abs_event()
73 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event()
76 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event()
79 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event()
191 dev->absinfo[code].fuzz); in input_handle_abs_event()
455 int min, int max, int fuzz, int flat) in input_set_abs_params() argument
469 absinfo->fuzz = fuzz; in input_set_abs_params()
A Dinput-mt.c19 dev->absinfo[dst].fuzz = 0; in copy_abs()
/drivers/input/mouse/
A 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()
A 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()
A Dsynaptics.c1278 int fuzz = SYN_CAP_REDUCED_FILTERING(info->ext_cap_0c) ? in set_abs_position_params() local
1281 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
1282 input_set_abs_params(dev, y_code, y_min, y_max, fuzz, 0); in set_abs_position_params()
/drivers/input/joystick/
A Dadc-joystick.c135 s32 range[2], fuzz, flat; in adc_joystick_set_axes() local
183 if (fwnode_property_read_u32(child, "abs-fuzz", &fuzz)) in adc_joystick_set_axes()
184 fuzz = 0; in adc_joystick_set_axes()
190 range[0], range[1], fuzz, flat); in adc_joystick_set_axes()
A Danalog.c108 int fuzz; member
413 input_set_abs_params(input_dev, t, v, (x << 1) - v, port->fuzz, w); in analog_init_device()
532 port->fuzz = (NSEC_PER_MSEC * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; in analog_init_port()
571 port->fuzz = gameport->fuzz; in analog_init_port()
A Dsidewinder.c751 int min, max, fuzz, flat; in sw_connect() local
756 fuzz = (bits >> 1) >= 2 ? 1 << ((bits >> 1) - 2) : 0; in sw_connect()
761 min, max, fuzz, flat); in sw_connect()
A Da3d.c349 adc->fuzz = 1; in a3d_connect()
/drivers/misc/lis3lv02d/
A Dlis3lv02d.c682 int max_val, fuzz, flat; in lis3lv02d_joystick_enable() local
703 fuzz = LIS3_DEFAULT_FUZZ_12B; in lis3lv02d_joystick_enable()
706 fuzz = LIS3_DEFAULT_FUZZ_8B; in lis3lv02d_joystick_enable()
709 fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()
712 input_set_abs_params(input_dev, ABS_X, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
713 input_set_abs_params(input_dev, ABS_Y, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
714 input_set_abs_params(input_dev, ABS_Z, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
/drivers/virtio/
A Dvirtio_input.c180 virtio_cread_le(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); in virtinput_cfg_abs()
/drivers/hid/
A Dhid-multitouch.c543 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs() local
544 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
A Dwacom_wac.c1872 struct hid_field *field, __u8 type, __u16 code, int fuzz) in wacom_map_usage() argument
1903 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()
A DKconfig1261 non-compliant USB PID devices and better fuzz/flat values for

Completed in 50 milliseconds