• Home
  • Raw
  • Download

Lines Matching refs:file

70 static ssize_t hostaudio_read(struct file *file, char __user *buffer,  in hostaudio_read()  argument
73 struct hostaudio_state *state = file->private_data; in hostaudio_read()
97 static ssize_t hostaudio_write(struct file *file, const char __user *buffer, in hostaudio_write() argument
100 struct hostaudio_state *state = file->private_data; in hostaudio_write()
126 static unsigned int hostaudio_poll(struct file *file, in hostaudio_poll() argument
138 static long hostaudio_ioctl(struct file *file, in hostaudio_ioctl() argument
141 struct hostaudio_state *state = file->private_data; in hostaudio_ioctl()
181 static int hostaudio_open(struct inode *inode, struct file *file) in hostaudio_open() argument
197 if (file->f_mode & FMODE_READ) in hostaudio_open()
199 if (file->f_mode & FMODE_WRITE) in hostaudio_open()
213 file->private_data = state; in hostaudio_open()
217 static int hostaudio_release(struct inode *inode, struct file *file) in hostaudio_release() argument
219 struct hostaudio_state *state = file->private_data; in hostaudio_release()
232 static long hostmixer_ioctl_mixdev(struct file *file, in hostmixer_ioctl_mixdev() argument
235 struct hostmixer_state *state = file->private_data; in hostmixer_ioctl_mixdev()
244 static int hostmixer_open_mixdev(struct inode *inode, struct file *file) in hostmixer_open_mixdev() argument
258 if (file->f_mode & FMODE_READ) in hostmixer_open_mixdev()
260 if (file->f_mode & FMODE_WRITE) in hostmixer_open_mixdev()
278 file->private_data = state; in hostmixer_open_mixdev()
282 static int hostmixer_release(struct inode *inode, struct file *file) in hostmixer_release() argument
284 struct hostmixer_state *state = file->private_data; in hostmixer_release()