• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic94xx/

Lines Matching defs:sas_phy

56 	struct sas_phy *sas_phy = phy->sas_phy.phy;
60 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS;
61 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS;
64 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS;
65 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS;
68 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS;
69 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS;
72 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate;
73 sas_phy->maximum_linkrate_hw = SAS_LINK_RATE_3_0_GBPS;
74 sas_phy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS;
75 sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate;
76 sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate;
79 phy->sas_phy.oob_mode = SAS_OOB_MODE;
81 phy->sas_phy.oob_mode = SATA_OOB_MODE;
100 sas_phy_disconnected(&phy->sas_phy);
101 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL);
108 phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto);
109 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
114 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
121 sas_phy_disconnected(&phy->sas_phy);
122 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR);
155 if (phy->sas_phy.frame_rcvd[0] == 0x34
156 && phy->sas_phy.oob_mode == SATA_OOB_MODE) {
157 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha;
165 (void *) phy->sas_phy.frame_rcvd;
175 struct asd_sas_phy *sas_phy = &phy->sas_phy;
185 memcmp(port->sas_addr, sas_phy->sas_addr,
188 sas_phy->attached_sas_addr,
203 memcpy(port->sas_addr, sas_phy->sas_addr,
206 sas_phy->attached_sas_addr,
210 port->phy_mask |= (1U << sas_phy->id);
214 __func__, phy->asd_port->phy_mask, sas_phy->id);
222 struct asd_sas_phy *sas_phy = &phy->sas_phy;
228 port->phy_mask &= ~(1U << sas_phy->id);
242 struct sas_ha_struct *sas_ha = phy->sas_phy.ha;
247 spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
248 memcpy(phy->sas_phy.frame_rcvd, edb->vaddr, size);
249 phy->sas_phy.frame_rcvd_size = size;
250 asd_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
251 spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
254 sas_ha->notify_port_event(&phy->sas_phy, PORTE_BYTES_DMAED);
263 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
288 sas_phy_disconnected(sas_phy);
290 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
316 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
332 spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
333 sas_phy->sas_prim = ffs(cont);
334 spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
335 sas_ha->notify_port_event(sas_phy,PORTE_BROADCAST_RCVD);
356 sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET);
422 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
585 sas_phy_disconnected(sas_phy);
587 sas_ha->notify_port_event(sas_phy, PORTE_TIMER_EVENT);
676 __func__, phy_id,phy->sas_phy.linkrate,
677 phy->sas_phy.iproto);
794 if (phy->sas_phy.role == PHY_ROLE_INITIATOR)
796 else if (phy->sas_phy.role == PHY_ROLE_TARGET)