Searched refs:ex_dev (Results 1 – 12 of 12) sorted by relevance
44 mutex_lock(&dev->ex_dev.cmd_mutex); in smp_execute_task_sg()115 mutex_unlock(&dev->ex_dev.cmd_mutex); in smp_execute_task_sg()153 if (dev->ex_dev.t2t_supp) in sas_route_char()186 struct expander_device *ex = &dev->ex_dev; in sas_set_ex_phy()328 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata() argument330 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id]; in sas_ex_to_ata()375 struct expander_device *ex = &dev->ex_dev; in sas_ex_phy_discover()412 struct expander_device *ex = &dev->ex_dev; in sas_expander_discover()471 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count); in sas_ex_general()472 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes); in sas_ex_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()194 struct expander_device *ex_dev = &port_dev->ex_dev; in sas_form_port() local196 ex_dev->ex_change_count = -1; in sas_form_port()263 struct expander_device *ex_dev = &dev->ex_dev; in sas_deform_port() local265 ex_dev->ex_change_count = -1; in sas_deform_port()
83 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id);166 struct expander_device *ex = &dev->ex_dev; in sas_add_parent_port()
30 INIT_LIST_HEAD(&dev->ex_dev.children); in sas_init_dev()31 mutex_init(&dev->ex_dev.cmd_mutex); in sas_init_dev()300 kfree(dev->ex_dev.ex_phy); in sas_free_device()
295 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready() local297 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy->number]; in smp_ata_check_ready()299 res = sas_ex_phy_discover(ex_dev, phy->number); in smp_ata_check_ready()
526 dev_t ex_dev = exp_sb(exp)->s_dev; in fh_compose() local529 MAJOR(ex_dev), MINOR(ex_dev), in fh_compose()564 ex_dev, in fh_compose()
649 for (phy_id = 0; phy_id < parent_dev->ex_dev.num_phys; in pm8001_dev_found_notify()651 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in pm8001_dev_found_notify()658 if (phy_id == parent_dev->ex_dev.num_phys) { in pm8001_dev_found_notify()
4378 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm8001_chip_reg_dev_req()
4869 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm80xx_chip_reg_dev_req()
195 struct expander_device ex_dev; member
1193 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify()1196 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in mvs_dev_found_notify()
795 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found()799 phy = &parent_dev->ex_dev.ex_phy[phy_no]; in hisi_sas_dev_found()