/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 121 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 124 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; 125 sas_phy->class = SAS; 126 sas_phy->iproto = SAS_PROTOCOL_ALL; 127 sas_phy->tproto = 0; 128 sas_phy->type = PHY_TYPE_PHYSICAL; 129 sas_phy->role = PHY_ROLE_INITIATOR; 130 sas_phy->oob_mode = OOB_NOT_CONNECTED; 131 sas_phy [all...] |
H A D | pm8001_sas.c | 150 * @sas_phy: which phy in HBA phys. 154 int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, argument 157 int rc = 0, phy_id = sas_phy->id; 162 pm8001_ha = sas_phy->ha->lldd_ha; 215 struct sas_phy *phy = sas_phy->phy; 980 struct sas_phy *phy; 1023 struct sas_phy *phy; 1089 struct sas_phy *phy = sas_get_local_phy(dev);
|
H A D | pm80xx_hwi.c | 2901 phy->sas_phy.oob_mode = SAS_OOB_MODE; 2902 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); 2903 spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags); 2907 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); 2908 spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags); 2949 phy->sas_phy.oob_mode = SATA_OOB_MODE; 2950 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); 2951 spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags); 2957 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); 2958 spin_unlock_irqrestore(&phy->sas_phy 3103 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local [all...] |
H A D | pm8001_hwi.c | 3230 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 3236 if (sas_phy->phy) { 3237 struct sas_phy *sphy = sas_phy->phy; 3238 sphy->negotiated_linkrate = sas_phy->linkrate; 3256 sas_phy->frame_rcvd_size = phy->frame_rcvd_size; 3257 pm8001_ha->sas->notify_port_event(sas_phy, PORTE_BYTES_DMAED); 3263 struct sas_phy *sas_phy local 3789 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local [all...] |
H A D | pm8001_sas.h | 252 struct asd_sas_phy sas_phy; member in struct:pm8001_phy 622 int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
|
/drivers/scsi/aic94xx/ |
H A D | aic94xx_scb.c | 56 struct sas_phy *sas_phy = phy->sas_phy.phy; local 61 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; 62 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS; 65 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; 66 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS; 69 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; 70 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS; 73 sas_phy 176 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 223 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 264 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local 317 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local 423 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local [all...] |
H A D | aic94xx_hwi.c | 78 if (phy->sas_phy.role & PHY_ROLE_INITIATOR) 79 phy->identify_frame->initiator_bits = phy->sas_phy.iproto; 80 if (phy->sas_phy.role & PHY_ROLE_TARGET) 81 phy->identify_frame->target_bits = phy->sas_phy.tproto; 84 phy->identify_frame->phy_id = phy->sas_phy.id; 89 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; 90 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 92 sas_phy->enabled = 1; 93 sas_phy [all...] |
H A D | aic94xx_sas.h | 732 struct asd_sas_phy sas_phy; member in struct:asd_phy
|
/drivers/scsi/isci/ |
H A D | phy.h | 98 struct asd_sas_phy sas_phy; member in struct:isci_phy 106 static inline struct isci_phy *to_iphy(struct asd_sas_phy *sas_phy) argument 108 struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy);
|
H A D | phy.c | 993 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); 995 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); 1036 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); 1040 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); 1403 iphy->sas_phy.enabled = 0; 1404 iphy->sas_phy.id = index; 1405 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; 1406 iphy->sas_phy.frame_rcvd = (u8 *)&iphy->frame_rcvd; 1407 iphy->sas_phy.ha = &ihost->sas_ha; 1408 iphy->sas_phy 1430 isci_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, void *buf) argument [all...] |
/drivers/scsi/mvsas/ |
H A D | mv_64xx.c | 594 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 596 sas_phy->linkrate =
|
H A D | mv_init.c | 102 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 107 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; 108 sas_phy->class = SAS; 109 sas_phy->iproto = SAS_PROTOCOL_ALL; 110 sas_phy->tproto = 0; 111 sas_phy->type = PHY_TYPE_PHYSICAL; 112 sas_phy->role = PHY_ROLE_INITIATOR; 113 sas_phy->oob_mode = OOB_NOT_CONNECTED; 114 sas_phy [all...] |
H A D | mv_94xx.c | 836 struct asd_sas_phy *sas_phy = &phy->sas_phy; local 838 sas_phy->linkrate = 841 sas_phy->linkrate += 0x8; 842 mv_dprintk("get link rate is %d\n", sas_phy->linkrate);
|
H A D | mv_sas.c | 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, argument 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; local 325 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; local 451 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; local 1129 struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy; local 1189 mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock) argument 1231 mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock) argument 1250 mvs_port_formed(struct asd_sas_phy *sas_phy) argument 1255 mvs_port_deformed(struct asd_sas_phy *sas_phy) argument 1999 struct asd_sas_phy *sas_phy = &phy->sas_phy; local [all...] |
H A D | mv_sas.h | 80 #define MVS_PHY_ID (1U << sas_phy->id) 222 struct asd_sas_phy sas_phy; member in struct:mvs_phy 459 int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, 471 void mvs_port_formed(struct asd_sas_phy *sas_phy); 472 void mvs_port_deformed(struct asd_sas_phy *sas_phy);
|