Lines Matching refs:file_p
979 static int btchr_open(struct inode *inode_p, struct file *file_p) in btchr_open() argument
1001 file_p->private_data = data; in btchr_open()
1008 return nonseekable_open(inode_p, file_p); in btchr_open()
1011 static int btchr_close(struct inode *inode_p, struct file *file_p) in btchr_close() argument
1020 data = file_p->private_data; in btchr_close()
1021 file_p->private_data = NULL; in btchr_close()
1042 static ssize_t btchr_read(struct file *file_p, in btchr_read() argument
1084 static ssize_t btchr_write(struct file *file_p, in btchr_write() argument
1089 struct btusb_data *data = file_p->private_data; in btchr_write()
1137 static unsigned int btchr_poll(struct file *file_p, poll_table *wait) in btchr_poll() argument
1139 struct btusb_data *data = file_p->private_data; in btchr_poll()
1149 poll_wait(file_p, &btchr_read_wait, wait); in btchr_poll()
1175 static long btchr_ioctl(struct file *file_p, unsigned int cmd, unsigned long arg){ in btchr_ioctl() argument