Lines Matching defs:file
34 static ssize_t regmap_name_read_file(struct file *file,
38 struct regmap *map = file->private_data;
284 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf,
287 struct regmap *map = file->private_data;
301 static ssize_t regmap_map_write_file(struct file *file,
309 struct regmap *map = file->private_data;
344 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf,
347 struct regmap_range_node *range = file->private_data;
360 static ssize_t regmap_reg_ranges_read_file(struct file *file,
364 struct regmap *map = file->private_data;
390 * now so the read() operation on the `registers' file
392 * about the file position information that is contained
397 /* Reset file pointer as the fixed-format of the `registers'
398 * file is not compatible with the `range' file */
459 static ssize_t regmap_cache_only_write_file(struct file *file,
463 struct regmap *map = container_of(file->private_data,
473 err = debugfs_file_get(file->f_path.dentry);
489 debugfs_file_put(file->f_path.dentry);
506 static ssize_t regmap_cache_bypass_write_file(struct file *file,
510 struct regmap *map = container_of(file->private_data,
520 err = debugfs_file_get(file->f_path.dentry);
535 debugfs_file_put(file->f_path.dentry);