Lines Matching refs:abspam
53 __u8 abspam[ABS_CNT]; member
191 val = input_abs_get_val(dev, joydev->abspam[i]); in joydev_refresh_state()
447 __u8 *abspam; in joydev_handle_JSIOCSAXMAP() local
451 len = min(len, sizeof(joydev->abspam)); in joydev_handle_JSIOCSAXMAP()
454 abspam = memdup_user(argp, len); in joydev_handle_JSIOCSAXMAP()
455 if (IS_ERR(abspam)) in joydev_handle_JSIOCSAXMAP()
456 return PTR_ERR(abspam); in joydev_handle_JSIOCSAXMAP()
459 if (abspam[i] > ABS_MAX) { in joydev_handle_JSIOCSAXMAP()
465 memcpy(joydev->abspam, abspam, len); in joydev_handle_JSIOCSAXMAP()
468 joydev->absmap[joydev->abspam[i]] = i; in joydev_handle_JSIOCSAXMAP()
471 kfree(abspam); in joydev_handle_JSIOCSAXMAP()
550 int val = input_abs_get_val(dev, joydev->abspam[i]); in joydev_ioctl_common()
572 len = min_t(size_t, _IOC_SIZE(cmd), sizeof(joydev->abspam)); in joydev_ioctl_common()
573 return copy_to_user(argp, joydev->abspam, len) ? -EFAULT : len; in joydev_ioctl_common()
950 joydev->abspam[joydev->nabs] = i; in joydev_connect()
969 j = joydev->abspam[i]; in joydev_connect()