1. NAME▲

sas_phy_alloc - allocates and initialize a SAS PHY structure

2. SYNOPSIS ▲

struct sas_phy * sas_phy_alloc(struct device *  parent , int  number );

3. ARGUMENTS ▲

parent
    Parent device

number
    Phy index

4. DESCRIPTION ▲

Allocates an SAS PHY structure. It will be added in the device tree below the device specified by parent, which has to be either a Scsi_Host or sas_rphy.

5. RETURNS ▲

SAS PHY allocated or NULL if the allocation failed.

6. AUTHORS ▲

James Bottomley <>
    Author.

Rob Landley <>
    Author.

7. COPYRIGHT ▲