Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
samsung.c File Reference
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/sysrq.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/of.h>
#include <asm/irq.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
#include <plat/clock.h>
#include "samsung.h"

Go to the source code of this file.

Macros

#define S3C24XX_SERIAL_NAME   "ttySAC"
 
#define S3C24XX_SERIAL_MAJOR   204
 
#define S3C24XX_SERIAL_MINOR   64
 
#define tx_enabled(port)   ((port)->unused[0])
 
#define rx_enabled(port)   ((port)->unused[1])
 
#define RXSTAT_DUMMY_READ   (0x10000000)
 
#define S3C2410_UERSTAT_PARITY   (0x1000)
 
#define MAX_CLK_NAME_LENGTH   15
 
#define MAP_SIZE   (0x100)
 
#define S3C24XX_SERIAL_CONSOLE   NULL
 
#define SERIAL_SAMSUNG_PM_OPS   NULL
 
#define S3C2410_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define S3C2412_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define S3C2440_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define S3C6400_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define S5PV210_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define EXYNOS4210_SERIAL_DRV_DATA   (kernel_ulong_t)NULL
 
#define s3c24xx_uart_dt_match   NULL
 

Functions

 MODULE_DEVICE_TABLE (platform, s3c24xx_serial_driver_ids)
 
 module_init (s3c24xx_serial_modinit)
 
 module_exit (s3c24xx_serial_modexit)
 
 MODULE_ALIAS ("platform:samsung-uart")
 
 MODULE_DESCRIPTION ("Samsung SoC Serial port driver")
 
 MODULE_AUTHOR ("Ben Dooks <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define EXYNOS4210_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1675 of file samsung.c.

#define MAP_SIZE   (0x100)

Definition at line 838 of file samsung.c.

#define MAX_CLK_NAME_LENGTH   15

Definition at line 563 of file samsung.c.

#define rx_enabled (   port)    ((port)->unused[1])

Definition at line 66 of file samsung.c.

#define RXSTAT_DUMMY_READ   (0x10000000)

Definition at line 69 of file samsung.c.

#define S3C2410_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1530 of file samsung.c.

#define S3C2410_UERSTAT_PARITY   (0x1000)

Definition at line 217 of file samsung.c.

#define S3C2412_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1558 of file samsung.c.

#define S3C2440_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1587 of file samsung.c.

#define S3C24XX_SERIAL_CONSOLE   NULL

Definition at line 888 of file samsung.c.

#define S3C24XX_SERIAL_MAJOR   204

Definition at line 60 of file samsung.c.

#define S3C24XX_SERIAL_MINOR   64

Definition at line 61 of file samsung.c.

#define S3C24XX_SERIAL_NAME   "ttySAC"

Definition at line 59 of file samsung.c.

#define s3c24xx_uart_dt_match   NULL

Definition at line 1710 of file samsung.c.

#define S3C6400_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1617 of file samsung.c.

#define S5PV210_SERIAL_DRV_DATA   (kernel_ulong_t)NULL

Definition at line 1645 of file samsung.c.

#define SERIAL_SAMSUNG_PM_OPS   NULL

Definition at line 1308 of file samsung.c.

#define tx_enabled (   port)    ((port)->unused[0])

Definition at line 65 of file samsung.c.

Function Documentation

MODULE_ALIAS ( "platform:samsung-uart )
MODULE_AUTHOR ( "Ben Dooks <[email protected]>"  )
MODULE_DESCRIPTION ( "Samsung SoC Serial port driver )
MODULE_DEVICE_TABLE ( platform  ,
s3c24xx_serial_driver_ids   
)
module_exit ( s3c24xx_serial_modexit  )
module_init ( s3c24xx_serial_modinit  )
MODULE_LICENSE ( "GPL v2 )