Searched refs:smo8800 (Results 1 – 4 of 4) sorted by relevance
33 struct smo8800_device *smo8800 = data; in smo8800_interrupt_quick() local35 atomic_inc(&smo8800->counter); in smo8800_interrupt_quick()36 wake_up_interruptible(&smo8800->misc_wait); in smo8800_interrupt_quick()42 struct smo8800_device *smo8800 = data; in smo8800_interrupt_thread() local44 dev_info(smo8800->dev, "detected free fall\n"); in smo8800_interrupt_thread()51 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_read() local61 atomic_set(&smo8800->counter, 0); in smo8800_misc_read()62 retval = wait_event_interruptible(smo8800->misc_wait, in smo8800_misc_read()63 (data = atomic_xchg(&smo8800->counter, 0))); in smo8800_misc_read()80 struct smo8800_device *smo8800 = container_of(file->private_data, in smo8800_misc_open() local[all …]
16 obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o
148 be called dell-smo8800.
5799 F: drivers/platform/x86/dell/dell-smo8800.c