Home
last modified time | relevance | path

Searched refs:sas_device (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c71 struct _sas_device *sas_device);
566 struct _sas_device *sas_device; in _scsih_determine_boot_device() local
595 sas_device = device; in _scsih_determine_boot_device()
596 sas_address = sas_device->sas_address; in _scsih_determine_boot_device()
597 device_name = sas_device->device_name; in _scsih_determine_boot_device()
598 enclosure_logical_id = sas_device->enclosure_logical_id; in _scsih_determine_boot_device()
599 slot = sas_device->slot; in _scsih_determine_boot_device()
729 struct _sas_device *sas_device; in __mpt3sas_get_sdev_by_rphy() local
733 list_for_each_entry(sas_device, &ioc->sas_device_list, list) { in __mpt3sas_get_sdev_by_rphy()
734 if (sas_device->rphy != rphy) in __mpt3sas_get_sdev_by_rphy()
[all …]
Dmpt3sas_transport.c114 struct _sas_device *sas_device; in _transport_get_port_id_by_rphy() local
134 sas_device = __mpt3sas_get_sdev_by_rphy(ioc, rphy); in _transport_get_port_id_by_rphy()
135 if (sas_device) { in _transport_get_port_id_by_rphy()
136 port_id = sas_device->port->port_id; in _transport_get_port_id_by_rphy()
137 sas_device_put(sas_device); in _transport_get_port_id_by_rphy()
691 struct _sas_device *sas_device = NULL; in mpt3sas_transport_port_add() local
771 sas_device = mpt3sas_get_sdev_by_addr(ioc, in mpt3sas_transport_port_add()
774 if (!sas_device) { in mpt3sas_transport_port_add()
779 sas_device->pend_sas_rphy_add = 1; in mpt3sas_transport_port_add()
810 sas_device->rphy = rphy; in mpt3sas_transport_port_add()
[all …]
Dmpt3sas_ctl.c209 struct _sas_device *sas_device = NULL; in _ctl_display_some_debug() local
212 sas_device = mpt3sas_get_sdev_by_handle(ioc, in _ctl_display_some_debug()
214 if (sas_device) { in _ctl_display_some_debug()
216 (u64)sas_device->sas_address, in _ctl_display_some_debug()
217 sas_device->phy); in _ctl_display_some_debug()
219 (u64)sas_device->enclosure_logical_id, in _ctl_display_some_debug()
220 sas_device->slot); in _ctl_display_some_debug()
221 sas_device_put(sas_device); in _ctl_display_some_debug()
223 if (!sas_device) { in _ctl_display_some_debug()
1364 struct _sas_device *sas_device; in _ctl_btdh_search_sas_device() local
[all …]
/linux-6.6.21/drivers/message/fusion/
Dmptsas.c650 struct mptsas_devinfo sas_device; in mptsas_add_device_component_by_fw() local
654 rc = mptsas_sas_device_pg0(ioc, &sas_device, in mptsas_add_device_component_by_fw()
665 sas_device.handle_enclosure); in mptsas_add_device_component_by_fw()
667 mptsas_add_device_component(ioc, sas_device.channel, in mptsas_add_device_component_by_fw()
668 sas_device.id, sas_device.sas_address, sas_device.device_info, in mptsas_add_device_component_by_fw()
669 sas_device.slot, enclosure_info.enclosure_logical_id); in mptsas_add_device_component_by_fw()
1605 struct mptsas_devinfo *sas_device) in mptsas_refreshing_device_handles() argument
1612 sas_device->sas_address); in mptsas_refreshing_device_handles()
1621 sas_device->sas_address) in mptsas_refreshing_device_handles()
1623 port_info->phy_info[i].attached.channel = sas_device->channel; in mptsas_refreshing_device_handles()
[all …]
/linux-6.6.21/Documentation/scsi/
Dsmartpqi.rst53 /sys/class/sas_device/end_device-X:X/sas_address
54 /sys/class/sas_device/end_device-X:X/enclosure_identifier
55 /sys/class/sas_device/end_device-X:X/scsi_target_id
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_main.c676 sas_dev->sas_device = device; in hisi_sas_alloc_dev()
1122 device = sas_dev->sas_device; in hisi_sas_release_tasks()
1145 struct domain_device *device = sas_dev->sas_device; in hisi_sas_internal_task_abort_dev()
1189 sas_dev->sas_device = NULL; in hisi_sas_dev_gone()
1350 struct domain_device *device = sas_dev->sas_device; in hisi_sas_refresh_port_id()
1424 device = sas_dev->sas_device; in hisi_sas_reset_init_all_devices()
1469 struct domain_device *device = sas_dev->sas_device; in hisi_sas_terminate_stp_reject()
1917 struct domain_device *device = sas_dev->sas_device; in hisi_sas_clear_nexus_ha()
Dhisi_sas.h223 struct domain_device *sas_device; member
Dhisi_sas_v2_hw.c867 sas_dev->sas_device = device; in alloc_dev_quirk_v2_hw()
924 struct domain_device *device = sas_dev->sas_device; in setup_itct_v2_hw()
1012 if (dev_is_sata(sas_dev->sas_device)) in free_device_v2_hw()
Dhisi_sas_v1_hw.c493 struct domain_device *device = sas_dev->sas_device; in setup_itct_v1_hw()
Dhisi_sas_v3_hw.c823 struct domain_device *device = sas_dev->sas_device; in setup_itct_v3_hw()
2464 struct domain_device *device = sas_dev->sas_device; in complete_v3_hw()
/linux-6.6.21/drivers/scsi/pm8001/
Dpm8001_hwi.c1629 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1667 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1671 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1675 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1679 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1731 dev = pm8001_dev->sas_device; in pm8001_work_fn()
4225 struct domain_device *dev = pm8001_dev->sas_device; in pm8001_chip_reg_dev_req()
4249 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm8001_chip_reg_dev_req()
4250 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm8001_chip_reg_dev_req()
4259 memcpy(payload.sas_addr, pm8001_dev->sas_device->sas_addr, in pm8001_chip_reg_dev_req()
Dpm8001_sas.c619 pm8001_dev->sas_device = NULL; in pm8001_free_dev()
651 pm8001_device->sas_device = dev; in pm8001_dev_found_notify()
Dpm8001_sas.h265 struct domain_device *sas_device; member
Dpm80xx_hwi.c4718 struct domain_device *dev = pm8001_dev->sas_device; in pm80xx_chip_reg_dev_req()
4745 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm80xx_chip_reg_dev_req()
4746 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm80xx_chip_reg_dev_req()
4758 memcpy(payload.sas_addr, pm8001_dev->sas_device->sas_addr, in pm80xx_chip_reg_dev_req()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_sas.h230 struct domain_device *sas_device; member
Dmv_94xx.c728 mvs_release_task(mvi, device->sas_device); in mvs_94xx_non_spec_ncq_error()
733 mvs_release_task(mvi, device->sas_device); in mvs_94xx_non_spec_ncq_error()
Dmv_sas.c1187 mvi_device->sas_device = dev; in mvs_dev_found_notify()
1236 mvi_dev->sas_device = NULL; in mvs_dev_gone_notify()