Linux Kernel
3.7.1
|
#include <linux/console.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/serial_reg.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <asm/io.h>
#include <asm/vr41xx/siu.h>
#include <asm/vr41xx/vr41xx.h>
Go to the source code of this file.
Macros | |
#define | SIU_BAUD_BASE 1152000 |
#define | SIU_MAJOR 204 |
#define | SIU_MINOR_BASE 82 |
#define | RX_MAX_COUNT 256 |
#define | TX_MAX_COUNT 15 |
#define | SIUIRSEL 0x08 |
#define | TMICMODE 0x20 |
#define | TMICTX 0x10 |
#define | IRMSEL 0x0c |
#define | IRMSEL_HP 0x08 |
#define | IRMSEL_TEMIC 0x04 |
#define | IRMSEL_SHARP 0x00 |
#define | IRUSESEL 0x02 |
#define | SIRSEL 0x01 |
#define | siu_read(port, offset) readb((port)->membase + (offset)) |
#define | siu_write(port, offset, value) writeb((value), (port)->membase + (offset)) |
#define | SERIAL_VR41XX_CONSOLE NULL |
Functions | |
void | vr41xx_select_siu_interface (siu_interface_t interface) |
EXPORT_SYMBOL_GPL (vr41xx_select_siu_interface) | |
void | vr41xx_use_irda (irda_use_t use) |
EXPORT_SYMBOL_GPL (vr41xx_use_irda) | |
void | vr41xx_select_irda_module (irda_module_t module, irda_speed_t speed) |
EXPORT_SYMBOL_GPL (vr41xx_select_irda_module) | |
module_platform_driver (siu_device_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:SIU") | |
#define IRMSEL 0x0c |
Definition at line 54 of file vr41xx_siu.c.
#define IRMSEL_HP 0x08 |
Definition at line 55 of file vr41xx_siu.c.
#define IRMSEL_SHARP 0x00 |
Definition at line 57 of file vr41xx_siu.c.
#define IRMSEL_TEMIC 0x04 |
Definition at line 56 of file vr41xx_siu.c.
#define IRUSESEL 0x02 |
Definition at line 58 of file vr41xx_siu.c.
#define RX_MAX_COUNT 256 |
Definition at line 48 of file vr41xx_siu.c.
#define SERIAL_VR41XX_CONSOLE NULL |
Definition at line 858 of file vr41xx_siu.c.
#define SIRSEL 0x01 |
Definition at line 59 of file vr41xx_siu.c.
#define SIU_BAUD_BASE 1152000 |
Definition at line 44 of file vr41xx_siu.c.
#define SIU_MAJOR 204 |
Definition at line 45 of file vr41xx_siu.c.
#define SIU_MINOR_BASE 82 |
Definition at line 46 of file vr41xx_siu.c.
Definition at line 72 of file vr41xx_siu.c.
Definition at line 73 of file vr41xx_siu.c.
#define SIUIRSEL 0x08 |
Definition at line 51 of file vr41xx_siu.c.
#define TMICMODE 0x20 |
Definition at line 52 of file vr41xx_siu.c.
#define TMICTX 0x10 |
Definition at line 53 of file vr41xx_siu.c.
#define TX_MAX_COUNT 15 |
Definition at line 49 of file vr41xx_siu.c.
EXPORT_SYMBOL_GPL | ( | vr41xx_select_siu_interface | ) |
EXPORT_SYMBOL_GPL | ( | vr41xx_use_irda | ) |
EXPORT_SYMBOL_GPL | ( | vr41xx_select_irda_module | ) |
MODULE_ALIAS | ( | "platform:SIU" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | siu_device_driver | ) |
void vr41xx_select_irda_module | ( | irda_module_t | module, |
irda_speed_t | speed | ||
) |
Definition at line 117 of file vr41xx_siu.c.
void vr41xx_select_siu_interface | ( | siu_interface_t | interface | ) |
Definition at line 75 of file vr41xx_siu.c.
void vr41xx_use_irda | ( | irda_use_t | use | ) |
Definition at line 96 of file vr41xx_siu.c.