Lines Matching refs:user_buf

161 					char __user *user_buf,  in ath10k_read_wmi_services()  argument
198 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
451 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
457 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
469 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
494 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
529 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
539 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
550 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
562 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
621 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, in ath10k_read_chip_id() argument
630 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
641 char __user *user_buf, in ath10k_reg_addr_read() argument
655 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
659 const char __user *user_buf, in ath10k_reg_addr_write() argument
666 ret = kstrtou32_from_user(user_buf, count, 0, &reg_addr); in ath10k_reg_addr_write()
689 char __user *user_buf, in ath10k_reg_value_read() argument
711 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
720 const char __user *user_buf, in ath10k_reg_value_write() argument
737 ret = kstrtou32_from_user(user_buf, count, 0, &reg_val); in ath10k_reg_value_write()
760 char __user *user_buf, in ath10k_mem_value_read() argument
794 ret = copy_to_user(user_buf, buf, count); in ath10k_mem_value_read()
812 const char __user *user_buf, in ath10k_mem_value_write() argument
839 ret = copy_from_user(buf, user_buf, count); in ath10k_mem_value_write()
912 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
921 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
925 const char __user *user_buf, in ath10k_write_htt_stats_mask() argument
932 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in ath10k_write_htt_stats_mask()
965 char __user *user_buf, in ath10k_read_htt_max_amsdu_ampdu() argument
981 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
985 const char __user *user_buf, in ath10k_write_htt_max_amsdu_ampdu() argument
994 user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1027 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1037 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1041 const char __user *user_buf, in ath10k_write_fw_dbglog() argument
1051 user_buf, count); in ath10k_write_fw_dbglog()
1303 char __user *user_buf, in ath10k_debug_cal_data_read() argument
1310 count = simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1320 const char __user *user_buf, in ath10k_write_ani_enable() argument
1327 if (kstrtou8_from_user(user_buf, count, 0, &enable)) in ath10k_write_ani_enable()
1353 static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf, in ath10k_read_ani_enable() argument
1362 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1381 char __user *user_buf, in ath10k_read_nf_cal_period() argument
1390 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1394 const char __user *user_buf, in ath10k_write_nf_cal_period() argument
1401 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period()
1677 static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, in ath10k_tpc_stats_read() argument
1683 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
1764 const char __user *user_buf, in ath10k_write_simulate_radar() argument
1798 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1839 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()
2115 char __user *user_buf, in ath10k_debug_fw_checksums_read() argument
2154 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_checksums_read()
2170 char __user *user_buf, in ath10k_sta_tid_stats_mask_read() argument
2178 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_sta_tid_stats_mask_read()
2182 const char __user *user_buf, in ath10k_sta_tid_stats_mask_write() argument
2191 if (copy_from_user(buf, user_buf, len)) in ath10k_sta_tid_stats_mask_write()
2283 char __user *user_buf, in ath10k_tpc_stats_final_read() argument
2289 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_final_read()
2301 const char __user *user_buf, in ath10k_write_warm_hw_reset() argument
2308 if (kstrtobool_from_user(user_buf, count, &val)) in ath10k_write_warm_hw_reset()