Lines Matching defs:user_buf

71 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf,
75 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
86 static ssize_t read_file_debug(struct file *file, char __user *user_buf,
95 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
98 static ssize_t write_file_debug(struct file *file, const char __user *user_buf,
106 ret = kstrtoul_from_user(user_buf, count, 0, &mask);
127 static ssize_t read_file_ani(struct file *file, char __user *user_buf,
176 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
183 const char __user *user_buf,
191 ret = kstrtoul_from_user(user_buf, count, 0, &ani);
221 char __user *user_buf,
230 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
234 const char __user *user_buf,
243 ret = kstrtoul_from_user(user_buf, count, 0, &bt_ant_diversity);
285 char __user *user_buf,
376 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
773 const char __user *user_buf,
782 ret = kstrtoul_from_user(user_buf, count, 0, &val);
853 static ssize_t read_file_regidx(struct file *file, char __user *user_buf,
861 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
864 static ssize_t write_file_regidx(struct file *file, const char __user *user_buf,
871 ret = kstrtoul_from_user(user_buf, count, 0, &regidx);
887 static ssize_t read_file_regval(struct file *file, char __user *user_buf,
900 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
903 static ssize_t write_file_regval(struct file *file, const char __user *user_buf,
911 ret = kstrtoul_from_user(user_buf, count, 0, &regval);
1013 static ssize_t read_file_btcoex(struct file *file, char __user *user_buf,
1033 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
1048 static ssize_t read_file_ackto(struct file *file, char __user *user_buf,
1059 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
1072 static ssize_t read_file_wow(struct file *file, char __user *user_buf,
1090 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
1096 static ssize_t write_file_wow(struct file *file, const char __user *user_buf,
1103 ret = kstrtoul_from_user(user_buf, count, 0, &val);
1128 static ssize_t read_file_tpc(struct file *file, char __user *user_buf,
1147 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
1153 static ssize_t write_file_tpc(struct file *file, const char __user *user_buf,
1162 ret = kstrtoul_from_user(user_buf, count, 0, &val);
1191 char __user *user_buf,
1204 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
1208 const char __user *user_buf,
1218 if (copy_from_user(buf, user_buf, len))