Lines Matching refs:file
412 static ssize_t hsc_read(struct file *file, char __user *buf, size_t len,
415 struct hsc_channel *channel = file->private_data;
471 static ssize_t hsc_write(struct file *file, const char __user *buf, size_t len,
474 struct hsc_channel *channel = file->private_data;
525 static long hsc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
527 struct hsc_channel *channel = file->private_data;
589 static int hsc_open(struct inode *inode, struct file *file)
623 file->private_data = channel;
633 static int hsc_release(struct inode *inode __maybe_unused, struct file *file)
635 struct hsc_channel *channel = file->private_data;
639 file->private_data = NULL;