Home
last modified time | relevance | path

Searched refs:JS_CORR (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Djoystick.h120 struct JS_DATA_TYPE JS_CORR; member
129 struct JS_DATA_TYPE JS_CORR; member
/Linux-v5.10/drivers/input/
Djoydev.c357 data.x = (joydev->abs[0] / 256 + 128) >> joydev->glue.JS_CORR.x; in joydev_0x_read()
358 data.y = (joydev->abs[1] / 256 + 128) >> joydev->glue.JS_CORR.y; in joydev_0x_read()
520 return copy_from_user(&joydev->glue.JS_CORR, argp, in joydev_ioctl_common()
521 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common()
524 return copy_to_user(argp, &joydev->glue.JS_CORR, in joydev_ioctl_common()
525 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common()
634 joydev->glue.JS_CORR = ds32.JS_CORR; in joydev_compat_ioctl()
644 ds32.JS_CORR = joydev->glue.JS_CORR; in joydev_compat_ioctl()