Lines Matching full:file

51 	 *   - driver file
52 * - chipset file
53 * - device state flags file
54 * - device capability flags file
55 * - hardware restart file
63 * - frame dump file
64 * - queue stats file
65 * - crypto stats file
70 * The frame dump file only allows a single reader,
185 * Verify that the file has not been closed while we were working.
192 static int rt2x00debug_file_open(struct inode *inode, struct file *file)
196 file->private_data = inode->i_private;
204 static int rt2x00debug_file_release(struct inode *inode, struct file *file)
206 struct rt2x00debug_intf *intf = file->private_data;
213 static int rt2x00debug_open_queue_dump(struct inode *inode, struct file *file)
218 retval = rt2x00debug_file_open(inode, file);
223 rt2x00debug_file_release(inode, file);
230 static int rt2x00debug_release_queue_dump(struct inode *inode, struct file *file)
238 return rt2x00debug_file_release(inode, file);
241 static ssize_t rt2x00debug_read_queue_dump(struct file *file,
246 struct rt2x00debug_intf *intf = file->private_data;
251 if (file->f_flags & O_NONBLOCK)
275 static __poll_t rt2x00debug_poll_queue_dump(struct file *file,
278 struct rt2x00debug_intf *intf = file->private_data;
280 poll_wait(file, &intf->frame_dump_waitqueue, wait);
297 static ssize_t rt2x00debug_read_queue_stats(struct file *file,
302 struct rt2x00debug_intf *intf = file->private_data;
356 static ssize_t rt2x00debug_read_crypto_stats(struct file *file,
361 struct rt2x00debug_intf *intf = file->private_data;
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,
506 struct rt2x00debug_intf *intf = file->private_data;
526 static ssize_t rt2x00debug_read_cap_flags(struct file *file,
531 struct rt2x00debug_intf *intf = file->private_data;
551 static ssize_t rt2x00debug_write_restart_hw(struct file *file,
556 struct rt2x00debug_intf *intf = file->private_data;