Home
last modified time | relevance | path

Searched refs:joydev_data_pending (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/
H A Djoydev.c376 static inline int joydev_data_pending(struct joydev_client *client) in joydev_data_pending() function
402 if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK)) in joydev_read()
406 !joydev->exist || joydev_data_pending(client)); in joydev_read()
441 return (joydev_data_pending(client) ? (EPOLLIN | EPOLLRDNORM) : 0) | in joydev_poll()
/kernel/linux/linux-6.6/drivers/input/
H A Djoydev.c375 static inline int joydev_data_pending(struct joydev_client *client) in joydev_data_pending() function
401 if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK)) in joydev_read()
405 !joydev->exist || joydev_data_pending(client)); in joydev_read()
440 return (joydev_data_pending(client) ? (EPOLLIN | EPOLLRDNORM) : 0) | in joydev_poll()

Completed in 3 milliseconds