Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/ioctl.h>
#include <linux/poll.h>
#include <linux/kfifo.h>
#include <media/lirc.h>
Go to the source code of this file.
Data Structures | |
struct | lirc_buffer |
struct | lirc_driver |
Macros | |
#define | MAX_IRCTL_DEVICES 8 |
#define | BUFLEN 16 |
#define | mod(n, div) ((n) % (div)) |
Functions | |
int | lirc_register_driver (struct lirc_driver *d) |
int | lirc_unregister_driver (int minor) |
void * | lirc_get_pdata (struct file *file) |
int | lirc_dev_fop_open (struct inode *inode, struct file *file) |
int | lirc_dev_fop_close (struct inode *inode, struct file *file) |
unsigned int | lirc_dev_fop_poll (struct file *file, poll_table *wait) |
long | lirc_dev_fop_ioctl (struct file *file, unsigned int cmd, unsigned long arg) |
ssize_t | lirc_dev_fop_read (struct file *file, char __user *buffer, size_t length, loff_t *ppos) |
ssize_t | lirc_dev_fop_write (struct file *file, const char __user *buffer, size_t length, loff_t *ppos) |
#define BUFLEN 16 |
Definition at line 13 of file lirc_dev.h.
#define MAX_IRCTL_DEVICES 8 |
Definition at line 12 of file lirc_dev.h.
Definition at line 498 of file lirc_dev.c.
Definition at line 564 of file lirc_dev.c.
Definition at line 437 of file lirc_dev.c.
unsigned int lirc_dev_fop_poll | ( | struct file * | file, |
poll_table * | wait | ||
) |
Definition at line 532 of file lirc_dev.c.
ssize_t lirc_dev_fop_read | ( | struct file * | file, |
char __user * | buffer, | ||
size_t | length, | ||
loff_t * | ppos | ||
) |
Definition at line 648 of file lirc_dev.c.
ssize_t lirc_dev_fop_write | ( | struct file * | file, |
const char __user * | buffer, | ||
size_t | length, | ||
loff_t * | ppos | ||
) |
Definition at line 769 of file lirc_dev.c.
Definition at line 753 of file lirc_dev.c.
int lirc_register_driver | ( | struct lirc_driver * | d | ) |
Definition at line 205 of file lirc_dev.c.
Definition at line 378 of file lirc_dev.c.