Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sas_init.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/spinlock.h>
#include <scsi/sas_ata.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_sas.h>
#include "sas_internal.h"
#include "../scsi_sas_internal.h"

Go to the source code of this file.

Functions

struct sas_tasksas_alloc_task (gfp_t flags)
 
 EXPORT_SYMBOL_GPL (sas_alloc_task)
 
struct sas_tasksas_alloc_slow_task (gfp_t flags)
 
 EXPORT_SYMBOL_GPL (sas_alloc_slow_task)
 
void sas_free_task (struct sas_task *task)
 
 EXPORT_SYMBOL_GPL (sas_free_task)
 
void sas_hash_addr (u8 *hashed, const u8 *sas_addr)
 
void sas_hae_reset (struct work_struct *work)
 
int sas_register_ha (struct sas_ha_struct *sas_ha)
 
int sas_unregister_ha (struct sas_ha_struct *sas_ha)
 
int sas_try_ata_reset (struct asd_sas_phy *asd_phy)
 
int sas_phy_reset (struct sas_phy *phy, int hard_reset)
 
int sas_set_phy_speed (struct sas_phy *phy, struct sas_phy_linkrates *rates)
 
void sas_prep_resume_ha (struct sas_ha_struct *ha)
 
 EXPORT_SYMBOL (sas_prep_resume_ha)
 
void sas_resume_ha (struct sas_ha_struct *ha)
 
 EXPORT_SYMBOL (sas_resume_ha)
 
void sas_suspend_ha (struct sas_ha_struct *ha)
 
 EXPORT_SYMBOL (sas_suspend_ha)
 
struct scsi_transport_templatesas_domain_attach_transport (struct sas_domain_function_template *dft)
 
 EXPORT_SYMBOL_GPL (sas_domain_attach_transport)
 
void sas_domain_release_transport (struct scsi_transport_template *stt)
 
 EXPORT_SYMBOL_GPL (sas_domain_release_transport)
 
 MODULE_AUTHOR ("Luben Tuikov <[email protected]>")
 
 MODULE_DESCRIPTION ("SAS Transport Layer")
 
 MODULE_LICENSE ("GPL v2")
 
 module_init (sas_class_init)
 
 module_exit (sas_class_exit)
 
 EXPORT_SYMBOL_GPL (sas_register_ha)
 
 EXPORT_SYMBOL_GPL (sas_unregister_ha)
 

Function Documentation

EXPORT_SYMBOL ( sas_prep_resume_ha  )
EXPORT_SYMBOL ( sas_resume_ha  )
EXPORT_SYMBOL ( sas_suspend_ha  )
EXPORT_SYMBOL_GPL ( sas_alloc_task  )
EXPORT_SYMBOL_GPL ( sas_alloc_slow_task  )
EXPORT_SYMBOL_GPL ( sas_free_task  )
EXPORT_SYMBOL_GPL ( sas_domain_attach_transport  )
EXPORT_SYMBOL_GPL ( sas_domain_release_transport  )
EXPORT_SYMBOL_GPL ( sas_register_ha  )
EXPORT_SYMBOL_GPL ( sas_unregister_ha  )
MODULE_AUTHOR ( "Luben Tuikov <[email protected]>"  )
MODULE_DESCRIPTION ( "SAS Transport Layer"  )
module_exit ( sas_class_exit  )
module_init ( sas_class_init  )
MODULE_LICENSE ( "GPL v2 )
struct sas_task* sas_alloc_slow_task ( gfp_t  flags)
read

Definition at line 57 of file sas_init.c.

struct sas_task* sas_alloc_task ( gfp_t  flags)
read

Definition at line 43 of file sas_init.c.

struct scsi_transport_template* sas_domain_attach_transport ( struct sas_domain_function_template dft)
read

Definition at line 573 of file sas_init.c.

void sas_domain_release_transport ( struct scsi_transport_template stt)

Definition at line 592 of file sas_init.c.

void sas_free_task ( struct sas_task task)

Definition at line 77 of file sas_init.c.

void sas_hae_reset ( struct work_struct work)

Definition at line 114 of file sas_init.c.

void sas_hash_addr ( u8 hashed,
const u8 sas_addr 
)

Definition at line 88 of file sas_init.c.

int sas_phy_reset ( struct sas_phy phy,
int  hard_reset 
)

Definition at line 320 of file sas_init.c.

void sas_prep_resume_ha ( struct sas_ha_struct ha)

Definition at line 388 of file sas_init.c.

int sas_register_ha ( struct sas_ha_struct sas_ha)

Definition at line 122 of file sas_init.c.

void sas_resume_ha ( struct sas_ha_struct ha)

Definition at line 420 of file sas_init.c.

int sas_set_phy_speed ( struct sas_phy phy,
struct sas_phy_linkrates rates 
)

Definition at line 349 of file sas_init.c.

void sas_suspend_ha ( struct sas_ha_struct ha)

Definition at line 453 of file sas_init.c.

int sas_try_ata_reset ( struct asd_sas_phy asd_phy)

Definition at line 227 of file sas_init.c.

int sas_unregister_ha ( struct sas_ha_struct sas_ha)

Definition at line 194 of file sas_init.c.