• Home
  • Raw
  • Download

Lines Matching refs:file

1487 static int snd_timer_user_open(struct inode *inode, struct file *file)  in snd_timer_user_open()  argument
1492 err = stream_open(inode, file); in snd_timer_user_open()
1507 file->private_data = tu; in snd_timer_user_open()
1511 static int snd_timer_user_release(struct inode *inode, struct file *file) in snd_timer_user_release() argument
1515 if (file->private_data) { in snd_timer_user_release()
1516 tu = file->private_data; in snd_timer_user_release()
1517 file->private_data = NULL; in snd_timer_user_release()
1641 static int snd_timer_user_ginfo(struct file *file, in snd_timer_user_ginfo() argument
1708 static int snd_timer_user_gparams(struct file *file, in snd_timer_user_gparams() argument
1718 static int snd_timer_user_gstatus(struct file *file, in snd_timer_user_gstatus() argument
1753 static int snd_timer_user_tselect(struct file *file, in snd_timer_user_tselect() argument
1761 tu = file->private_data; in snd_timer_user_tselect()
1797 static int snd_timer_user_info(struct file *file, in snd_timer_user_info() argument
1805 tu = file->private_data; in snd_timer_user_info()
1827 static int snd_timer_user_params(struct file *file, in snd_timer_user_params() argument
1835 tu = file->private_data; in snd_timer_user_params()
1928 static int snd_timer_user_status32(struct file *file, in snd_timer_user_status32() argument
1934 tu = file->private_data; in snd_timer_user_status32()
1951 static int snd_timer_user_status64(struct file *file, in snd_timer_user_status64() argument
1957 tu = file->private_data; in snd_timer_user_status64()
1974 static int snd_timer_user_start(struct file *file) in snd_timer_user_start() argument
1979 tu = file->private_data; in snd_timer_user_start()
1991 static int snd_timer_user_stop(struct file *file) in snd_timer_user_stop() argument
1996 tu = file->private_data; in snd_timer_user_stop()
2005 static int snd_timer_user_continue(struct file *file) in snd_timer_user_continue() argument
2010 tu = file->private_data; in snd_timer_user_continue()
2015 return snd_timer_user_start(file); in snd_timer_user_continue()
2023 static int snd_timer_user_pause(struct file *file) in snd_timer_user_pause() argument
2028 tu = file->private_data; in snd_timer_user_pause()
2074 static long __snd_timer_user_ioctl(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl() argument
2081 tu = file->private_data; in __snd_timer_user_ioctl()
2091 return snd_timer_user_ginfo(file, argp); in __snd_timer_user_ioctl()
2093 return snd_timer_user_gparams(file, argp); in __snd_timer_user_ioctl()
2095 return snd_timer_user_gstatus(file, argp); in __snd_timer_user_ioctl()
2097 return snd_timer_user_tselect(file, argp); in __snd_timer_user_ioctl()
2099 return snd_timer_user_info(file, argp); in __snd_timer_user_ioctl()
2101 return snd_timer_user_params(file, argp); in __snd_timer_user_ioctl()
2103 return snd_timer_user_status32(file, argp); in __snd_timer_user_ioctl()
2105 return snd_timer_user_status64(file, argp); in __snd_timer_user_ioctl()
2108 return snd_timer_user_start(file); in __snd_timer_user_ioctl()
2111 return snd_timer_user_stop(file); in __snd_timer_user_ioctl()
2114 return snd_timer_user_continue(file); in __snd_timer_user_ioctl()
2117 return snd_timer_user_pause(file); in __snd_timer_user_ioctl()
2122 static long snd_timer_user_ioctl(struct file *file, unsigned int cmd, in snd_timer_user_ioctl() argument
2125 struct snd_timer_user *tu = file->private_data; in snd_timer_user_ioctl()
2129 ret = __snd_timer_user_ioctl(file, cmd, arg, false); in snd_timer_user_ioctl()
2134 static int snd_timer_user_fasync(int fd, struct file * file, int on) in snd_timer_user_fasync() argument
2138 tu = file->private_data; in snd_timer_user_fasync()
2139 return snd_fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2142 static ssize_t snd_timer_user_read(struct file *file, char __user *buffer, in snd_timer_user_read() argument
2152 tu = file->private_data; in snd_timer_user_read()
2174 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
2248 static __poll_t snd_timer_user_poll(struct file *file, poll_table * wait) in snd_timer_user_poll() argument
2253 tu = file->private_data; in snd_timer_user_poll()
2255 poll_wait(file, &tu->qchange_sleep, wait); in snd_timer_user_poll()