|
Linux Kernel
3.7.1
|
#include <linux/errno.h>#include <linux/types.h>#include <linux/atomic.h>#include <linux/kernel.h>#include <linux/init.h>#include <linux/module.h>#include <linux/mutex.h>#include <linux/list.h>#include <linux/slab.h>#include <linux/kmemleak.h>#include <linux/ioctl.h>#include <linux/wait.h>#include <linux/fs.h>#include <linux/sched.h>#include <linux/device.h>#include <linux/cdev.h>#include <linux/uaccess.h>#include <linux/scatterlist.h>#include <linux/stat.h>#include <linux/hsi/hsi.h>#include <linux/hsi/hsi_char.h>Go to the source code of this file.
Data Structures | |
| struct | hsc_channel |
| struct | hsc_client_data |
Macros | |
| #define | HSC_DEVS 16 /* Num of channels */ |
| #define | HSC_MSGS 4 |
| #define | HSC_RXBREAK 0 |
| #define | HSC_ID_BITS 6 |
| #define | HSC_PORT_ID_BITS 4 |
| #define | HSC_ID_MASK 3 |
| #define | HSC_PORT_ID_MASK 3 |
| #define | HSC_CH_MASK 0xf |
| #define | HSC_BASEMINOR(id, port_id) |
Enumerations | |
| enum | { HSC_CH_OPEN, HSC_CH_READ, HSC_CH_WRITE, HSC_CH_WLINE } |
| enum | { HSC_RX, HSC_TX } |
Functions | |
| module_param (max_data_size, uint, 0) | |
| MODULE_PARM_DESC (max_data_size,"max read/write data size [4,8..65536] (^2)") | |
| module_init (hsc_init) | |
| module_exit (hsc_exit) | |
| MODULE_AUTHOR ("Andras Domokos <[email protected]>") | |
| MODULE_ALIAS ("hsi:hsi_char") | |
| MODULE_DESCRIPTION ("HSI character device") | |
| MODULE_LICENSE ("GPL v2") | |
Definition at line 61 of file hsi_char.c.
| #define HSC_CH_MASK 0xf |
Definition at line 55 of file hsi_char.c.
| #define HSC_DEVS 16 /* Num of channels */ |
Definition at line 46 of file hsi_char.c.
| #define HSC_ID_BITS 6 |
Definition at line 51 of file hsi_char.c.
| #define HSC_ID_MASK 3 |
Definition at line 53 of file hsi_char.c.
| #define HSC_MSGS 4 |
Definition at line 47 of file hsi_char.c.
| #define HSC_PORT_ID_BITS 4 |
Definition at line 52 of file hsi_char.c.
| #define HSC_PORT_ID_MASK 3 |
Definition at line 54 of file hsi_char.c.
| #define HSC_RXBREAK 0 |
Definition at line 49 of file hsi_char.c.
| anonymous enum |
Definition at line 65 of file hsi_char.c.
| anonymous enum |
Definition at line 72 of file hsi_char.c.
| MODULE_ALIAS | ( | "hsi:hsi_char" | ) |
| MODULE_AUTHOR | ( | "Andras Domokos <[email protected]>" | ) |
| module_exit | ( | hsc_exit | ) |
| module_init | ( | hsc_init | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_param | ( | max_data_size | , |
| uint | , | ||
| 0 | |||
| ) |
1.8.2