Lines Matching refs:user_buf
181 char __user *user_buf, in ath10k_read_wmi_services() argument
221 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
703 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
709 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
721 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
747 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
782 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
792 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
803 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
812 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
872 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, in ath10k_read_chip_id() argument
881 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
997 char __user *user_buf, in ath10k_fw_crash_dump_read() argument
1002 return simple_read_from_buffer(user_buf, count, ppos, in ath10k_fw_crash_dump_read()
1024 char __user *user_buf, in ath10k_reg_addr_read() argument
1038 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
1042 const char __user *user_buf, in ath10k_reg_addr_write() argument
1049 ret = kstrtou32_from_user(user_buf, count, 0, ®_addr); in ath10k_reg_addr_write()
1072 char __user *user_buf, in ath10k_reg_value_read() argument
1094 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
1103 const char __user *user_buf, in ath10k_reg_value_write() argument
1120 ret = kstrtou32_from_user(user_buf, count, 0, ®_val); in ath10k_reg_value_write()
1143 char __user *user_buf, in ath10k_mem_value_read() argument
1177 ret = copy_to_user(user_buf, buf, count); in ath10k_mem_value_read()
1195 const char __user *user_buf, in ath10k_mem_value_write() argument
1222 ret = copy_from_user(buf, user_buf, count); in ath10k_mem_value_write()
1295 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
1304 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
1308 const char __user *user_buf, in ath10k_write_htt_stats_mask() argument
1315 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in ath10k_write_htt_stats_mask()
1348 char __user *user_buf, in ath10k_read_htt_max_amsdu_ampdu() argument
1368 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
1372 const char __user *user_buf, in ath10k_write_htt_max_amsdu_ampdu() argument
1380 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1414 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1424 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1428 const char __user *user_buf, in ath10k_write_fw_dbglog() argument
1436 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_fw_dbglog()
1694 char __user *user_buf, in ath10k_debug_cal_data_read() argument
1699 return simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1720 char __user *user_buf, in ath10k_read_nf_cal_period() argument
1730 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1734 const char __user *user_buf, in ath10k_write_nf_cal_period() argument
1741 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period()
1852 const char __user *user_buf, in ath10k_write_simulate_radar() argument
1877 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1918 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()