Lines Matching refs:file
149 static ssize_t ath10k_read_wmi_services(struct file *file, in ath10k_read_wmi_services() argument
153 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services()
392 static int ath10k_fw_stats_open(struct inode *inode, struct file *file) in ath10k_fw_stats_open() argument
423 file->private_data = buf; in ath10k_fw_stats_open()
436 static int ath10k_fw_stats_release(struct inode *inode, struct file *file) in ath10k_fw_stats_release() argument
438 vfree(file->private_data); in ath10k_fw_stats_release()
443 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
446 const char *buf = file->private_data; in ath10k_fw_stats_read()
460 static ssize_t ath10k_debug_fw_reset_stats_read(struct file *file, in ath10k_debug_fw_reset_stats_read() argument
464 struct ath10k *ar = file->private_data; in ath10k_debug_fw_reset_stats_read()
520 static ssize_t ath10k_read_simulate_fw_crash(struct file *file, in ath10k_read_simulate_fw_crash() argument
541 static ssize_t ath10k_write_simulate_fw_crash(struct file *file, in ath10k_write_simulate_fw_crash() argument
545 struct ath10k *ar = file->private_data; in ath10k_write_simulate_fw_crash()
613 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, in ath10k_read_chip_id() argument
616 struct ath10k *ar = file->private_data; in ath10k_read_chip_id()
632 static ssize_t ath10k_reg_addr_read(struct file *file, in ath10k_reg_addr_read() argument
636 struct ath10k *ar = file->private_data; in ath10k_reg_addr_read()
650 static ssize_t ath10k_reg_addr_write(struct file *file, in ath10k_reg_addr_write() argument
654 struct ath10k *ar = file->private_data; in ath10k_reg_addr_write()
680 static ssize_t ath10k_reg_value_read(struct file *file, in ath10k_reg_value_read() argument
684 struct ath10k *ar = file->private_data; in ath10k_reg_value_read()
711 static ssize_t ath10k_reg_value_write(struct file *file, in ath10k_reg_value_write() argument
715 struct ath10k *ar = file->private_data; in ath10k_reg_value_write()
751 static ssize_t ath10k_mem_value_read(struct file *file, in ath10k_mem_value_read() argument
755 struct ath10k *ar = file->private_data; in ath10k_mem_value_read()
803 static ssize_t ath10k_mem_value_write(struct file *file, in ath10k_mem_value_write() argument
807 struct ath10k *ar = file->private_data; in ath10k_mem_value_write()
903 static ssize_t ath10k_read_htt_stats_mask(struct file *file, in ath10k_read_htt_stats_mask() argument
907 struct ath10k *ar = file->private_data; in ath10k_read_htt_stats_mask()
916 static ssize_t ath10k_write_htt_stats_mask(struct file *file, in ath10k_write_htt_stats_mask() argument
920 struct ath10k *ar = file->private_data; in ath10k_write_htt_stats_mask()
956 static ssize_t ath10k_read_htt_max_amsdu_ampdu(struct file *file, in ath10k_read_htt_max_amsdu_ampdu() argument
960 struct ath10k *ar = file->private_data; in ath10k_read_htt_max_amsdu_ampdu()
976 static ssize_t ath10k_write_htt_max_amsdu_ampdu(struct file *file, in ath10k_write_htt_max_amsdu_ampdu() argument
980 struct ath10k *ar = file->private_data; in ath10k_write_htt_max_amsdu_ampdu()
1018 static ssize_t ath10k_read_fw_dbglog(struct file *file, in ath10k_read_fw_dbglog() argument
1022 struct ath10k *ar = file->private_data; in ath10k_read_fw_dbglog()
1032 static ssize_t ath10k_write_fw_dbglog(struct file *file, in ath10k_write_fw_dbglog() argument
1036 struct ath10k *ar = file->private_data; in ath10k_write_fw_dbglog()
1282 static int ath10k_debug_cal_data_open(struct inode *inode, struct file *file) in ath10k_debug_cal_data_open() argument
1293 file->private_data = ar; in ath10k_debug_cal_data_open()
1299 static ssize_t ath10k_debug_cal_data_read(struct file *file, in ath10k_debug_cal_data_read() argument
1303 struct ath10k *ar = file->private_data; in ath10k_debug_cal_data_read()
1316 static ssize_t ath10k_write_ani_enable(struct file *file, in ath10k_write_ani_enable() argument
1320 struct ath10k *ar = file->private_data; in ath10k_write_ani_enable()
1350 static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf, in ath10k_read_ani_enable() argument
1353 struct ath10k *ar = file->private_data; in ath10k_read_ani_enable()
1377 static ssize_t ath10k_read_nf_cal_period(struct file *file, in ath10k_read_nf_cal_period() argument
1381 struct ath10k *ar = file->private_data; in ath10k_read_nf_cal_period()
1390 static ssize_t ath10k_write_nf_cal_period(struct file *file, in ath10k_write_nf_cal_period() argument
1394 struct ath10k *ar = file->private_data; in ath10k_write_nf_cal_period()
1627 static int ath10k_tpc_stats_open(struct inode *inode, struct file *file) in ath10k_tpc_stats_open() argument
1654 file->private_data = buf; in ath10k_tpc_stats_open()
1667 static int ath10k_tpc_stats_release(struct inode *inode, struct file *file) in ath10k_tpc_stats_release() argument
1669 vfree(file->private_data); in ath10k_tpc_stats_release()
1674 static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, in ath10k_tpc_stats_read() argument
1677 const char *buf = file->private_data; in ath10k_tpc_stats_read()
1760 static ssize_t ath10k_write_simulate_radar(struct file *file, in ath10k_write_simulate_radar() argument
1764 struct ath10k *ar = file->private_data; in ath10k_write_simulate_radar()
1795 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1800 struct ath10k *ar = file->private_data; in ath10k_read_dfs_stats()
1849 static ssize_t ath10k_write_pktlog_filter(struct file *file, in ath10k_write_pktlog_filter() argument
1853 struct ath10k *ar = file->private_data; in ath10k_write_pktlog_filter()
1896 static ssize_t ath10k_read_pktlog_filter(struct file *file, char __user *ubuf, in ath10k_read_pktlog_filter() argument
1900 struct ath10k *ar = file->private_data; in ath10k_read_pktlog_filter()
1917 static ssize_t ath10k_write_quiet_period(struct file *file, in ath10k_write_quiet_period() argument
1921 struct ath10k *ar = file->private_data; in ath10k_write_quiet_period()
1940 static ssize_t ath10k_read_quiet_period(struct file *file, char __user *ubuf, in ath10k_read_quiet_period() argument
1944 struct ath10k *ar = file->private_data; in ath10k_read_quiet_period()
1961 static ssize_t ath10k_write_btcoex(struct file *file, in ath10k_write_btcoex() argument
1965 struct ath10k *ar = file->private_data; in ath10k_write_btcoex()
2024 static ssize_t ath10k_read_btcoex(struct file *file, char __user *ubuf, in ath10k_read_btcoex() argument
2028 struct ath10k *ar = file->private_data; in ath10k_read_btcoex()
2045 static ssize_t ath10k_write_enable_extd_tx_stats(struct file *file, in ath10k_write_enable_extd_tx_stats() argument
2049 struct ath10k *ar = file->private_data; in ath10k_write_enable_extd_tx_stats()
2077 static ssize_t ath10k_read_enable_extd_tx_stats(struct file *file, in ath10k_read_enable_extd_tx_stats() argument
2083 struct ath10k *ar = file->private_data; in ath10k_read_enable_extd_tx_stats()
2100 static ssize_t ath10k_write_peer_stats(struct file *file, in ath10k_write_peer_stats() argument
2104 struct ath10k *ar = file->private_data; in ath10k_write_peer_stats()
2147 static ssize_t ath10k_read_peer_stats(struct file *file, char __user *ubuf, in ath10k_read_peer_stats() argument
2152 struct ath10k *ar = file->private_data; in ath10k_read_peer_stats()
2169 static ssize_t ath10k_debug_fw_checksums_read(struct file *file, in ath10k_debug_fw_checksums_read() argument
2173 struct ath10k *ar = file->private_data; in ath10k_debug_fw_checksums_read()
2224 static ssize_t ath10k_sta_tid_stats_mask_read(struct file *file, in ath10k_sta_tid_stats_mask_read() argument
2228 struct ath10k *ar = file->private_data; in ath10k_sta_tid_stats_mask_read()
2236 static ssize_t ath10k_sta_tid_stats_mask_write(struct file *file, in ath10k_sta_tid_stats_mask_write() argument
2240 struct ath10k *ar = file->private_data; in ath10k_sta_tid_stats_mask_write()
2289 static int ath10k_tpc_stats_final_open(struct inode *inode, struct file *file) in ath10k_tpc_stats_final_open() argument
2316 file->private_data = buf; in ath10k_tpc_stats_final_open()
2330 struct file *file) in ath10k_tpc_stats_final_release() argument
2332 vfree(file->private_data); in ath10k_tpc_stats_final_release()
2337 static ssize_t ath10k_tpc_stats_final_read(struct file *file, in ath10k_tpc_stats_final_read() argument
2341 const char *buf = file->private_data; in ath10k_tpc_stats_final_read()
2355 static ssize_t ath10k_write_warm_hw_reset(struct file *file, in ath10k_write_warm_hw_reset() argument
2359 struct ath10k *ar = file->private_data; in ath10k_write_warm_hw_reset()
2409 static ssize_t ath10k_write_ps_state_enable(struct file *file, in ath10k_write_ps_state_enable() argument
2413 struct ath10k *ar = file->private_data; in ath10k_write_ps_state_enable()
2453 static ssize_t ath10k_read_ps_state_enable(struct file *file, in ath10k_read_ps_state_enable() argument
2457 struct ath10k *ar = file->private_data; in ath10k_read_ps_state_enable()
2477 static ssize_t ath10k_write_reset_htt_stats(struct file *file, in ath10k_write_reset_htt_stats() argument
2481 struct ath10k *ar = file->private_data; in ath10k_write_reset_htt_stats()