Lines Matching refs:ex

203 	struct expander_device *ex = &dev->ex_dev;
204 struct ex_phy *phy = &ex->ex_phy[phy_id];
392 struct expander_device *ex = &dev->ex_dev;
409 if (0 <= single && single < ex->num_phys) {
414 for (i = 0; i < ex->num_phys; i++) {
429 struct expander_device *ex = &dev->ex_dev;
432 ex->ex_phy = kcalloc(ex->num_phys, sizeof(*ex->ex_phy), GFP_KERNEL);
433 if (!ex->ex_phy)
442 kfree(ex->ex_phy);
443 ex->ex_phy = NULL;
490 pr_notice("RG to ex %016llx failed:0x%x\n",
494 pr_debug("RG:ex %016llx returned SMP result:0x%x\n",
503 pr_debug("RG: ex %016llx self-configuring...\n",
558 pr_notice("MI: ex %016llx failed:0x%x\n",
562 pr_debug("MI ex %016llx returned SMP result:0x%x\n",
605 pr_err("ex %016llx phy%02d PHY control failed: %d\n",
608 pr_err("ex %016llx phy%02d PHY control failed: function result 0x%x\n",
619 struct expander_device *ex = &dev->ex_dev;
620 struct ex_phy *phy = &ex->ex_phy[phy_id];
628 struct expander_device *ex = &dev->ex_dev;
631 for (i = 0; i < ex->num_phys; i++) {
632 struct ex_phy *phy = &ex->ex_phy[i];
826 pr_notice("ex %016llx phy%02d SATA device linkrate > min pathway connection rate, attempting to lower device linkrate\n",
831 pr_err("ex %016llx phy%02d SATA device could not set linkrate (%d)\n",
835 pr_notice("ex %016llx phy%02d SATA device set linkrate successfully\n",
949 pr_warn("ex %016llx:%02d:D <--> ex %016llx:0x%x is not allowed\n",
1018 struct expander_device *ex = &dev->ex_dev;
1019 struct ex_phy *ex_phy = &ex->ex_phy[phy_id];
1061 pr_warn("unknown device type(0x%x) attached to ex %016llx phy%02d\n",
1077 pr_debug("Attaching ex phy%02d to wide port %016llx\n",
1089 pr_debug("second fanout expander %016llx phy%02d attached to ex %016llx phy%02d\n",
1108 pr_notice("ex %016llx phy%02d failed to discover\n",
1115 struct expander_device *ex = &dev->ex_dev;
1118 for (i = 0; i < ex->num_phys; i++) {
1119 struct ex_phy *phy = &ex->ex_phy[i];
1138 struct expander_device *ex = &dev->ex_dev;
1142 list_for_each_entry(child, &ex->children, siblings) {
1154 pr_notice("ex %016llx->%016llx-?->%016llx diverges from subtractive boundary %016llx\n",
1176 struct expander_device *ex = &dev->ex_dev;
1177 int i = 0, end = ex->num_phys;
1186 struct ex_phy *ex_phy = &ex->ex_phy[i];
1214 struct expander_device *ex = &dev->ex_dev;
1221 for (i = 0; i < ex->num_phys; i++) {
1222 struct ex_phy *phy = &ex->ex_phy[i];
1236 pr_notice("ex %016llx phy%02d diverges(%016llx) on subtractive boundary(%016llx). Disabled\n",
1257 pr_notice("%s ex %016llx phy%02d <--> %s ex %016llx phy%02d has %c:%c routing link!\n",
1279 pr_warn("edge ex %016llx phy S:%02d <--> edge ex %016llx phy S:%02d, while there is a fanout ex %016llx\n",
1302 pr_warn("edge ex %016llx phy%02d <--> edge ex %016llx phy%02d link forms a third EEDS!\n",
1390 struct expander_device *ex = &dev->ex_dev;
1391 struct ex_phy *phy = &ex->ex_phy[phy_id];
1411 for (i = 0; i < ex->max_route_indexes ; i++) {
1537 pr_debug("ex %016llx has self-configuring routing table\n",
1621 struct sas_expander_device *ex =
1624 if (level == ex->level)
1652 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1658 ex->level = dev->port->disc.max_level; /* 0 */
1746 struct expander_device *ex = &dev->ex_dev;
1750 for (i = from_phy; i < ex->num_phys; i++) {
1764 if (phy_change_count != ex->ex_phy[i].phy_change_count) {
1766 ex->ex_phy[i].phy_change_count =
1826 struct expander_device *ex = &dev->ex_dev;
1835 if (ex_change_count != -1 && ex_change_count != ex->ex_change_count) {
1843 ex->ex_change_count = ex_change_count;
1844 pr_info("ex %016llx phy%02d change count has changed\n",
1848 pr_info("ex %016llx phys DID NOT change\n",
1851 list_for_each_entry(ch, &ex->children, siblings) {
1864 struct expander_device *ex = &dev->ex_dev;
1867 list_for_each_entry_safe(child, n, &ex->children, siblings) {
1919 struct sas_expander_device *ex =
1922 if (level > ex->level)
1925 else if (level == ex->level)
1935 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1936 int level = ex->level+1;
1956 pr_debug("ex %016llx phy%02d new device attached\n",
1997 struct expander_device *ex = &dev->ex_dev;
1998 struct ex_phy *phy = &ex->ex_phy[phy_id];
2007 pr_debug("ex %016llx rediscovering phy%02d%s\n",
2047 pr_debug("ex %016llx phy%02d broadcast flutter%s\n",
2053 pr_info("ex %016llx phy%02d replace %016llx\n",
2077 struct expander_device *ex = &dev->ex_dev;
2078 struct ex_phy *changed_phy = &ex->ex_phy[phy_id];
2083 pr_debug("ex %016llx phy%02d originated BROADCAST(CHANGE)\n",
2087 for (i = 0; i < ex->num_phys; i++) {
2088 struct ex_phy *phy = &ex->ex_phy[i];
2120 struct expander_device *ex = &dev->ex_dev;
2130 } while (i < ex->num_phys);