Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ufshcd.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/bitops.h>
#include <asm/irq.h>
#include <asm/byteorder.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_eh.h>
#include "ufs.h"
#include "ufshci.h"

Go to the source code of this file.

Data Structures

struct  uic_command
 
struct  ufs_hba
 
struct  ufshcd_lrb
 

Macros

#define UFSHCD   "ufshcd"
 
#define UFSHCD_DRIVER_VERSION   "0.1"
 

Enumerations

enum  {
  UFSHCD_MAX_CHANNEL = 0, UFSHCD_MAX_ID = 1, UFSHCD_MAX_LUNS = 8, UFSHCD_CMD_PER_LUN = 32,
  UFSHCD_CAN_QUEUE = 32
}
 
enum  { UFSHCD_STATE_OPERATIONAL, UFSHCD_STATE_RESET, UFSHCD_STATE_ERROR }
 
enum  { UFSHCD_INT_DISABLE, UFSHCD_INT_ENABLE, UFSHCD_INT_CLEAR }
 
enum  { INT_AGGR_RESET, INT_AGGR_CONFIG }
 

Functions

 MODULE_DEVICE_TABLE (pci, ufshcd_pci_tbl)
 
 module_pci_driver (ufshcd_pci_driver)
 
 MODULE_AUTHOR ("Santosh Yaragnavi <[email protected]>, ""Vinayak Holikatti <[email protected]>")
 
 MODULE_DESCRIPTION ("Generic UFS host controller driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (UFSHCD_DRIVER_VERSION)
 

Macro Definition Documentation

#define UFSHCD   "ufshcd"

Definition at line 73 of file ufshcd.c.

#define UFSHCD_DRIVER_VERSION   "0.1"

Definition at line 74 of file ufshcd.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
UFSHCD_MAX_CHANNEL 
UFSHCD_MAX_ID 
UFSHCD_MAX_LUNS 
UFSHCD_CMD_PER_LUN 
UFSHCD_CAN_QUEUE 

Definition at line 76 of file ufshcd.c.

anonymous enum
Enumerator:
UFSHCD_STATE_OPERATIONAL 
UFSHCD_STATE_RESET 
UFSHCD_STATE_ERROR 

Definition at line 85 of file ufshcd.c.

anonymous enum
Enumerator:
UFSHCD_INT_DISABLE 
UFSHCD_INT_ENABLE 
UFSHCD_INT_CLEAR 

Definition at line 92 of file ufshcd.c.

anonymous enum
Enumerator:
INT_AGGR_RESET 
INT_AGGR_CONFIG 

Definition at line 99 of file ufshcd.c.

Function Documentation

MODULE_AUTHOR ( "Santosh Yaragnavi <[email protected] ,
""Vinayak Holikatti< h.vinayak @samsung.com >"   
)
MODULE_DESCRIPTION ( "Generic UFS host controller driver )
MODULE_DEVICE_TABLE ( pci  ,
ufshcd_pci_tbl   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( ufshcd_pci_driver  )
MODULE_VERSION ( UFSHCD_DRIVER_VERSION  )