Searched refs:sonypi_compat (Results 1 – 1 of 1) sorted by relevance
4038 static struct sonypi_compat_s sonypi_compat = { variable4044 return fasync_helper(fd, filp, on, &sonypi_compat.fifo_async); in sonypi_misc_fasync()4049 atomic_dec(&sonypi_compat.open_count); in sonypi_misc_release()4058 spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()4060 if (atomic_inc_return(&sonypi_compat.open_count) == 1) in sonypi_misc_open()4061 kfifo_reset(&sonypi_compat.fifo); in sonypi_misc_open()4063 spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()4074 if ((kfifo_len(&sonypi_compat.fifo) == 0) && in sonypi_misc_read()4078 ret = wait_event_interruptible(sonypi_compat.fifo_proc_list, in sonypi_misc_read()4079 kfifo_len(&sonypi_compat.fifo) != 0); in sonypi_misc_read()[all …]