Lines Matching refs:filep
43 int sab8253xc_read(struct file *filep, char *cptr, size_t cnt, loff_t *loffp) in sab8253xc_read() argument
47 SAB_PORT *port = filep->private_data; in sab8253xc_read()
62 if(filep->f_flags & O_NONBLOCK) in sab8253xc_read()
99 int sab8253xc_write(struct file *filep, const char *cptr, size_t cnt, loff_t *loffp) in sab8253xc_write() argument
103 SAB_PORT *port = filep->private_data; in sab8253xc_write()
123 if(filep->f_flags & O_NONBLOCK) in sab8253xc_write()
580 int sab8253xc_open(struct inode *inodep, struct file *filep) in sab8253xc_open() argument
666 retval = sab8253x_block_til_readyC(filep, port); /* need to wait for completion of callout */ in sab8253xc_open()
703 filep->private_data = port; in sab8253xc_open()
708 int sab8253xc_release(struct inode *inodep, struct file *filep) in sab8253xc_release() argument
710 SAB_PORT *port = (SAB_PORT*) filep->private_data; in sab8253xc_release()
723 sab8253xc_fasync(-1, filep, 0); in sab8253xc_release()