Lines Matching refs:file

4  *  This file is free software: you may copy, redistribute and/or modify it
9 * This file is distributed in the hope that it will be useful, but
18 * This file incorporates work covered by the following copyright and
172 static int open_file_registers(struct inode *inode, struct file *file)
176 res = seq_open(file, &register_seq_ops);
178 s = file->private_data;
195 static ssize_t read_file_beacon(struct file *file, char __user *user_buf,
198 struct ath5k_hw *ah = file->private_data;
243 static ssize_t write_file_beacon(struct file *file,
247 struct ath5k_hw *ah = file->private_data;
276 static ssize_t write_file_reset(struct file *file,
280 struct ath5k_hw *ah = file->private_data;
281 ATH5K_DBG(ah, ATH5K_DEBUG_RESET, "debug file triggered reset\n");
316 static ssize_t read_file_debug(struct file *file, char __user *user_buf,
319 struct ath5k_hw *ah = file->private_data;
344 static ssize_t write_file_debug(struct file *file,
348 struct ath5k_hw *ah = file->private_data;
378 static ssize_t read_file_antenna(struct file *file, char __user *user_buf,
381 struct ath5k_hw *ah = file->private_data;
449 static ssize_t write_file_antenna(struct file *file,
453 struct ath5k_hw *ah = file->private_data;
491 static ssize_t read_file_misc(struct file *file, char __user *user_buf,
494 struct ath5k_hw *ah = file->private_data;
546 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf,
549 struct ath5k_hw *ah = file->private_data;
622 static ssize_t write_file_frameerrors(struct file *file,
626 struct ath5k_hw *ah = file->private_data;
664 static ssize_t read_file_ani(struct file *file, char __user *user_buf,
667 struct ath5k_hw *ah = file->private_data;
772 static ssize_t write_file_ani(struct file *file,
776 struct ath5k_hw *ah = file->private_data;
829 static ssize_t read_file_queue(struct file *file, char __user *user_buf,
832 struct ath5k_hw *ah = file->private_data;
870 static ssize_t write_file_queue(struct file *file,
874 struct ath5k_hw *ah = file->private_data;
906 static int open_file_eeprom(struct inode *inode, struct file *file)
946 /* Create private struct and assign to file */
957 file->private_data = (void *)ep;
968 static ssize_t read_file_eeprom(struct file *file, char __user *user_buf,
971 struct eeprom_private *ep = file->private_data;
976 static int release_file_eeprom(struct inode *inode, struct file *file)
978 struct eeprom_private *ep = file->private_data;