• 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/libsas/

Lines Matching refs:ex

161 	struct expander_device *ex = &dev->ex_dev;
162 struct ex_phy *phy = &ex->ex_phy[phy_id];
213 SAS_DPRINTK("ex %016llx phy%02d:%c attached: %016llx\n",
258 struct expander_device *ex = &dev->ex_dev;
275 if (0 <= single && single < ex->num_phys) {
280 for (i = 0; i < ex->num_phys; i++) {
295 struct expander_device *ex = &dev->ex_dev;
298 ex->ex_phy = kzalloc(sizeof(*ex->ex_phy)*ex->num_phys, GFP_KERNEL);
299 if (!ex->ex_phy)
308 kfree(ex->ex_phy);
309 ex->ex_phy = NULL;
355 SAS_DPRINTK("RG to ex %016llx failed:0x%x\n",
359 SAS_DPRINTK("RG:ex %016llx returned SMP result:0x%x\n",
368 SAS_DPRINTK("RG: ex %llx self-configuring...\n",
423 SAS_DPRINTK("MI: ex %016llx failed:0x%x\n",
427 SAS_DPRINTK("MI ex %016llx returned SMP result:0x%x\n",
477 struct expander_device *ex = &dev->ex_dev;
478 struct ex_phy *phy = &ex->ex_phy[phy_id];
486 struct expander_device *ex = &dev->ex_dev;
489 for (i = 0; i < ex->num_phys; i++) {
490 struct ex_phy *phy = &ex->ex_phy[i];
789 SAS_DPRINTK("ex %016llx:0x%x:D <--> ex %016llx:0x%x is not "
850 struct expander_device *ex = &dev->ex_dev;
851 struct ex_phy *ex_phy = &ex->ex_phy[phy_id];
892 SAS_DPRINTK("unknown device type(0x%x) attached to ex %016llx "
910 SAS_DPRINTK("Attaching ex phy%d to wide port %016llx\n",
922 "attached to ex %016llx phy 0x%x\n",
943 for (i = 0; i < ex->num_phys; i++) {
944 if (ex->ex_phy[i].phy_state == PHY_VACANT ||
945 ex->ex_phy[i].phy_state == PHY_NOT_PRESENT)
951 if (SAS_ADDR(ex->ex_phy[i].attached_sas_addr) ==
953 ex->ex_phy[i].phy_state= PHY_DEVICE_DISCOVERED;
956 SAS_DPRINTK("Attaching ex phy%d to wide port %016llx\n",
957 i, SAS_ADDR(ex->ex_phy[i].attached_sas_addr));
968 struct expander_device *ex = &dev->ex_dev;
971 for (i = 0; i < ex->num_phys; i++) {
972 struct ex_phy *phy = &ex->ex_phy[i];
992 struct expander_device *ex = &dev->ex_dev;
996 list_for_each_entry(child, &ex->children, siblings) {
1009 SAS_DPRINTK("ex %016llx->%016llx-?->%016llx "
1033 struct expander_device *ex = &dev->ex_dev;
1034 int i = 0, end = ex->num_phys;
1043 struct ex_phy *ex_phy = &ex->ex_phy[i];
1071 struct expander_device *ex = &dev->ex_dev;
1078 for (i = 0; i < ex->num_phys; i++) {
1079 struct ex_phy *phy = &ex->ex_phy[i];
1094 SAS_DPRINTK("ex %016llx phy 0x%x "
1122 sas_printk("%s ex %016llx phy 0x%x <--> %s ex %016llx phy 0x%x "
1146 SAS_DPRINTK("edge ex %016llx phy S:0x%x <--> edge ex %016llx "
1147 "phy S:0x%x, while there is a fanout ex %016llx\n",
1170 SAS_DPRINTK("edge ex %016llx phy 0x%x <--> edge ex %016llx "
1255 struct expander_device *ex = &dev->ex_dev;
1256 struct ex_phy *phy = &ex->ex_phy[phy_id];
1276 for (i = 0; i < ex->max_route_indexes ; i++) {
1403 SAS_DPRINTK("ex %016llx has self-configuring routing table\n",
1444 * @ex: pointer to expander domain device
1488 struct sas_expander_device *ex =
1491 if (level == ex->level)
1519 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1525 ex->level = dev->port->disc.max_level; /* 0 */
1611 struct expander_device *ex = &dev->ex_dev;
1615 for (i = from_phy; i < ex->num_phys; i++) {
1621 else if (phy_change_count != ex->ex_phy[i].phy_change_count) {
1623 ex->ex_phy[i].phy_change_count =
1684 struct expander_device *ex = &dev->ex_dev;
1693 if (ex_change_count != -1 && ex_change_count != ex->ex_change_count) {
1701 ex->ex_change_count = ex_change_count;
1707 list_for_each_entry(ch, &ex->children, siblings) {
1720 struct expander_device *ex = &dev->ex_dev;
1723 list_for_each_entry_safe(child, n, &ex->children, siblings) {
1771 struct sas_expander_device *ex =
1774 if (level > ex->level)
1777 else if (level == ex->level)
1787 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1788 int level = ex->level+1;
1809 SAS_DPRINTK("ex %016llx phy%d new device attached\n",
1847 struct expander_device *ex = &dev->ex_dev;
1848 struct ex_phy *phy = &ex->ex_phy[phy_id];
1871 SAS_DPRINTK("ex %016llx phy 0x%x broadcast flutter\n",
1896 struct expander_device *ex = &dev->ex_dev;
1897 struct ex_phy *changed_phy = &ex->ex_phy[phy_id];
1902 SAS_DPRINTK("ex %016llx phy%d originated BROADCAST(CHANGE)\n",
1906 for (i = 0; i < ex->num_phys; i++) {
1907 struct ex_phy *phy = &ex->ex_phy[i];
1943 struct expander_device *ex = &dev->ex_dev;
1953 } while (i < ex->num_phys);