Searched refs:sas_phy (Results 1 - 25 of 35) sorted by relevance

12

/drivers/scsi/aic94xx/
H A Daic94xx_scb.c56 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 Daic94xx_hwi.c78 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 Daic94xx_init.c704 sas_phys[i] = &asd_ha->phys[i].sas_phy;
708 asd_ha->sas_ha.sas_phy = sas_phys;
728 kfree(asd_ha->sas_ha.sas_phy);
/drivers/scsi/libsas/
H A DMakefile26 sas_phy.o \
H A Dsas_host_smp.c25 struct sas_phy *phy;
34 phy = sas_ha->sas_phy[phy_id]->phy;
38 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr,
45 if (!sas_ha->sas_phy[phy_id]->port ||
46 !sas_ha->sas_phy[phy_id]->port->port_dev)
49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
154 if (!sas_ha->sas_phy[phy_id]->port)
157 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
159 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd;
165 memcpy(resp_data + 16, sas_ha->sas_phy[phy_i
[all...]
H A Dsas_init.c187 static int sas_get_linkerrors(struct sas_phy *phy)
192 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
229 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset)
241 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
262 static int sas_phy_enable(struct sas_phy *phy, int enable)
275 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
295 int sas_phy_reset(struct sas_phy *phy, int hard_reset)
311 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
324 int sas_set_phy_speed(struct sas_phy *phy,
346 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[ph
[all...]
H A Dsas_internal.h44 struct sas_phy *phy;
90 int sas_smp_get_phy_events(struct sas_phy *phy);
153 struct sas_phy *phy = p->phy;
H A Dsas_phy.c121 struct asd_sas_phy *phy = sas_ha->sas_phy[i];
H A Dsas_port.c302 if (sas_ha->sas_phy[i]->port)
303 sas_deform_port(sas_ha->sas_phy[i], 0);
H A Dsas_ata.c336 struct sas_phy *phy = sas_get_local_phy(dev);
404 struct sas_phy *phy;
/drivers/scsi/isci/
H A Dphy.c931 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
933 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags);
974 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
978 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags);
1339 iphy->sas_phy.enabled = 0;
1340 iphy->sas_phy.id = index;
1341 iphy->sas_phy.sas_addr = &iphy->sas_addr[0];
1342 iphy->sas_phy.frame_rcvd = (u8 *)&iphy->frame_rcvd;
1343 iphy->sas_phy.ha = &ihost->sas_ha;
1344 iphy->sas_phy
1366 isci_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, void *buf) argument
[all...]
H A Dphy.h105 struct asd_sas_phy sas_phy; member in struct:isci_phy
113 static inline struct isci_phy *to_iphy(struct asd_sas_phy *sas_phy) argument
115 struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy);
H A Dport.c164 "%s: isci_phy = %p, sas_phy = %p\n",
165 __func__, iphy, &iphy->sas_phy);
167 ihost->sas_ha.notify_port_event(&iphy->sas_phy, PORTE_BROADCAST_RCVD);
183 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
190 iphy->sas_phy.oob_mode = SATA_OOB_MODE;
191 iphy->sas_phy.frame_rcvd_size = sizeof(struct dev_to_host_fis);
205 memcpy(&iphy->sas_phy.attached_sas_addr,
208 iphy->sas_phy.oob_mode = SAS_OOB_MODE;
209 iphy->sas_phy.frame_rcvd_size = sizeof(struct sas_identify_frame);
212 memcpy(iphy->sas_phy
[all...]
H A Dinit.c250 sas_phys[i] = &isci_host->phys[i].sas_phy;
254 sas_ha->sas_phy = sas_phys;
/drivers/scsi/mvsas/
H A Dmv_init.c102 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 Dmv_sas.c89 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
1123 struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy; local
1183 mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock) argument
1225 mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock) argument
1244 mvs_port_formed(struct asd_sas_phy *sas_phy) argument
1249 mvs_port_deformed(struct asd_sas_phy *sas_phy) argument
1984 struct asd_sas_phy *sas_phy = &phy->sas_phy; local
[all...]
H A Dmv_sas.h220 struct asd_sas_phy sas_phy; member in struct:mvs_phy
457 int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
469 void mvs_port_formed(struct asd_sas_phy *sas_phy);
470 void mvs_port_deformed(struct asd_sas_phy *sas_phy);
H A Dmv_94xx.c837 struct asd_sas_phy *sas_phy = &phy->sas_phy; local
839 sas_phy->linkrate =
842 sas_phy->linkrate += 0x8;
843 mv_dprintk("get link rate is %d\n", sas_phy->linkrate);
/drivers/scsi/pm8001/
H A Dpm8001_init.c111 struct asd_sas_phy *sas_phy = &phy->sas_phy; local
114 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0;
115 sas_phy->class = SAS;
116 sas_phy->iproto = SAS_PROTOCOL_ALL;
117 sas_phy->tproto = 0;
118 sas_phy->type = PHY_TYPE_PHYSICAL;
119 sas_phy->role = PHY_ROLE_INITIATOR;
120 sas_phy->oob_mode = OOB_NOT_CONNECTED;
121 sas_phy
[all...]
H A Dpm8001_hwi.c2963 struct asd_sas_phy *sas_phy = &phy->sas_phy; local
2969 if (sas_phy->phy) {
2970 struct sas_phy *sphy = sas_phy->phy;
2971 sphy->negotiated_linkrate = sas_phy->linkrate;
2989 sas_phy->frame_rcvd_size = phy->frame_rcvd_size;
2990 pm8001_ha->sas->notify_port_event(sas_phy, PORTE_BYTES_DMAED);
2996 struct sas_phy *sas_phy local
3507 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; local
[all...]
H A Dpm8001_sas.c158 * @sas_phy: which phy in HBA phys.
162 int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, argument
165 int rc = 0, phy_id = sas_phy->id;
170 pm8001_ha = sas_phy->ha->lldd_ha;
221 struct sas_phy *phy = sas_phy->phy;
964 struct sas_phy *phy;
1005 struct sas_phy *phy = sas_get_local_phy(dev);
H A Dpm8001_sas.h192 struct asd_sas_phy sas_phy; member in struct:pm8001_phy
473 int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
/drivers/scsi/
H A Dscsi_transport_sas.c14 * as represented by struct sas_phy defines an "outgoing" PHY on
457 struct sas_phy *phy = transport_class_to_phy(dev); \
471 struct sas_phy *phy = transport_class_to_phy(dev); \
487 struct sas_phy *phy = transport_class_to_phy(dev); \
499 struct sas_phy *phy = transport_class_to_phy(dev); \
531 struct sas_phy *phy = transport_class_to_phy(dev); \
551 struct sas_phy *phy = transport_class_to_phy(dev);
562 struct sas_phy *phy = transport_class_to_phy(dev);
599 struct sas_phy *phy = transport_class_to_phy(dev);
610 struct sas_phy *ph
[all...]
/drivers/message/fusion/
H A Dmptsas.h168 struct sas_phy *phy; /* transport layer phy object */
/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c845 struct sas_phy *phy;
912 struct sas_phy *phy;
1019 phy_to_ioc(struct sas_phy *phy)
1070 struct sas_phy *phy)
1258 _transport_get_linkerrors(struct sas_phy *phy)
1389 struct sas_phy *phy, u8 phy_operation)
1576 _transport_phy_reset(struct sas_phy *phy, int hard_reset)
1628 _transport_phy_enable(struct sas_phy *phy, int enable)
1707 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates)

Completed in 213 milliseconds

12