Lines Matching refs:file

192 static int rt2x00debug_file_open(struct inode *inode, struct file *file)  in rt2x00debug_file_open()  argument
196 file->private_data = inode->i_private; in rt2x00debug_file_open()
204 static int rt2x00debug_file_release(struct inode *inode, struct file *file) in rt2x00debug_file_release() argument
206 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_file_release()
213 static int rt2x00debug_open_queue_dump(struct inode *inode, struct file *file) in rt2x00debug_open_queue_dump() argument
218 retval = rt2x00debug_file_open(inode, file); in rt2x00debug_open_queue_dump()
223 rt2x00debug_file_release(inode, file); in rt2x00debug_open_queue_dump()
230 static int rt2x00debug_release_queue_dump(struct inode *inode, struct file *file) in rt2x00debug_release_queue_dump() argument
238 return rt2x00debug_file_release(inode, file); in rt2x00debug_release_queue_dump()
241 static ssize_t rt2x00debug_read_queue_dump(struct file *file, in rt2x00debug_read_queue_dump() argument
246 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_read_queue_dump()
251 if (file->f_flags & O_NONBLOCK) in rt2x00debug_read_queue_dump()
275 static __poll_t rt2x00debug_poll_queue_dump(struct file *file, in rt2x00debug_poll_queue_dump() argument
278 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_poll_queue_dump()
280 poll_wait(file, &intf->frame_dump_waitqueue, wait); in rt2x00debug_poll_queue_dump()
297 static ssize_t rt2x00debug_read_queue_stats(struct file *file, in rt2x00debug_read_queue_stats() argument
302 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_read_queue_stats()
356 static ssize_t rt2x00debug_read_crypto_stats(struct file *file, in rt2x00debug_read_crypto_stats() argument
361 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_read_crypto_stats()
410 static ssize_t rt2x00debug_read_##__name(struct file *file, \
415 struct rt2x00debug_intf *intf = file->private_data; \
442 static ssize_t rt2x00debug_write_##__name(struct file *file, \
447 struct rt2x00debug_intf *intf = file->private_data; \
501 static ssize_t rt2x00debug_read_dev_flags(struct file *file, in rt2x00debug_read_dev_flags() argument
506 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_read_dev_flags()
526 static ssize_t rt2x00debug_read_cap_flags(struct file *file, in rt2x00debug_read_cap_flags() argument
531 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_read_cap_flags()
551 static ssize_t rt2x00debug_write_restart_hw(struct file *file, in rt2x00debug_write_restart_hw() argument
556 struct rt2x00debug_intf *intf = file->private_data; in rt2x00debug_write_restart_hw()