Searched refs:smo8800 (Results 1 – 4 of 4) sorted by relevance
32 struct smo8800_device *smo8800 = data; in smo8800_interrupt_quick() local34 atomic_inc(&smo8800->counter); in smo8800_interrupt_quick()35 wake_up_interruptible(&smo8800->misc_wait); in smo8800_interrupt_quick()41 struct smo8800_device *smo8800 = data; in smo8800_interrupt_thread() local43 dev_info(smo8800->dev, "detected free fall\n"); in smo8800_interrupt_thread()81 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_read() local91 atomic_set(&smo8800->counter, 0); in smo8800_misc_read()92 retval = wait_event_interruptible(smo8800->misc_wait, in smo8800_misc_read()93 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()113 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_open() local[all …]
45 obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o
416 be called dell-smo8800.
4952 F: drivers/platform/x86/dell-smo8800.c