Searched refs:smo8800 (Results 1 – 4 of 4) sorted by relevance
40 struct smo8800_device *smo8800 = data; in smo8800_interrupt_quick() local42 atomic_inc(&smo8800->counter); in smo8800_interrupt_quick()43 wake_up_interruptible(&smo8800->misc_wait); in smo8800_interrupt_quick()49 struct smo8800_device *smo8800 = data; in smo8800_interrupt_thread() local51 dev_info(smo8800->dev, "detected free fall\n"); in smo8800_interrupt_thread()89 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_read() local99 atomic_set(&smo8800->counter, 0); in smo8800_misc_read()100 retval = wait_event_interruptible(smo8800->misc_wait, in smo8800_misc_read()101 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()121 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_open() local[all …]
24 obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o
212 be called dell-smo8800.
4197 F: drivers/platform/x86/dell-smo8800.c