Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/x86/
Dsony-laptop.c4057 static struct sonypi_compat_s sonypi_compat = { variable
4063 return fasync_helper(fd, filp, on, &sonypi_compat.fifo_async); in sonypi_misc_fasync()
4068 atomic_dec(&sonypi_compat.open_count); in sonypi_misc_release()
4077 spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
4079 if (atomic_inc_return(&sonypi_compat.open_count) == 1) in sonypi_misc_open()
4080 kfifo_reset(&sonypi_compat.fifo); in sonypi_misc_open()
4082 spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
4093 if ((kfifo_len(&sonypi_compat.fifo) == 0) && in sonypi_misc_read()
4097 ret = wait_event_interruptible(sonypi_compat.fifo_proc_list, in sonypi_misc_read()
4098 kfifo_len(&sonypi_compat.fifo) != 0); in sonypi_misc_read()
[all …]