Lines Matching refs:file
34 static int i915_param_int_open(struct inode *inode, struct file *file)
36 return single_open(file, i915_param_int_show, inode->i_private);
52 static ssize_t i915_param_int_write(struct file *file,
56 struct seq_file *m = file->private_data;
100 static int i915_param_uint_open(struct inode *inode, struct file *file)
102 return single_open(file, i915_param_uint_show, inode->i_private);
105 static ssize_t i915_param_uint_write(struct file *file,
110 struct seq_file *m = file->private_data;
125 if (!ret && MATCH_DEBUGFS_NODE_NAME(file, "reset")) {
163 static int i915_param_charp_open(struct inode *inode, struct file *file)
165 return single_open(file, i915_param_charp_show, inode->i_private);
168 static ssize_t i915_param_charp_write(struct file *file,
172 struct seq_file *m = file->private_data;
260 * here. Set mode in params to 0 to skip the generic create file, or
261 * just let the generic create file fail silently with -EEXIST.