Lines Matching defs: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
175 static ssize_t read_file_beacon(struct file *file, char __user *user_buf,
178 struct ath5k_hw *ah = file->private_data;
223 static ssize_t write_file_beacon(struct file *file,
227 struct ath5k_hw *ah = file->private_data;
256 static ssize_t write_file_reset(struct file *file,
260 struct ath5k_hw *ah = file->private_data;
261 ATH5K_DBG(ah, ATH5K_DEBUG_RESET, "debug file triggered reset\n");
296 static ssize_t read_file_debug(struct file *file, char __user *user_buf,
299 struct ath5k_hw *ah = file->private_data;
324 static ssize_t write_file_debug(struct file *file,
328 struct ath5k_hw *ah = file->private_data;
358 static ssize_t read_file_antenna(struct file *file, char __user *user_buf,
361 struct ath5k_hw *ah = file->private_data;
429 static ssize_t write_file_antenna(struct file *file,
433 struct ath5k_hw *ah = file->private_data;
471 static ssize_t read_file_misc(struct file *file, char __user *user_buf,
474 struct ath5k_hw *ah = file->private_data;
526 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf,
529 struct ath5k_hw *ah = file->private_data;
602 static ssize_t write_file_frameerrors(struct file *file,
606 struct ath5k_hw *ah = file->private_data;
644 static ssize_t read_file_ani(struct file *file, char __user *user_buf,
647 struct ath5k_hw *ah = file->private_data;
752 static ssize_t write_file_ani(struct file *file,
756 struct ath5k_hw *ah = file->private_data;
809 static ssize_t read_file_queue(struct file *file, char __user *user_buf,
812 struct ath5k_hw *ah = file->private_data;
850 static ssize_t write_file_queue(struct file *file,
854 struct ath5k_hw *ah = file->private_data;
886 static int open_file_eeprom(struct inode *inode, struct file *file)
929 /* Create private struct and assign to file */
940 file->private_data = (void *)ep;
951 static ssize_t read_file_eeprom(struct file *file, char __user *user_buf,
954 struct eeprom_private *ep = file->private_data;
959 static int release_file_eeprom(struct inode *inode, struct file *file)
961 struct eeprom_private *ep = file->private_data;