Lines Matching full:glue
48 struct JS_DATA_SAVE_TYPE glue; member
357 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()
528 return get_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common()
531 return put_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common()
617 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl()
621 tmp32 = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl()
629 joydev->glue.JS_TIMEOUT = ds32.JS_TIMEOUT; in joydev_compat_ioctl()
630 joydev->glue.BUSY = ds32.BUSY; in joydev_compat_ioctl()
631 joydev->glue.JS_EXPIRETIME = ds32.JS_EXPIRETIME; in joydev_compat_ioctl()
632 joydev->glue.JS_TIMELIMIT = ds32.JS_TIMELIMIT; in joydev_compat_ioctl()
633 joydev->glue.JS_SAVE = ds32.JS_SAVE; in joydev_compat_ioctl()
634 joydev->glue.JS_CORR = ds32.JS_CORR; in joydev_compat_ioctl()
639 ds32.JS_TIMEOUT = joydev->glue.JS_TIMEOUT; in joydev_compat_ioctl()
640 ds32.BUSY = joydev->glue.BUSY; in joydev_compat_ioctl()
641 ds32.JS_EXPIRETIME = joydev->glue.JS_EXPIRETIME; in joydev_compat_ioctl()
642 ds32.JS_TIMELIMIT = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl()
643 ds32.JS_SAVE = joydev->glue.JS_SAVE; in joydev_compat_ioctl()
644 ds32.JS_CORR = joydev->glue.JS_CORR; in joydev_compat_ioctl()
680 retval = get_user(joydev->glue.JS_TIMELIMIT, in joydev_ioctl()
685 retval = put_user(joydev->glue.JS_TIMELIMIT, in joydev_ioctl()
690 retval = copy_from_user(&joydev->glue, argp, in joydev_ioctl()
691 sizeof(joydev->glue)) ? -EFAULT : 0; in joydev_ioctl()
695 retval = copy_to_user(argp, &joydev->glue, in joydev_ioctl()
696 sizeof(joydev->glue)) ? -EFAULT : 0; in joydev_ioctl()