Lines Matching defs:file
425 static ssize_t hsc_read(struct file *file, char __user *buf, size_t len,
428 struct hsc_channel *channel = file->private_data;
484 static ssize_t hsc_write(struct file *file, const char __user *buf, size_t len,
487 struct hsc_channel *channel = file->private_data;
538 static long hsc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
540 struct hsc_channel *channel = file->private_data;
602 static int hsc_open(struct inode *inode, struct file *file)
636 file->private_data = channel;
646 static int hsc_release(struct inode *inode __maybe_unused, struct file *file)
648 struct hsc_channel *channel = file->private_data;
652 file->private_data = NULL;