Searched refs:ex_dev (Results 1 – 12 of 12) sorted by relevance
62 mutex_lock(&dev->ex_dev.cmd_mutex); in smp_execute_task_sg()133 mutex_unlock(&dev->ex_dev.cmd_mutex); in smp_execute_task_sg()170 if (dev->ex_dev.t2t_supp) in sas_route_char()203 struct expander_device *ex = &dev->ex_dev; in sas_set_ex_phy()345 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata() argument347 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id]; in sas_ex_to_ata()392 struct expander_device *ex = &dev->ex_dev; in sas_ex_phy_discover()429 struct expander_device *ex = &dev->ex_dev; in sas_expander_discover()454 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count); in ex_assign_report_general()455 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes); in ex_assign_report_general()[all …]
58 dev->ex_dev.ex_change_count = -1; in sas_resume_port()59 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port()60 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port()183 struct expander_device *ex_dev = &port_dev->ex_dev; in sas_form_port() local185 ex_dev->ex_change_count = -1; in sas_form_port()252 struct expander_device *ex_dev = &dev->ex_dev; in sas_deform_port() local254 ex_dev->ex_change_count = -1; in sas_deform_port()
86 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id);163 struct expander_device *ex = &dev->ex_dev; in sas_add_parent_port()
31 INIT_LIST_HEAD(&dev->ex_dev.children); in sas_init_dev()32 mutex_init(&dev->ex_dev.cmd_mutex); in sas_init_dev()301 kfree(dev->ex_dev.ex_phy); in sas_free_device()
308 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready() local310 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy->number]; in smp_ata_check_ready()312 res = sas_ex_phy_discover(ex_dev, phy->number); in smp_ata_check_ready()
548 dev_t ex_dev = exp_sb(exp)->s_dev; in fh_compose() local551 MAJOR(ex_dev), MINOR(ex_dev), in fh_compose()582 fhp->fh_handle.ofh_dev = old_encode_dev(ex_dev); in fh_compose()596 ex_dev, in fh_compose()
644 for (phy_id = 0; phy_id < parent_dev->ex_dev.num_phys; in pm8001_dev_found_notify()646 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in pm8001_dev_found_notify()653 if (phy_id == parent_dev->ex_dev.num_phys) { in pm8001_dev_found_notify()
4813 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm80xx_chip_reg_dev_req()
4415 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm8001_chip_reg_dev_req()
195 struct expander_device ex_dev; member
1196 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify()1199 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in mvs_dev_found_notify()
789 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found()793 phy = &parent_dev->ex_dev.ex_phy[phy_no]; in hisi_sas_dev_found()