Searched refs:rphy (Results 1 - 15 of 15) sorted by relevance

/drivers/scsi/
H A Dscsi_transport_sas.c160 struct sas_rphy *rphy = target_to_rphy(sdev->sdev_target); local
163 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE);
165 rdev = rphy_to_end_device(rphy);
170 struct sas_rphy *rphy)
180 ret = handler(shost, rphy, req);
196 struct sas_rphy *rphy = q->queuedata; local
197 sas_smp_request(q, rphy_to_shost(rphy), rphy);
210 static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy) argument
224 if (rphy) {
169 sas_smp_request(struct request_queue *q, struct Scsi_Host *shost, struct sas_rphy *rphy) argument
260 sas_bsg_remove(struct Scsi_Host *shost, struct sas_rphy *rphy) argument
732 struct sas_rphy *rphy = dev_to_rphy(parent); local
924 struct sas_rphy *rphy = dev_to_rphy(parent); local
958 struct sas_rphy *rphy = dev_to_rphy(parent); local
1202 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1217 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1244 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1392 struct sas_rphy *rphy; local
1415 struct sas_rphy *rphy; local
1436 struct sas_rphy *rphy = dev_to_rphy(dev); local
1448 struct sas_rphy *rphy = dev_to_rphy(dev); local
1465 sas_rphy_initialize(struct sas_rphy *rphy) argument
1493 struct sas_rphy *rphy = dev_to_rphy(parent->dev.parent); local
1555 sas_rphy_add(struct sas_rphy *rphy) argument
1613 sas_rphy_free(struct sas_rphy *rphy) argument
1638 sas_rphy_delete(struct sas_rphy *rphy) argument
1651 sas_rphy_unlink(struct sas_rphy *rphy) argument
1666 sas_rphy_remove(struct sas_rphy *rphy) argument
1711 struct sas_rphy *rphy; local
[all...]
/drivers/scsi/libsas/
H A Dsas_discover.c73 struct sas_rphy *rphy; local
119 rphy = NULL;
124 rphy = sas_end_device_alloc(port->port);
127 rphy = sas_expander_alloc(port->port,
131 rphy = sas_expander_alloc(port->port,
136 rphy = NULL;
140 if (!rphy) {
145 rphy->identify.phy_identifier = phy->phy->identify.phy_identifier;
147 sas_fill_in_rphy(dev, rphy);
160 dev->rphy
[all...]
H A Dsas_internal.h93 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy);
127 struct sas_rphy *rphy)
129 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr);
130 rphy->identify.initiator_port_protocols = dev->iproto;
131 rphy->identify.target_port_protocols = dev->tproto;
137 rphy->identify.device_type = SAS_END_DEVICE;
140 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE;
143 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE;
146 rphy->identify.device_type = SAS_PHY_UNUSED;
173 ex->parent_port = sas_port_alloc(&dev->rphy
126 sas_fill_in_rphy(struct domain_device *dev, struct sas_rphy *rphy) argument
[all...]
H A Dsas_host_smp.c26 struct sas_rphy *rphy; local
49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
50 resp_data[12] = rphy->identify.device_type << 4;
51 resp_data[14] = rphy->identify.initiator_port_protocols;
52 resp_data[15] = rphy->identify.target_port_protocols;
143 struct sas_rphy *rphy; local
157 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
160 if (rphy
[all...]
H A Dsas_init.c212 dev = sas_find_dev_by_rphy(dev->rphy);
249 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
250 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
284 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
285 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
317 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
318 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
353 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
354 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
H A Dsas_expander.c208 struct sas_rphy *rphy = dev->rphy; local
215 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
339 struct sas_rphy *rphy; local
344 rphy = ex_phy->port->rphy;
345 if (!rphy)
348 dev = sas_find_dev_by_rphy(rphy);
509 struct sas_rphy *rphy = dev->rphy; local
647 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
766 struct sas_rphy *rphy; local
900 struct sas_rphy *rphy; local
2131 sas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
[all...]
H A Dsas_scsi_host.c734 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy) argument
736 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent);
749 if (rphy == dev->rphy) {
765 struct sas_rphy *rphy = dev_to_rphy(starget->dev.parent); local
766 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy);
783 BUG_ON(dev->rphy->identify.device_type != SAS_END_DEVICE);
H A Dsas_ata.c382 struct device *dev = &ddev->rphy->dev;
695 sas_fill_in_rphy(dev, dev->rphy);
/drivers/message/fusion/
H A Dmptsas.c113 struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy);
370 static inline MPT_ADAPTER *rphy_to_ioc(struct sas_rphy *rphy) argument
372 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent);
482 return phy_info->port_details->rphy;
488 mptsas_set_rphy(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy) argument
491 phy_info->port_details->rphy = rphy;
492 dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "sas_rphy_add: rphy=%p\n",
493 ioc->name, rphy));
496 if (rphy) {
560 struct sas_rphy *rphy; local
759 struct sas_rphy *rphy; local
1421 struct sas_rphy *rphy; local
1497 struct sas_rphy *rphy; local
1724 struct sas_rphy *rphy; local
1800 struct sas_rphy *rphy; local
1849 struct sas_rphy *rphy; local
2160 mptsas_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) argument
2194 mptsas_get_bay_identifier(struct sas_rphy *rphy) argument
2216 mptsas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
3199 struct sas_rphy *rphy; local
3367 struct sas_rphy *rphy; local
3471 struct sas_rphy *rphy; local
[all...]
H A Dmptsas.h152 struct sas_rphy *rphy; /* transport layer rphy object */ member in struct:mptsas_portinfo_details
/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c653 struct sas_rphy *rphy; local
730 rphy = sas_end_device_alloc(port);
732 rphy = sas_expander_alloc(port,
735 rphy->identify = mpt2sas_port->remote_identify;
736 if ((sas_rphy_add(rphy))) {
741 dev_printk(KERN_INFO, &rphy->dev, "add: handle(0x%04x), "
745 mpt2sas_port->rphy = rphy;
757 rphy_to_expander_device(rphy));
1026 rphy_to_ioc(struct sas_rphy *rphy) argument
1308 _transport_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) argument
1333 _transport_get_bay_identifier(struct sas_rphy *rphy) argument
1825 _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
[all...]
H A Dmpt2sas_base.h434 * @rphy: sas transport rphy object
442 struct sas_rphy *rphy; member in struct:_sas_port
H A Dmpt2sas_scsih.c1283 struct sas_rphy *rphy; local
1311 rphy = dev_to_rphy(starget->dev.parent);
1313 rphy->identify.sas_address);
1345 struct sas_rphy *rphy; local
1364 rphy = dev_to_rphy(starget->dev.parent);
1366 rphy->identify.sas_address);
4926 sas_expander->parent_dev = &mpt2sas_port->rphy->dev;
/drivers/scsi/aic94xx/
H A Daic94xx_dev.c223 struct sas_end_device *rdev = rphy_to_end_device(dev->rphy);
/drivers/scsi/pm8001/
H A Dpm8001_sas.c629 dev->rphy->identify.phy_identifier;

Completed in 716 milliseconds