Lines Matching refs:user_buf

199 					char __user *user_buf,  in ath10k_read_wmi_services()  argument
239 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
467 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
473 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
485 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
511 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
546 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
556 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
567 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
576 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
636 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, in ath10k_read_chip_id() argument
645 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
761 char __user *user_buf, in ath10k_fw_crash_dump_read() argument
766 return simple_read_from_buffer(user_buf, count, ppos, in ath10k_fw_crash_dump_read()
788 char __user *user_buf, in ath10k_reg_addr_read() argument
802 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
806 const char __user *user_buf, in ath10k_reg_addr_write() argument
813 ret = kstrtou32_from_user(user_buf, count, 0, &reg_addr); in ath10k_reg_addr_write()
836 char __user *user_buf, in ath10k_reg_value_read() argument
858 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
867 const char __user *user_buf, in ath10k_reg_value_write() argument
884 ret = kstrtou32_from_user(user_buf, count, 0, &reg_val); in ath10k_reg_value_write()
907 char __user *user_buf, in ath10k_mem_value_read() argument
941 ret = copy_to_user(user_buf, buf, count); in ath10k_mem_value_read()
959 const char __user *user_buf, in ath10k_mem_value_write() argument
986 ret = copy_from_user(buf, user_buf, count); in ath10k_mem_value_write()
1059 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
1068 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
1072 const char __user *user_buf, in ath10k_write_htt_stats_mask() argument
1079 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in ath10k_write_htt_stats_mask()
1112 char __user *user_buf, in ath10k_read_htt_max_amsdu_ampdu() argument
1128 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
1132 const char __user *user_buf, in ath10k_write_htt_max_amsdu_ampdu() argument
1140 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1174 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1184 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1188 const char __user *user_buf, in ath10k_write_fw_dbglog() argument
1196 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_fw_dbglog()
1454 char __user *user_buf, in ath10k_debug_cal_data_read() argument
1459 return simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1472 const char __user *user_buf, in ath10k_write_ani_enable() argument
1479 if (kstrtou8_from_user(user_buf, count, 0, &enable)) in ath10k_write_ani_enable()
1505 static ssize_t ath10k_read_ani_enable(struct file *file, char __user *user_buf, in ath10k_read_ani_enable() argument
1515 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1535 char __user *user_buf, in ath10k_read_nf_cal_period() argument
1545 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1549 const char __user *user_buf, in ath10k_write_nf_cal_period() argument
1556 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period()
1811 static ssize_t ath10k_tpc_stats_read(struct file *file, char __user *user_buf, in ath10k_tpc_stats_read() argument
1817 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
1891 const char __user *user_buf, in ath10k_write_simulate_radar() argument
1916 static ssize_t ath10k_read_dfs_stats(struct file *file, char __user *user_buf, in ath10k_read_dfs_stats() argument
1957 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()