Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ifx6x60.c File Reference
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/termios.h>
#include <linux/tty.h>
#include <linux/device.h>
#include <linux/spi/spi.h>
#include <linux/kfifo.h>
#include <linux/tty_flip.h>
#include <linux/timer.h>
#include <linux/serial.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/rfkill.h>
#include <linux/fs.h>
#include <linux/ip.h>
#include <linux/dmapool.h>
#include <linux/gpio.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include <linux/spi/ifx_modem.h>
#include <linux/delay.h>
#include "ifx6x60.h"

Go to the source code of this file.

Macros

#define IFX_SPI_MORE_MASK   0x10
 
#define IFX_SPI_MORE_BIT   12 /* bit position in u16 */
 
#define IFX_SPI_CTS_BIT   13 /* bit position in u16 */
 
#define IFX_SPI_MODE   SPI_MODE_1
 
#define IFX_SPI_TTY_ID   0
 
#define IFX_SPI_TIMEOUT_SEC   2
 
#define IFX_SPI_HEADER_0   (-1)
 
#define IFX_SPI_HEADER_F   (-2)
 

Functions

 MODULE_DEVICE_TABLE (spi, ifx_id_table)
 
 module_init (ifx_spi_init)
 
 module_exit (ifx_spi_exit)
 
 MODULE_AUTHOR ("Intel")
 
 MODULE_DESCRIPTION ("IFX6x60 spi driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_INFO (Version,"0.1-IFX6x60")
 

Macro Definition Documentation

#define IFX_SPI_CTS_BIT   13 /* bit position in u16 */

Definition at line 68 of file ifx6x60.c.

#define IFX_SPI_HEADER_0   (-1)

Definition at line 72 of file ifx6x60.c.

#define IFX_SPI_HEADER_F   (-2)

Definition at line 73 of file ifx6x60.c.

#define IFX_SPI_MODE   SPI_MODE_1

Definition at line 69 of file ifx6x60.c.

#define IFX_SPI_MORE_BIT   12 /* bit position in u16 */

Definition at line 67 of file ifx6x60.c.

#define IFX_SPI_MORE_MASK   0x10

Definition at line 66 of file ifx6x60.c.

#define IFX_SPI_TIMEOUT_SEC   2

Definition at line 71 of file ifx6x60.c.

#define IFX_SPI_TTY_ID   0

Definition at line 70 of file ifx6x60.c.

Function Documentation

MODULE_AUTHOR ( "Intel"  )
MODULE_DESCRIPTION ( "IFX6x60 spi driver )
MODULE_DEVICE_TABLE ( spi  ,
ifx_id_table   
)
module_exit ( ifx_spi_exit  )
MODULE_INFO ( Version  ,
"0.1-IFX6x60"   
)
module_init ( ifx_spi_init  )
MODULE_LICENSE ( "GPL"  )