Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | SCIC_SDS_PORT_HARD_RESET_TIMEOUT (1000) |
#define | SCU_DUMMY_INDEX (0xFFFF) |
#define | C(a) (#a) |
#define | ISCI_PORT_RESET_TIMEOUT SCIC_SDS_SIGNATURE_FIS_TIMEOUT |
#define ISCI_PORT_RESET_TIMEOUT SCIC_SDS_SIGNATURE_FIS_TIMEOUT |
int isci_ata_check_ready | ( | struct domain_device * | dev | ) |
void isci_port_deformed | ( | struct asd_sas_phy * | phy | ) |
void isci_port_formed | ( | struct asd_sas_phy * | phy | ) |
enum sci_status sci_port_add_phy | ( | struct isci_port * | iport, |
struct isci_phy * | iphy | ||
) |
sci_port_add_phy() - : This parameter specifies the port in which the phy will be added. : This parameter is the phy which is to be added to the port.
This method will add a PHY to the selected port. This method returns an enum sci_status. SCI_SUCCESS the phy has been added to the port. Any other status is a failure to add the phy to the port.
enum sci_status sci_port_complete_io | ( | struct isci_port * | iport, |
struct isci_remote_device * | idev, | ||
struct isci_request * | ireq | ||
) |
void sci_port_get_attached_sas_address | ( | struct isci_port * | iport, |
struct sci_sas_address * | sas | ||
) |
enum sas_linkrate sci_port_get_max_allowed_speed | ( | struct isci_port * | iport | ) |
enum sci_status sci_port_get_properties | ( | struct isci_port * | iport, |
struct sci_port_properties * | prop | ||
) |
sci_port_get_properties() - This method simply returns the properties regarding the port, such as: physical index, protocols, sas address, etc. : this parameter specifies the port for which to retrieve the physical index. : This parameter specifies the properties structure into which to copy the requested information.
Indicate if the user specified a valid port. SCI_SUCCESS This value is returned if the specified port was valid. SCI_FAILURE_INVALID_PORT This value is returned if the specified port is not valid. When this value is returned, no data is copied to the properties output parameter.
void sci_port_get_sas_address | ( | struct isci_port * | iport, |
struct sci_sas_address * | sas | ||
) |
This method is called by the PHY object when the link is detected. if the port wants the PHY to continue on to the link up state then the port layer must return true. If the port object returns false the phy object must halt its attempt to go link up. : The port associated with the phy object. : The phy object that is trying to go link up.
true if the phy object can continue to the link up condition. true Is returned if this phy can continue to the ready state. false Is returned if can not continue on to the ready state. This notification is in place for wide ports and direct attached phys. Since there are no wide ported SATA devices this could become an invalid port configuration.
enum sci_status sci_port_link_down | ( | struct isci_port * | iport, |
struct isci_phy * | iphy | ||
) |
enum sci_status sci_port_link_up | ( | struct isci_port * | iport, |
struct isci_phy * | iphy | ||
) |
enum sci_status sci_port_remove_phy | ( | struct isci_port * | iport, |
struct isci_phy * | iphy | ||
) |
sci_port_remove_phy() - : This parameter specifies the port in which the phy will be added. : This parameter is the phy which is to be added to the port.
This method will remove the PHY from the selected PORT. This method returns an enum sci_status. SCI_SUCCESS the phy has been removed from the port. Any other status is a failure to add the phy to the port.
enum sci_status sci_port_start | ( | struct isci_port * | iport | ) |
enum sci_status sci_port_start_io | ( | struct isci_port * | iport, |
struct isci_remote_device * | idev, | ||
struct isci_request * | ireq | ||
) |
enum sci_status sci_port_stop | ( | struct isci_port * | iport | ) |