Lines Matching refs:ex_dev

62 	mutex_lock(&dev->ex_dev.cmd_mutex);
133 mutex_unlock(&dev->ex_dev.cmd_mutex);
170 if (dev->ex_dev.t2t_supp)
203 struct expander_device *ex = &dev->ex_dev;
345 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id)
347 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id];
392 struct expander_device *ex = &dev->ex_dev;
429 struct expander_device *ex = &dev->ex_dev;
454 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count);
455 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes);
456 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS);
457 dev->ex_dev.t2t_supp = rg->t2t_supp;
458 dev->ex_dev.conf_route_table = rg->conf_route_table;
459 dev->ex_dev.configuring = rg->configuring;
460 memcpy(dev->ex_dev.enclosure_logical_id, rg->enclosure_logical_id, 8);
502 if (dev->ex_dev.configuring) {
619 struct expander_device *ex = &dev->ex_dev;
628 struct expander_device *ex = &dev->ex_dev;
748 struct expander_device *parent_ex = &parent->ex_dev;
781 struct expander_device *parent_ex = &parent->ex_dev;
916 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
919 for (i = 0; i < parent->ex_dev.num_phys; i++) {
920 struct ex_phy *ephy = &parent->ex_dev.ex_phy[i];
941 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
1012 list_add_tail(&child->siblings, &parent->ex_dev.children);
1018 struct expander_device *ex = &dev->ex_dev;
1115 struct expander_device *ex = &dev->ex_dev;
1138 struct expander_device *ex = &dev->ex_dev;
1176 struct expander_device *ex = &dev->ex_dev;
1214 struct expander_device *ex = &dev->ex_dev;
1316 struct expander_device *child_ex = &child->ex_dev;
1327 parent_ex = &child->parent->ex_dev;
1390 struct expander_device *ex = &dev->ex_dev;
1525 struct expander_device *ex_parent = &parent->ex_dev;
1746 struct expander_device *ex = &dev->ex_dev;
1826 struct expander_device *ex = &dev->ex_dev;
1864 struct expander_device *ex = &dev->ex_dev;
1880 struct expander_device *ex_dev = &parent->ex_dev;
1881 struct ex_phy *phy = &ex_dev->ex_phy[phy_id];
1885 &ex_dev->children, siblings) {
1913 struct expander_device *ex_root = &root->ex_dev;
1952 struct ex_phy *ex_phy = &dev->ex_dev.ex_phy[phy_id];
1968 list_for_each_entry(child, &dev->ex_dev.children, siblings) {
1997 struct expander_device *ex = &dev->ex_dev;
2077 struct expander_device *ex = &dev->ex_dev;
2120 struct expander_device *ex = &dev->ex_dev;