Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sas_discover.c File Reference
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/async.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_eh.h>
#include "sas_internal.h"
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_sas.h>
#include <scsi/sas_ata.h>
#include "../scsi_sas_internal.h"

Go to the source code of this file.

Functions

void sas_init_dev (struct domain_device *dev)
 
int sas_notify_lldd_dev_found (struct domain_device *dev)
 
void sas_notify_lldd_dev_gone (struct domain_device *dev)
 
int sas_discover_end_dev (struct domain_device *dev)
 
void sas_free_device (struct kref *kref)
 
void sas_unregister_dev (struct asd_sas_port *port, struct domain_device *dev)
 
void sas_unregister_domain_devices (struct asd_sas_port *port, int gone)
 
void sas_device_set_phy (struct domain_device *dev, struct sas_port *port)
 
int sas_discover_event (struct asd_sas_port *port, enum discover_event ev)
 
void sas_init_disc (struct sas_discovery *disc, struct asd_sas_port *port)
 

Function Documentation

void sas_device_set_phy ( struct domain_device dev,
struct sas_port port 
)

Definition at line 408 of file sas_discover.c.

int sas_discover_end_dev ( struct domain_device dev)

sas_discover_end_dev – discover an end device (SSP, etc) : pointer to domain device of interest

See comment in sas_discover_sata().

Definition at line 290 of file sas_discover.c.

int sas_discover_event ( struct asd_sas_port port,
enum discover_event  ev 
)

Definition at line 551 of file sas_discover.c.

void sas_free_device ( struct kref kref)

Definition at line 304 of file sas_discover.c.

void sas_init_dev ( struct domain_device dev)

Definition at line 39 of file sas_discover.c.

void sas_init_disc ( struct sas_discovery disc,
struct asd_sas_port port 
)

sas_init_disc – initialize the discovery struct in the port : pointer to struct port

Called when the ports are being initialized.

Definition at line 572 of file sas_discover.c.

int sas_notify_lldd_dev_found ( struct domain_device dev)

Definition at line 177 of file sas_discover.c.

void sas_notify_lldd_dev_gone ( struct domain_device dev)

Definition at line 200 of file sas_discover.c.

void sas_unregister_dev ( struct asd_sas_port port,
struct domain_device dev 
)

Definition at line 373 of file sas_discover.c.

void sas_unregister_domain_devices ( struct asd_sas_port port,
int  gone 
)

Definition at line 391 of file sas_discover.c.