1SAS_PHY_ALLOC(9) SCSI mid layer SAS_PHY_ALLOC(9)
2
3
4
6 sas_phy_alloc - allocates and initialize a SAS PHY structure
7
9 struct sas_phy * sas_phy_alloc(struct device * parent, int number);
10
12 parent
13 Parent device
14
15 number
16 Phy index
17
19 Allocates an SAS PHY structure. It will be added in the device tree
20 below the device specified by parent, which has to be either a
21 Scsi_Host or sas_rphy.
22
24 SAS PHY allocated or NULL if the allocation failed.
25
27 James Bottomley <James.Bottomley@hansenpartnership.com>
28 Author.
29
30 Rob Landley <rob@landley.net>
31 Author.
32
34Kernel Hackers Manual 2.6. June 2019 SAS_PHY_ALLOC(9)