Lines Matching refs:file
93 static ssize_t rknpu_power_set(struct file *file, const char __user *ubuf, in rknpu_power_set() argument
96 struct seq_file *priv = file->private_data; in rknpu_power_set()
144 static ssize_t rknpu_power_put_delay_set(struct file *file, in rknpu_power_put_delay_set() argument
148 struct seq_file *priv = file->private_data; in rknpu_power_put_delay_set()
197 static ssize_t rknpu_freq_set(struct file *file, const char __user *ubuf, in rknpu_freq_set() argument
200 struct seq_file *priv = file->private_data; in rknpu_freq_set()
240 static ssize_t rknpu_freq_set(struct file *file, const char __user *ubuf, in rknpu_freq_set() argument
277 static ssize_t rknpu_reset_set(struct file *file, const char __user *ubuf, in rknpu_reset_set() argument
280 struct seq_file *priv = file->private_data; in rknpu_reset_set()
318 static ssize_t rknpu_debugger_write(struct file *file, const char __user *ubuf, in rknpu_debugger_write() argument
321 struct seq_file *priv = file->private_data; in rknpu_debugger_write()
325 return node->info_ent->write(file, ubuf, len, offp); in rknpu_debugger_write()
330 static int rknpu_debugfs_open(struct inode *inode, struct file *file) in rknpu_debugfs_open() argument
334 return single_open(file, node->info_ent->show, node); in rknpu_debugfs_open()
458 static int rknpu_procfs_open(struct inode *inode, struct file *file) in rknpu_procfs_open() argument
466 return single_open(file, node->info_ent->show, node); in rknpu_procfs_open()