Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/
H A Djoydev.c53 __u8 abspam[ABS_CNT]; member
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()
471 kfree(abspam); in joydev_handle_JSIOCSAXMAP()
950 joydev->abspam[joydev->nabs] = i; in joydev_connect()
[all …]