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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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)
184 ret = handler(shost, rphy, req);
200 struct sas_rphy *rphy = q->queuedata; local
201 sas_smp_request(q, rphy_to_shost(rphy), rphy);
214 static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy) argument
228 if (rphy) {
169 sas_smp_request(struct request_queue *q, struct Scsi_Host *shost, struct sas_rphy *rphy) argument
264 sas_bsg_remove(struct Scsi_Host *shost, struct sas_rphy *rphy) argument
719 struct sas_rphy *rphy = dev_to_rphy(parent); local
911 struct sas_rphy *rphy = dev_to_rphy(parent); local
944 struct sas_rphy *rphy = dev_to_rphy(parent); local
1165 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1180 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1207 struct sas_rphy *rphy = transport_class_to_rphy(dev); local
1355 struct sas_rphy *rphy; local
1378 struct sas_rphy *rphy; local
1399 struct sas_rphy *rphy = dev_to_rphy(dev); local
1411 struct sas_rphy *rphy = dev_to_rphy(dev); local
1428 sas_rphy_initialize(struct sas_rphy *rphy) argument
1456 struct sas_rphy *rphy = dev_to_rphy(parent->dev.parent); local
1518 sas_rphy_add(struct sas_rphy *rphy) argument
1570 sas_rphy_free(struct sas_rphy *rphy) argument
1595 sas_rphy_delete(struct sas_rphy *rphy) argument
1609 sas_rphy_remove(struct sas_rphy *rphy) argument
1656 struct sas_rphy *rphy; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/scsi/
H A Dscsi_transport_sas.h101 #define rphy_to_shost(rphy) \
102 dev_to_shost((rphy)->dev.parent)
107 struct sas_rphy rphy; member in struct:sas_end_device
117 container_of((r), struct sas_end_device, rphy)
134 struct sas_rphy rphy; member in struct:sas_expander_device
138 container_of((r), struct sas_expander_device, rphy)
149 struct sas_rphy *rphy; member in struct:sas_port
217 struct sas_rphy *rphy; local
220 rphy = dev_to_rphy(dev);
221 return rphy
[all...]
H A Dsas_ata.h35 return (dev->rphy->identify.target_port_protocols & SAS_PROTOCOL_SATA);
H A Dlibsas.h195 struct sas_rphy *rphy; member in struct:domain_device
665 extern int sas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/libsas/
H A Dsas_internal.h79 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy);
130 struct sas_rphy *rphy)
132 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr);
133 rphy->identify.initiator_port_protocols = dev->iproto;
134 rphy->identify.target_port_protocols = dev->tproto;
138 rphy->identify.device_type = SAS_END_DEVICE;
141 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE;
144 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE;
147 rphy->identify.device_type = SAS_PHY_UNUSED;
158 ex->parent_port = sas_port_alloc(&dev->rphy
129 sas_fill_in_rphy(struct domain_device *dev, struct sas_rphy *rphy) argument
[all...]
H A Dsas_discover.c73 struct sas_rphy *rphy; local
116 rphy = sas_end_device_alloc(port->port);
119 rphy = sas_expander_alloc(port->port,
123 rphy = sas_expander_alloc(port->port,
128 rphy = NULL;
132 if (!rphy) {
136 rphy->identify.phy_identifier = phy->phy->identify.phy_identifier;
138 sas_fill_in_rphy(dev, rphy);
151 dev->rphy = rphy;
[all...]
H A Dsas_host_smp.c25 struct sas_rphy *rphy; local
48 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
49 resp_data[12] = rphy->identify.device_type << 4;
50 resp_data[14] = rphy->identify.initiator_port_protocols;
51 resp_data[15] = rphy->identify.target_port_protocols;
57 struct sas_rphy *rphy; local
71 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
74 if (rphy
[all...]
H A Dsas_init.c184 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
185 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
210 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
211 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
246 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
247 struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
H A Dsas_expander.c165 struct sas_rphy *rphy = dev->rphy; local
169 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
384 struct sas_rphy *rphy = dev->rphy; local
385 struct sas_expander_device *edev = rphy_to_expander_device(rphy);
522 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); local
523 struct domain_device *dev = sas_find_dev_by_rphy(rphy);
642 struct sas_rphy *rphy; local
658 phy->port = sas_port_alloc(&parent->rphy
783 struct sas_rphy *rphy; local
1959 sas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
[all...]
H A Dsas_scsi_host.c720 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy) argument
722 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent);
735 if (rphy == dev->rphy) {
751 struct sas_rphy *rphy = dev_to_rphy(starget->dev.parent); local
753 return sas_find_dev_by_rphy(rphy);
782 BUG_ON(dev->rphy->identify.device_type != SAS_END_DEVICE);
H A Dsas_ata.c717 sas_fill_in_rphy(dev, dev->rphy);
770 res = sas_rphy_add(dev->rphy);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/message/fusion/
H A Dmptsas.c108 struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy);
363 static inline MPT_ADAPTER *rphy_to_ioc(struct sas_rphy *rphy) argument
365 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent);
475 return phy_info->port_details->rphy;
481 mptsas_set_rphy(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy) argument
484 phy_info->port_details->rphy = rphy;
485 dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "sas_rphy_add: rphy=%p\n",
486 ioc->name, rphy));
489 if (rphy) {
553 struct sas_rphy *rphy; local
752 struct sas_rphy *rphy; local
1414 struct sas_rphy *rphy; local
1490 struct sas_rphy *rphy; local
1717 struct sas_rphy *rphy; local
1793 struct sas_rphy *rphy; local
1842 struct sas_rphy *rphy; local
2141 mptsas_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) argument
2175 mptsas_get_bay_identifier(struct sas_rphy *rphy) argument
2197 mptsas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
3177 struct sas_rphy *rphy; local
3345 struct sas_rphy *rphy; local
3449 struct sas_rphy *rphy; local
[all...]
H A Dmptsas.h152 struct sas_rphy *rphy; /* transport layer rphy object */ member in struct:mptsas_portinfo_details
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c566 struct sas_rphy *rphy; local
643 rphy = sas_end_device_alloc(port);
645 rphy = sas_expander_alloc(port,
648 rphy->identify = mpt2sas_port->remote_identify;
649 if ((sas_rphy_add(rphy))) {
654 dev_printk(KERN_INFO, &rphy->dev, "add: handle(0x%04x), "
658 mpt2sas_port->rphy = rphy;
670 rphy_to_expander_device(rphy));
937 rphy_to_ioc(struct sas_rphy *rphy) argument
1221 _transport_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) argument
1246 _transport_get_bay_identifier(struct sas_rphy *rphy) argument
1739 _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, struct request *req) argument
[all...]
H A Dmpt2sas_base.h348 * @rphy: sas transport rphy object
356 struct sas_rphy *rphy; member in struct:_sas_port
H A Dmpt2sas_scsih.c1217 struct sas_rphy *rphy; local
1244 rphy = dev_to_rphy(starget->dev.parent);
1246 rphy->identify.sas_address);
1278 struct sas_rphy *rphy; local
1297 rphy = dev_to_rphy(starget->dev.parent);
1299 rphy->identify.sas_address);
4277 sas_expander->parent_dev = &mpt2sas_port->rphy->dev;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic94xx/
H A Daic94xx_dev.c213 struct sas_end_device *rdev = rphy_to_end_device(dev->rphy);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/pm8001/
H A Dpm8001_sas.c650 dev->rphy->identify.phy_identifier;

Completed in 366 milliseconds