Lines Matching defs:ex_dev

38 	struct expander_device *ex = &dev->ex_dev;
66 mutex_lock(&dev->ex_dev.cmd_mutex);
137 mutex_unlock(&dev->ex_dev.cmd_mutex);
175 if (dev->ex_dev.t2t_supp)
208 struct expander_device *ex = &dev->ex_dev;
349 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id)
351 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id];
396 struct expander_device *ex = &dev->ex_dev;
433 struct expander_device *ex = &dev->ex_dev;
492 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count);
493 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes);
494 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS);
495 dev->ex_dev.t2t_supp = rg->t2t_supp;
496 dev->ex_dev.conf_route_table = rg->conf_route_table;
497 dev->ex_dev.configuring = rg->configuring;
498 memcpy(dev->ex_dev.enclosure_logical_id,
501 if (dev->ex_dev.configuring) {
618 struct expander_device *ex = &dev->ex_dev;
627 struct expander_device *ex = &dev->ex_dev;
747 struct expander_device *parent_ex = &parent->ex_dev;
812 struct expander_device *parent_ex = &parent->ex_dev;
870 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
873 for (i = 0; i < parent->ex_dev.num_phys; i++) {
874 struct ex_phy *ephy = &parent->ex_dev.ex_phy[i];
893 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
964 list_add_tail(&child->siblings, &parent->ex_dev.children);
970 struct expander_device *ex = &dev->ex_dev;
1065 struct expander_device *ex = &dev->ex_dev;
1088 struct expander_device *ex = &dev->ex_dev;
1126 struct expander_device *ex = &dev->ex_dev;
1164 struct expander_device *ex = &dev->ex_dev;
1265 struct expander_device *child_ex = &child->ex_dev;
1266 struct expander_device *parent_ex = &child->parent->ex_dev;
1296 struct expander_device *child_ex = &child->ex_dev;
1322 parent_ex = &child->parent->ex_dev;
1358 struct expander_device *ex = &dev->ex_dev;
1494 struct expander_device *ex_parent = &parent->ex_dev;
1715 struct expander_device *ex = &dev->ex_dev;
1795 struct expander_device *ex = &dev->ex_dev;
1833 struct expander_device *ex = &dev->ex_dev;
1849 struct expander_device *ex_dev = &parent->ex_dev;
1850 struct ex_phy *phy = &ex_dev->ex_phy[phy_id];
1854 &ex_dev->children, siblings) {
1874 if (ex_dev->parent_port == phy->port)
1875 ex_dev->parent_port = NULL;
1884 struct expander_device *ex_root = &root->ex_dev;
1923 struct ex_phy *ex_phy = &dev->ex_dev.ex_phy[phy_id];
1939 list_for_each_entry(child, &dev->ex_dev.children, siblings) {
1967 struct expander_device *ex = &dev->ex_dev;
2059 struct expander_device *ex = &dev->ex_dev;
2101 struct expander_device *ex = &dev->ex_dev;
2116 int sas_find_attached_phy_id(struct expander_device *ex_dev,
2122 for (phy_id = 0; phy_id < ex_dev->num_phys; phy_id++) {
2123 phy = &ex_dev->ex_phy[phy_id];