Lines Matching refs:user_buf

150 					char __user *user_buf,  in ath10k_read_wmi_services()  argument
187 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
443 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
449 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
461 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
486 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
521 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
531 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
542 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
554 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); 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
622 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
633 char __user *user_buf, in ath10k_reg_addr_read() argument
647 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
651 const char __user *user_buf, in ath10k_reg_addr_write() argument
658 ret = kstrtou32_from_user(user_buf, count, 0, &reg_addr); in ath10k_reg_addr_write()
681 char __user *user_buf, in ath10k_reg_value_read() argument
703 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
712 const char __user *user_buf, in ath10k_reg_value_write() argument
729 ret = kstrtou32_from_user(user_buf, count, 0, &reg_val); in ath10k_reg_value_write()
752 char __user *user_buf, in ath10k_mem_value_read() argument
786 ret = copy_to_user(user_buf, buf, count); in ath10k_mem_value_read()
804 const char __user *user_buf, in ath10k_mem_value_write() argument
831 ret = copy_from_user(buf, user_buf, count); in ath10k_mem_value_write()
904 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
913 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
917 const char __user *user_buf, in ath10k_write_htt_stats_mask() argument
924 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in ath10k_write_htt_stats_mask()
957 char __user *user_buf, in ath10k_read_htt_max_amsdu_ampdu() argument
973 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
977 const char __user *user_buf, in ath10k_write_htt_max_amsdu_ampdu() argument
986 user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1019 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1029 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1033 const char __user *user_buf, in ath10k_write_fw_dbglog() argument
1043 user_buf, count); in ath10k_write_fw_dbglog()
1300 char __user *user_buf, in ath10k_debug_cal_data_read() argument
1307 count = simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1317 const char __user *user_buf, in ath10k_write_ani_enable() argument
1324 if (kstrtou8_from_user(user_buf, count, 0, &enable)) 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
1359 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1378 char __user *user_buf, in ath10k_read_nf_cal_period() argument
1387 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1391 const char __user *user_buf, in ath10k_write_nf_cal_period() argument
1398 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period()
1674 static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, in ath10k_tpc_stats_read() argument
1680 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
1761 const char __user *user_buf, in ath10k_write_simulate_radar() argument
1795 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1836 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()
2170 char __user *user_buf, in ath10k_debug_fw_checksums_read() argument
2209 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_checksums_read()
2225 char __user *user_buf, in ath10k_sta_tid_stats_mask_read() argument
2233 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_sta_tid_stats_mask_read()
2237 const char __user *user_buf, in ath10k_sta_tid_stats_mask_write() argument
2246 if (copy_from_user(buf, user_buf, len)) in ath10k_sta_tid_stats_mask_write()
2338 char __user *user_buf, in ath10k_tpc_stats_final_read() argument
2344 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_final_read()
2356 const char __user *user_buf, in ath10k_write_warm_hw_reset() argument
2363 if (kstrtobool_from_user(user_buf, count, &val)) in ath10k_write_warm_hw_reset()
2410 const char __user *user_buf, in ath10k_write_ps_state_enable() argument
2418 if (kstrtou8_from_user(user_buf, count, 0, &ps_state_enable)) in ath10k_write_ps_state_enable()
2454 char __user *user_buf, in ath10k_read_ps_state_enable() argument
2466 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ps_state_enable()
2478 const char __user *user_buf, in ath10k_write_reset_htt_stats() argument
2485 ret = kstrtoul_from_user(user_buf, count, 0, &reset); in ath10k_write_reset_htt_stats()