Lines Matching refs:file

245 static int ath11k_open_pdev_stats(struct inode *inode, struct file *file)
278 file->private_data = buf;
291 static int ath11k_release_pdev_stats(struct inode *inode, struct file *file)
293 vfree(file->private_data);
298 static ssize_t ath11k_read_pdev_stats(struct file *file,
302 const char *buf = file->private_data;
316 static int ath11k_open_vdev_stats(struct inode *inode, struct file *file)
349 file->private_data = buf;
362 static int ath11k_release_vdev_stats(struct inode *inode, struct file *file)
364 vfree(file->private_data);
369 static ssize_t ath11k_read_vdev_stats(struct file *file,
373 const char *buf = file->private_data;
387 static int ath11k_open_bcn_stats(struct inode *inode, struct file *file)
433 file->private_data = buf;
446 static int ath11k_release_bcn_stats(struct inode *inode, struct file *file)
448 vfree(file->private_data);
453 static ssize_t ath11k_read_bcn_stats(struct file *file,
457 const char *buf = file->private_data;
471 static ssize_t ath11k_read_simulate_fw_crash(struct file *file,
476 "To simulate firmware crash write one of the keywords to this file:\n"
490 static ssize_t ath11k_write_simulate_fw_crash(struct file *file,
494 struct ath11k_base *ab = file->private_data;
559 static ssize_t ath11k_write_enable_extd_tx_stats(struct file *file,
563 struct ath11k *ar = file->private_data;
590 static ssize_t ath11k_read_enable_extd_tx_stats(struct file *file,
596 struct ath11k *ar = file->private_data;
613 static ssize_t ath11k_write_extd_rx_stats(struct file *file,
617 struct ath11k *ar = file->private_data;
689 static ssize_t ath11k_read_extd_rx_stats(struct file *file,
693 struct ath11k *ar = file->private_data;
777 static ssize_t ath11k_debugfs_dump_soc_dp_stats(struct file *file,
781 struct ath11k_base *ab = file->private_data;
854 static ssize_t ath11k_write_fw_dbglog(struct file *file,
858 struct ath11k *ar = file->private_data;
917 static int ath11k_open_sram_dump(struct inode *inode, struct file *file)
938 file->private_data = buf;
942 static ssize_t ath11k_read_sram_dump(struct file *file,
946 struct ath11k_base *ab = file->f_inode->i_private;
947 const char *buf = file->private_data;
958 static int ath11k_release_sram_dump(struct inode *inode, struct file *file)
960 vfree(file->private_data);
961 file->private_data = NULL;
1066 static ssize_t ath11k_write_pktlog_filter(struct file *file,
1070 struct ath11k *ar = file->private_data;
1198 static ssize_t ath11k_read_pktlog_filter(struct file *file,
1204 struct ath11k *ar = file->private_data;
1222 static ssize_t ath11k_write_simulate_radar(struct file *file,
1226 struct ath11k *ar = file->private_data;
1241 static ssize_t ath11k_debug_dump_dbr_entries(struct file *file,
1245 struct ath11k_dbg_dbr_data *dbr_dbg_data = file->private_data;
1352 static ssize_t ath11k_debugfs_write_enable_dbr_dbg(struct file *file,
1356 struct ath11k *ar = file->private_data;
1404 static ssize_t ath11k_write_ps_timekeeper_enable(struct file *file,
1408 struct ath11k *ar = file->private_data;
1435 static ssize_t ath11k_read_ps_timekeeper_enable(struct file *file,
1439 struct ath11k *ar = file->private_data;
1469 static ssize_t ath11k_write_reset_ps_duration(struct file *file,
1473 struct ath11k *ar = file->private_data;
1522 static ssize_t ath11k_write_ps_state_enable(struct file *file,
1526 struct ath11k *ar = file->private_data;
1568 static ssize_t ath11k_read_ps_state_enable(struct file *file,
1572 struct ath11k *ar = file->private_data;
1673 static ssize_t ath11k_write_twt_add_dialog(struct file *file,
1677 struct ath11k_vif *arvif = file->private_data;
1749 static ssize_t ath11k_write_twt_del_dialog(struct file *file,
1753 struct ath11k_vif *arvif = file->private_data;
1796 static ssize_t ath11k_write_twt_pause_dialog(struct file *file,
1800 struct ath11k_vif *arvif = file->private_data;
1835 static ssize_t ath11k_write_twt_resume_dialog(struct file *file,
1839 struct ath11k_vif *arvif = file->private_data;