Lines Matching refs:sas_phy
141 struct asd_sas_phy *sas_phy = &phy->sas_phy; in pm8001_phy_init() local
144 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
145 sas_phy->class = SAS; in pm8001_phy_init()
146 sas_phy->iproto = SAS_PROTOCOL_ALL; in pm8001_phy_init()
147 sas_phy->tproto = 0; in pm8001_phy_init()
148 sas_phy->type = PHY_TYPE_PHYSICAL; in pm8001_phy_init()
149 sas_phy->role = PHY_ROLE_INITIATOR; in pm8001_phy_init()
150 sas_phy->oob_mode = OOB_NOT_CONNECTED; in pm8001_phy_init()
151 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in pm8001_phy_init()
152 sas_phy->id = phy_id; in pm8001_phy_init()
153 sas_phy->sas_addr = (u8 *)&phy->dev_sas_addr; in pm8001_phy_init()
154 sas_phy->frame_rcvd = &phy->frame_rcvd[0]; in pm8001_phy_init()
155 sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata; in pm8001_phy_init()
156 sas_phy->lldd_phy = phy; in pm8001_phy_init()
590 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
627 sha->sas_phy[i] = &pm8001_ha->phy[i].sas_phy; in pm8001_post_sas_ha_init()
629 sha->sas_phy[i]->sas_addr = in pm8001_post_sas_ha_init()
1247 kfree(sha->sas_phy); in pm8001_pci_remove()