Home
last modified time | relevance | path

Searched refs:sonypi_compat (Results 1 – 1 of 1) sorted by relevance

/drivers/platform/x86/
Dsony-laptop.c2578 static struct sonypi_compat_s sonypi_compat = { variable
2584 return fasync_helper(fd, filp, on, &sonypi_compat.fifo_async); in sonypi_misc_fasync()
2589 atomic_dec(&sonypi_compat.open_count); in sonypi_misc_release()
2598 spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
2600 if (atomic_inc_return(&sonypi_compat.open_count) == 1) in sonypi_misc_open()
2601 kfifo_reset(&sonypi_compat.fifo); in sonypi_misc_open()
2603 spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
2614 if ((kfifo_len(&sonypi_compat.fifo) == 0) && in sonypi_misc_read()
2618 ret = wait_event_interruptible(sonypi_compat.fifo_proc_list, in sonypi_misc_read()
2619 kfifo_len(&sonypi_compat.fifo) != 0); in sonypi_misc_read()
[all …]