Lines Matching defs:user_buf

244 static ssize_t gpio_power_read(struct file *file, char __user *user_buf,
255 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
259 const char __user *user_buf,
266 ret = kstrtoul_from_user(user_buf, count, 10, &value);
291 const char __user *user_buf,
309 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf,
314 return wl1271_format_buffer(user_buf, count,
320 const char __user *user_buf,
328 ret = kstrtoul_from_user(user_buf, count, 10, &value);
373 static ssize_t forced_ps_read(struct file *file, char __user *user_buf,
378 return wl1271_format_buffer(user_buf, count,
384 const char __user *user_buf,
392 ret = kstrtoul_from_user(user_buf, count, 10, &value);
442 static ssize_t split_scan_timeout_read(struct file *file, char __user *user_buf,
447 return wl1271_format_buffer(user_buf, count,
453 const char __user *user_buf,
460 ret = kstrtoul_from_user(user_buf, count, 10, &value);
484 static ssize_t driver_state_read(struct file *file, char __user *user_buf,
556 ret = simple_read_from_buffer(user_buf, count, ppos, buf, res);
567 static ssize_t vifs_state_read(struct file *file, char __user *user_buf,
665 ret = simple_read_from_buffer(user_buf, count, ppos, buf, res);
676 static ssize_t dtim_interval_read(struct file *file, char __user *user_buf,
688 return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
692 const char __user *user_buf,
699 ret = kstrtoul_from_user(user_buf, count, 10, &value);
737 char __user *user_buf,
749 return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
753 const char __user *user_buf,
760 ret = kstrtoul_from_user(user_buf, count, 10, &value);
792 static ssize_t beacon_interval_read(struct file *file, char __user *user_buf,
804 return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
808 const char __user *user_buf,
815 ret = kstrtoul_from_user(user_buf, count, 10, &value);
851 const char __user *user_buf,
859 ret = kstrtoul_from_user(user_buf, count, 10, &value);
906 const char __user *user_buf,
914 ret = kstrtoul_from_user(user_buf, count, 10, &value);
961 const char __user *user_buf,
972 if (copy_from_user(buf, user_buf, len))