Searched refs:smo8800 (Results 1 – 4 of 4) sorted by relevance
31 struct smo8800_device *smo8800 = data; in smo8800_interrupt_quick() local33 atomic_inc(&smo8800->counter); in smo8800_interrupt_quick()34 wake_up_interruptible(&smo8800->misc_wait); in smo8800_interrupt_quick()40 struct smo8800_device *smo8800 = data; in smo8800_interrupt_thread() local42 dev_info(smo8800->dev, "detected free fall\n"); in smo8800_interrupt_thread()80 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_read() local90 atomic_set(&smo8800->counter, 0); in smo8800_misc_read()91 retval = wait_event_interruptible(smo8800->misc_wait, in smo8800_misc_read()92 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()112 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_open() local[all …]
26 obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o
234 be called dell-smo8800.
4675 F: drivers/platform/x86/dell-smo8800.c