Lines Matching refs:sas_phy

89 			while (sha->sas_phy[j]) {
90 if (sha->sas_phy[j] == phy)
118 while (sha->sas_phy[j]) {
119 if (sha->sas_phy[j] == phy)
179 int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
182 int rc = 0, phy_id = sas_phy->id;
184 struct sas_ha_struct *sha = sas_phy->ha;
187 while (sha->sas_phy[i]) {
188 if (sha->sas_phy[i] == sas_phy)
238 struct asd_sas_phy *sas_phy = &phy->sas_phy;
249 sas_ha->notify_phy_event(sas_phy, PHYE_OOB_DONE);
251 if (sas_phy->phy) {
252 struct sas_phy *sphy = sas_phy->phy;
254 sphy->negotiated_linkrate = sas_phy->linkrate;
279 sas_phy->frame_rcvd_size = phy->frame_rcvd_size;
281 mvi->sas->notify_port_event(sas_phy,
1123 struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy;
1136 sas_phy->oob_mode = SATA_OOB_MODE;
1164 sas_phy->oob_mode = SAS_OOB_MODE;
1168 memcpy(sas_phy->attached_sas_addr,
1183 static void mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock)
1185 struct sas_ha_struct *sas_ha = sas_phy->ha;
1187 struct mvs_phy *phy = sas_phy->lldd_phy;
1188 struct asd_sas_port *sas_port = sas_phy->port;
1194 while (sas_ha->sas_phy[i]) {
1195 if (sas_ha->sas_phy[i] == sas_phy)
1213 mvs_update_wideport(mvi, sas_phy->id);
1225 static void mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock)
1228 struct mvs_phy *phy = sas_phy->lldd_phy;
1230 struct asd_sas_port *port = sas_phy->port;
1244 void mvs_port_formed(struct asd_sas_phy *sas_phy)
1246 mvs_port_notify_formed(sas_phy, 1);
1249 void mvs_port_deformed(struct asd_sas_phy *sas_phy)
1251 mvs_port_notify_deformed(sas_phy, 1);
1477 struct sas_phy *phy = sas_get_local_phy(dev);
1984 struct asd_sas_phy *sas_phy = &phy->sas_phy;
1996 sas_phy_disconnected(sas_phy);
1998 sas_ha->notify_phy_event(sas_phy,
2005 mvs_port_notify_formed(sas_phy, 0);
2011 sas_ha->notify_port_event(sas_phy,
2133 mvs_port_notify_formed(&phy->sas_phy, 0);