#ifndef _INPUT_POLLDEV_H #define _INPUT_POLLDEV_H /* * Copyright (c) 2007 Dmitry Torokhov * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include #include /** * struct input_polled_dev - simple polled input device * @private: private driver data * @flush: driver-supplied method that flushes device's state upon * opening (optional) * @poll: driver-supplied method that polls the device and posts * input events (mandatory). * @poll_interval: specifies how often the poll() method shoudl be called. * @input: input device structire associated with the polled device. * Must be properly initialized by the driver (id, name, phys, bits). * * Polled input device provides a skeleton for supporting simple input * devices that do not raise interrupts but have to be periodically * scanned or polled to detect changes in their state. */ struct input_polled_dev { void *private; void (*flush)(struct input_polled_dev *dev); void (*poll)(struct input_polled_dev *dev); unsigned int poll_interval; /* msec */ struct input_dev *input; struct delayed_work work; }; struct input_polled_dev *input_allocate_polled_device(void); void input_free_polled_device(struct input_polled_dev *dev); int input_register_polled_device(struct input_polled_dev *dev); void input_unregister_polled_device(struct input_polled_dev *dev); #endif 6.21.y'>linux-2.6.21.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-06-30Merge tag 'selinux-pr-20210629' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds
2021-05-21evm: Pass user namespace to set/remove xattr hooksRoberto Sassu
2021-05-10selinux: delete selinux_xfrm_policy_lookup() useless argumentZhongjun Tan
2021-05-01Merge tag 'landlock_v34' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds
2021-04-22fs,security: Add sb_delete hookMickaël Salaün
2021-04-22LSM: Infrastructure management of the superblockCasey Schaufler
2021-03-22lsm: separate security_task_getsecid() into subjective and objective variantsPaul Moore
2021-03-22lsm,selinux: add new hook to compare new mount to an existing mountOlga Kornievskaia
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds
2021-01-24commoncap: handle idmapped mountsChristian Brauner
2021-01-14security: add inode_init_security_anon() LSM hookLokesh Gidra
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds
2020-12-12Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...Jakub Kicinski
2020-12-03security: add const qualifier to struct sock in various placesFlorian Westphal
2020-11-27xfrm: redact SA secret with lockdown confidentialityAntony Antony
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore
2020-10-05LSM: Add "contents" flag to kernel_read_file hookKees Cook
2020-10-05LSM: Introduce kernel_post_load_data() hookKees Cook
2020-10-05fs/kernel_read_file: Split into separate include fileScott Branden
2020-06-23security: Fix hook iteration and default value for inode_copy_up_xattrKP Singh
2020-06-14Merge tag 'LSM-add-setgid-hook-5.8-author-fix' of git://github.com/micah-mort...Linus Torvalds
2020-06-14security: Add LSM hooks to set*gid syscallsThomas Cedeno
2020-06-13Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds
2020-06-09Merge tag 'ovl-update-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds
2020-06-06Merge tag 'integrity-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds
2020-06-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds
2020-06-03ovl: call secutiry hook in ovl_real_ioctl()Miklos Szeredi
2020-05-29exec: Compute file based creds only onceEric W. Biederman
2020-05-22ima: verify mprotect change is consistent with mmap policyMimi Zohar
2020-05-21exec: Convert security_bprm_set_creds into security_bprm_repopulate_credsEric W. Biederman
2020-05-20security: Fix hook iteration for secid_to_secctxKP Singh
2020-05-20exec: Factor security_bprm_creds_for_exec out of security_bprm_set_credsEric W. Biederman
2020-05-19keys: Make the KEY_NEED_* perms an enum rather than a maskDavid Howells
2020-05-19security: Add hooks to rule on setting a watchDavid Howells
2020-05-19security: Add a hook for the point of notification insertionDavid Howells