Lines Matching refs:file
1333 static int snd_timer_user_open(struct inode *inode, struct file *file) in snd_timer_user_open() argument
1338 err = nonseekable_open(inode, file); in snd_timer_user_open()
1356 file->private_data = tu; in snd_timer_user_open()
1360 static int snd_timer_user_release(struct inode *inode, struct file *file) in snd_timer_user_release() argument
1364 if (file->private_data) { in snd_timer_user_release()
1365 tu = file->private_data; in snd_timer_user_release()
1366 file->private_data = NULL; in snd_timer_user_release()
1492 static int snd_timer_user_ginfo(struct file *file, in snd_timer_user_ginfo() argument
1534 static int snd_timer_user_gparams(struct file *file, in snd_timer_user_gparams() argument
1563 static int snd_timer_user_gstatus(struct file *file, in snd_timer_user_gstatus() argument
1599 static int snd_timer_user_tselect(struct file *file, in snd_timer_user_tselect() argument
1607 tu = file->private_data; in snd_timer_user_tselect()
1655 static int snd_timer_user_info(struct file *file, in snd_timer_user_info() argument
1663 tu = file->private_data; in snd_timer_user_info()
1685 static int snd_timer_user_params(struct file *file, in snd_timer_user_params() argument
1695 tu = file->private_data; in snd_timer_user_params()
1788 static int snd_timer_user_status(struct file *file, in snd_timer_user_status() argument
1794 tu = file->private_data; in snd_timer_user_status()
1810 static int snd_timer_user_start(struct file *file) in snd_timer_user_start() argument
1815 tu = file->private_data; in snd_timer_user_start()
1824 static int snd_timer_user_stop(struct file *file) in snd_timer_user_stop() argument
1829 tu = file->private_data; in snd_timer_user_stop()
1835 static int snd_timer_user_continue(struct file *file) in snd_timer_user_continue() argument
1840 tu = file->private_data; in snd_timer_user_continue()
1845 return snd_timer_user_start(file); in snd_timer_user_continue()
1850 static int snd_timer_user_pause(struct file *file) in snd_timer_user_pause() argument
1855 tu = file->private_data; in snd_timer_user_pause()
1868 static long __snd_timer_user_ioctl(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl() argument
1875 tu = file->private_data; in __snd_timer_user_ioctl()
1893 return snd_timer_user_ginfo(file, argp); in __snd_timer_user_ioctl()
1895 return snd_timer_user_gparams(file, argp); in __snd_timer_user_ioctl()
1897 return snd_timer_user_gstatus(file, argp); in __snd_timer_user_ioctl()
1899 return snd_timer_user_tselect(file, argp); in __snd_timer_user_ioctl()
1901 return snd_timer_user_info(file, argp); in __snd_timer_user_ioctl()
1903 return snd_timer_user_params(file, argp); in __snd_timer_user_ioctl()
1905 return snd_timer_user_status(file, argp); in __snd_timer_user_ioctl()
1908 return snd_timer_user_start(file); in __snd_timer_user_ioctl()
1911 return snd_timer_user_stop(file); in __snd_timer_user_ioctl()
1914 return snd_timer_user_continue(file); in __snd_timer_user_ioctl()
1917 return snd_timer_user_pause(file); in __snd_timer_user_ioctl()
1922 static long snd_timer_user_ioctl(struct file *file, unsigned int cmd, in snd_timer_user_ioctl() argument
1925 struct snd_timer_user *tu = file->private_data; in snd_timer_user_ioctl()
1929 ret = __snd_timer_user_ioctl(file, cmd, arg); in snd_timer_user_ioctl()
1934 static int snd_timer_user_fasync(int fd, struct file * file, int on) in snd_timer_user_fasync() argument
1938 tu = file->private_data; in snd_timer_user_fasync()
1939 return fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
1942 static ssize_t snd_timer_user_read(struct file *file, char __user *buffer, in snd_timer_user_read() argument
1950 tu = file->private_data; in snd_timer_user_read()
1958 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
2012 static unsigned int snd_timer_user_poll(struct file *file, poll_table * wait) in snd_timer_user_poll() argument
2017 tu = file->private_data; in snd_timer_user_poll()
2019 poll_wait(file, &tu->qchange_sleep, wait); in snd_timer_user_poll()