Lines Matching refs:user_buf
35 char __user *user_buf, size_t count, in regmap_name_read_file() argument
56 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in regmap_name_read_file()
216 unsigned int to, char __user *user_buf, in regmap_read_debugfs() argument
272 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs()
284 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, in regmap_map_read_file() argument
289 return regmap_read_debugfs(map, 0, map->max_register, user_buf, in regmap_map_read_file()
302 const char __user *user_buf, in regmap_map_write_file() argument
313 if (copy_from_user(buf, user_buf, buf_size)) in regmap_map_write_file()
344 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, in regmap_range_read_file() argument
351 user_buf, count, ppos); in regmap_range_read_file()
361 char __user *user_buf, size_t count, in regmap_reg_ranges_read_file() argument
417 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_reg_ranges_read_file()
460 const char __user *user_buf, in regmap_cache_only_write_file() argument
468 err = kstrtobool_from_user(user_buf, count, &new_val); in regmap_cache_only_write_file()
507 const char __user *user_buf, in regmap_cache_bypass_write_file() argument
515 err = kstrtobool_from_user(user_buf, count, &new_val); in regmap_cache_bypass_write_file()