Lines Matching refs:sas_phy
156 struct asd_sas_phy *sas_phy = &phy->sas_phy; in pm8001_phy_init() local
161 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
162 sas_phy->iproto = SAS_PROTOCOL_ALL; in pm8001_phy_init()
163 sas_phy->tproto = 0; in pm8001_phy_init()
164 sas_phy->role = PHY_ROLE_INITIATOR; in pm8001_phy_init()
165 sas_phy->oob_mode = OOB_NOT_CONNECTED; in pm8001_phy_init()
166 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in pm8001_phy_init()
167 sas_phy->id = phy_id; in pm8001_phy_init()
168 sas_phy->sas_addr = (u8 *)&phy->dev_sas_addr; in pm8001_phy_init()
169 sas_phy->frame_rcvd = &phy->frame_rcvd[0]; in pm8001_phy_init()
170 sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata; in pm8001_phy_init()
171 sas_phy->lldd_phy = phy; in pm8001_phy_init()
620 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
653 sha->sas_phy[i] = &pm8001_ha->phy[i].sas_phy; in pm8001_post_sas_ha_init()
655 sha->sas_phy[i]->sas_addr = in pm8001_post_sas_ha_init()
1319 kfree(sha->sas_phy); in pm8001_pci_remove()