Home
last modified time | relevance | path

Searched refs:ex_dev (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/scsi/libsas/
H A Dsas_expander.c44 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()
327 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata() argument
329 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id]; in sas_ex_to_ata()
374 struct expander_device *ex = &dev->ex_dev; in sas_ex_phy_discover()
411 struct expander_device *ex = &dev->ex_dev; in sas_expander_discover()
470 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count); in sas_ex_general()
471 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes); in sas_ex_general()
[all …]
H A Dsas_port.c58 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()
193 struct expander_device *ex_dev = &port_dev->ex_dev; in sas_form_port() local
195 ex_dev->ex_change_count = -1; in sas_form_port()
261 struct expander_device *ex_dev = &dev->ex_dev; in sas_deform_port() local
263 ex_dev->ex_change_count = -1; in sas_deform_port()
H A Dsas_internal.h81 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id);
145 struct ex_phy *ex_phy = &parent->ex_dev.ex_phy[phy->number]; in sas_fail_probe()
196 struct expander_device *ex = &dev->ex_dev; in sas_add_parent_port()
H A Dsas_ata.c305 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready_type() local
310 res = sas_get_phy_attached_dev(ex_dev, phy->number, sas_addr, &type); in smp_ata_check_ready_type()
331 struct domain_device *ex_dev = dev->parent; in smp_ata_check_ready() local
333 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy->number]; in smp_ata_check_ready()
335 res = sas_ex_phy_discover(ex_dev, phy->number); in smp_ata_check_ready()
H A Dsas_discover.c30 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()
/openbmc/linux/fs/nfsd/
H A Dnfsfh.c530 dev_t ex_dev = exp_sb(exp)->s_dev; in fh_compose() local
533 MAJOR(ex_dev), MINOR(ex_dev), in fh_compose()
568 ex_dev, in fh_compose()
/openbmc/linux/include/scsi/
H A Dlibsas.h185 struct expander_device ex_dev; member
738 int sas_find_attached_phy_id(struct expander_device *ex_dev,
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c660 phy_id = sas_find_attached_phy_id(&parent_dev->ex_dev, dev); in pm8001_dev_found_notify()
H A Dpm80xx_hwi.c4739 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm80xx_chip_reg_dev_req()
H A Dpm8001_hwi.c4245 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm8001_chip_reg_dev_req()
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_sas.c1191 phy_id = sas_find_attached_phy_id(&parent_dev->ex_dev, dev); in mvs_dev_found_notify()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c850 phy_no = sas_find_attached_phy_id(&parent_dev->ex_dev, device); in hisi_sas_dev_found()