• Home
  • Raw
  • Download

Lines Matching refs:file

1455 static int snd_timer_user_open(struct inode *inode, struct file *file)  in snd_timer_user_open()  argument
1460 err = stream_open(inode, file); in snd_timer_user_open()
1475 file->private_data = tu; in snd_timer_user_open()
1479 static int snd_timer_user_release(struct inode *inode, struct file *file) in snd_timer_user_release() argument
1483 if (file->private_data) { in snd_timer_user_release()
1484 tu = file->private_data; in snd_timer_user_release()
1485 file->private_data = NULL; in snd_timer_user_release()
1606 static int snd_timer_user_ginfo(struct file *file, in snd_timer_user_ginfo() argument
1673 static int snd_timer_user_gparams(struct file *file, in snd_timer_user_gparams() argument
1683 static int snd_timer_user_gstatus(struct file *file, in snd_timer_user_gstatus() argument
1718 static int snd_timer_user_tselect(struct file *file, in snd_timer_user_tselect() argument
1726 tu = file->private_data; in snd_timer_user_tselect()
1753 static int snd_timer_user_info(struct file *file, in snd_timer_user_info() argument
1761 tu = file->private_data; in snd_timer_user_info()
1783 static int snd_timer_user_params(struct file *file, in snd_timer_user_params() argument
1791 tu = file->private_data; in snd_timer_user_params()
1884 static int snd_timer_user_status(struct file *file, in snd_timer_user_status() argument
1890 tu = file->private_data; in snd_timer_user_status()
1906 static int snd_timer_user_start(struct file *file) in snd_timer_user_start() argument
1911 tu = file->private_data; in snd_timer_user_start()
1923 static int snd_timer_user_stop(struct file *file) in snd_timer_user_stop() argument
1928 tu = file->private_data; in snd_timer_user_stop()
1937 static int snd_timer_user_continue(struct file *file) in snd_timer_user_continue() argument
1942 tu = file->private_data; in snd_timer_user_continue()
1947 return snd_timer_user_start(file); in snd_timer_user_continue()
1955 static int snd_timer_user_pause(struct file *file) in snd_timer_user_pause() argument
1960 tu = file->private_data; in snd_timer_user_pause()
1976 static long __snd_timer_user_ioctl(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl() argument
1983 tu = file->private_data; in __snd_timer_user_ioctl()
2007 return snd_timer_user_ginfo(file, argp); in __snd_timer_user_ioctl()
2009 return snd_timer_user_gparams(file, argp); in __snd_timer_user_ioctl()
2011 return snd_timer_user_gstatus(file, argp); in __snd_timer_user_ioctl()
2013 return snd_timer_user_tselect(file, argp); in __snd_timer_user_ioctl()
2015 return snd_timer_user_info(file, argp); in __snd_timer_user_ioctl()
2017 return snd_timer_user_params(file, argp); in __snd_timer_user_ioctl()
2019 return snd_timer_user_status(file, argp); in __snd_timer_user_ioctl()
2022 return snd_timer_user_start(file); in __snd_timer_user_ioctl()
2025 return snd_timer_user_stop(file); in __snd_timer_user_ioctl()
2028 return snd_timer_user_continue(file); in __snd_timer_user_ioctl()
2031 return snd_timer_user_pause(file); in __snd_timer_user_ioctl()
2036 static long snd_timer_user_ioctl(struct file *file, unsigned int cmd, in snd_timer_user_ioctl() argument
2039 struct snd_timer_user *tu = file->private_data; in snd_timer_user_ioctl()
2043 ret = __snd_timer_user_ioctl(file, cmd, arg); in snd_timer_user_ioctl()
2048 static int snd_timer_user_fasync(int fd, struct file * file, int on) in snd_timer_user_fasync() argument
2052 tu = file->private_data; in snd_timer_user_fasync()
2053 return fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2056 static ssize_t snd_timer_user_read(struct file *file, char __user *buffer, in snd_timer_user_read() argument
2064 tu = file->private_data; in snd_timer_user_read()
2072 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
2126 static __poll_t snd_timer_user_poll(struct file *file, poll_table * wait) in snd_timer_user_poll() argument
2131 tu = file->private_data; in snd_timer_user_poll()
2133 poll_wait(file, &tu->qchange_sleep, wait); in snd_timer_user_poll()