Lines Matching full:user_buf

154 					char __user *user_buf,  in ath10k_read_wmi_services()  argument
191 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
447 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
453 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
465 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
490 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
525 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
535 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
546 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
558 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
617 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, in ath10k_read_chip_id() argument
626 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
637 char __user *user_buf, in ath10k_reg_addr_read() argument
651 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
655 const char __user *user_buf, in ath10k_reg_addr_write() argument
662 ret = kstrtou32_from_user(user_buf, count, 0, &reg_addr); in ath10k_reg_addr_write()
685 char __user *user_buf, in ath10k_reg_value_read() argument
707 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
716 const char __user *user_buf, in ath10k_reg_value_write() argument
733 ret = kstrtou32_from_user(user_buf, count, 0, &reg_val); in ath10k_reg_value_write()
756 char __user *user_buf, in ath10k_mem_value_read() argument
790 ret = copy_to_user(user_buf, buf, count); in ath10k_mem_value_read()
808 const char __user *user_buf, in ath10k_mem_value_write() argument
835 ret = copy_from_user(buf, user_buf, count); in ath10k_mem_value_write()
908 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
917 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
921 const char __user *user_buf, in ath10k_write_htt_stats_mask() argument
928 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in ath10k_write_htt_stats_mask()
961 char __user *user_buf, in ath10k_read_htt_max_amsdu_ampdu() argument
977 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
981 const char __user *user_buf, in ath10k_write_htt_max_amsdu_ampdu() argument
990 user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1023 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1033 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1037 const char __user *user_buf, in ath10k_write_fw_dbglog() argument
1047 user_buf, count); in ath10k_write_fw_dbglog()
1304 char __user *user_buf, in ath10k_debug_cal_data_read() argument
1311 count = simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1321 const char __user *user_buf, in ath10k_write_ani_enable() argument
1328 if (kstrtou8_from_user(user_buf, count, 0, &enable)) in ath10k_write_ani_enable()
1354 static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf, in ath10k_read_ani_enable() argument
1363 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1382 char __user *user_buf, in ath10k_read_nf_cal_period() argument
1391 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1395 const char __user *user_buf, in ath10k_write_nf_cal_period() argument
1402 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period()
1678 static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, in ath10k_tpc_stats_read() argument
1684 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
1765 const char __user *user_buf, in ath10k_write_simulate_radar() argument
1799 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1840 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()
2160 char __user *user_buf, in ath10k_debug_fw_checksums_read() argument
2199 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_checksums_read()
2215 char __user *user_buf, in ath10k_sta_tid_stats_mask_read() argument
2223 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_sta_tid_stats_mask_read()
2227 const char __user *user_buf, in ath10k_sta_tid_stats_mask_write() argument
2234 ret = kstrtoint_from_user(user_buf, count, 0, &mask); in ath10k_sta_tid_stats_mask_write()
2323 char __user *user_buf, in ath10k_tpc_stats_final_read() argument
2329 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_final_read()
2341 const char __user *user_buf, in ath10k_write_warm_hw_reset() argument
2348 if (kstrtobool_from_user(user_buf, count, &val)) in ath10k_write_warm_hw_reset()
2395 const char __user *user_buf, in ath10k_write_ps_state_enable() argument
2403 if (kstrtou8_from_user(user_buf, count, 0, &ps_state_enable)) in ath10k_write_ps_state_enable()
2439 char __user *user_buf, in ath10k_read_ps_state_enable() argument
2451 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ps_state_enable()
2463 const char __user *user_buf, in ath10k_write_reset_htt_stats() argument
2470 ret = kstrtoul_from_user(user_buf, count, 0, &reset); in ath10k_write_reset_htt_stats()