Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c71 struct _sas_device *sas_device);
470 struct _sas_device *sas_device; in _scsih_determine_boot_device() local
499 sas_device = device; in _scsih_determine_boot_device()
500 sas_address = sas_device->sas_address; in _scsih_determine_boot_device()
501 device_name = sas_device->device_name; in _scsih_determine_boot_device()
502 enclosure_logical_id = sas_device->enclosure_logical_id; in _scsih_determine_boot_device()
503 slot = sas_device->slot; in _scsih_determine_boot_device()
621 struct _sas_device *sas_device; in __mpt3sas_get_sdev_by_addr() local
625 list_for_each_entry(sas_device, &ioc->sas_device_list, list) in __mpt3sas_get_sdev_by_addr()
626 if (sas_device->sas_address == sas_address) in __mpt3sas_get_sdev_by_addr()
[all …]
Dmpt3sas_transport.c612 struct _sas_device *sas_device = NULL; in mpt3sas_transport_port_add() local
701 sas_device = mpt3sas_get_sdev_by_addr(ioc, in mpt3sas_transport_port_add()
703 if (!sas_device) { in mpt3sas_transport_port_add()
709 sas_device->pend_sas_rphy_add = 1; in mpt3sas_transport_port_add()
718 sas_device->pend_sas_rphy_add = 0; in mpt3sas_transport_port_add()
719 sas_device_put(sas_device); in mpt3sas_transport_port_add()
1263 struct _sas_device *sas_device; in _transport_get_enclosure_identifier() local
1268 sas_device = __mpt3sas_get_sdev_by_addr(ioc, in _transport_get_enclosure_identifier()
1270 if (sas_device) { in _transport_get_enclosure_identifier()
1271 *identifier = sas_device->enclosure_logical_id; in _transport_get_enclosure_identifier()
[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()
1350 struct _sas_device *sas_device; in _ctl_btdh_search_sas_device() local
[all …]
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptsas.c621 struct mptsas_devinfo sas_device; in mptsas_add_device_component_by_fw() local
625 rc = mptsas_sas_device_pg0(ioc, &sas_device, in mptsas_add_device_component_by_fw()
636 sas_device.handle_enclosure); in mptsas_add_device_component_by_fw()
638 mptsas_add_device_component(ioc, sas_device.channel, in mptsas_add_device_component_by_fw()
639 sas_device.id, sas_device.sas_address, sas_device.device_info, in mptsas_add_device_component_by_fw()
640 sas_device.slot, enclosure_info.enclosure_logical_id); in mptsas_add_device_component_by_fw()
1577 struct mptsas_devinfo *sas_device) in mptsas_refreshing_device_handles() argument
1584 sas_device->sas_address); in mptsas_refreshing_device_handles()
1593 sas_device->sas_address) in mptsas_refreshing_device_handles()
1595 port_info->phy_info[i].attached.channel = sas_device->channel; in mptsas_refreshing_device_handles()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_sas.c605 pm8001_dev->sas_device = NULL; in pm8001_free_dev()
637 pm8001_device->sas_device = dev; in pm8001_dev_found_notify()
1215 pm8001_dev->sas_device, 0, tag); in pm8001_abort_task()
1284 pm8001_dev, pm8001_dev->sas_device, 1, tag); in pm8001_abort_task()
1301 pm8001_dev, pm8001_dev->sas_device, 0, tag); in pm8001_abort_task()
1307 pm8001_dev->sas_device, 0, tag); in pm8001_abort_task()
Dpm8001_hwi.c1620 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1658 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1662 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1666 dev = pm8001_dev->sas_device; in pm8001_work_fn()
1670 dev = pm8001_dev->sas_device; in pm8001_work_fn()
4387 struct domain_device *dev = pm8001_dev->sas_device; in pm8001_chip_reg_dev_req()
4414 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm8001_chip_reg_dev_req()
4415 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm8001_chip_reg_dev_req()
4417 cpu_to_le32(((pm8001_dev->sas_device->port->id) & 0x0F) | in pm8001_chip_reg_dev_req()
4424 memcpy(payload.sas_addr, pm8001_dev->sas_device->sas_addr, in pm8001_chip_reg_dev_req()
Dpm8001_sas.h261 struct domain_device *sas_device; member
Dpm80xx_hwi.c4745 struct domain_device *dev = pm8001_dev->sas_device; in pm80xx_chip_reg_dev_req()
4775 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm80xx_chip_reg_dev_req()
4776 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm80xx_chip_reg_dev_req()
4779 cpu_to_le32(((pm8001_dev->sas_device->port->id) & 0xFF) | in pm80xx_chip_reg_dev_req()
4788 memcpy(payload.sas_addr, pm8001_dev->sas_device->sas_addr, in pm80xx_chip_reg_dev_req()
/kernel/linux/linux-5.10/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.c1193 mvi_device->sas_device = dev; in mvs_dev_found_notify()
1249 mvi_dev->sas_device = NULL; in mvs_dev_gone_notify()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c685 sas_dev->sas_device = device; in hisi_sas_alloc_dev()
1042 device = sas_dev->sas_device; in hisi_sas_release_tasks()
1087 sas_dev->sas_device = NULL; in hisi_sas_dev_gone()
1384 struct domain_device *device = sas_dev->sas_device; in hisi_sas_refresh_port_id()
1455 device = sas_dev->sas_device; in hisi_sas_reset_init_all_devices()
1506 struct domain_device *device = sas_dev->sas_device; in hisi_sas_terminate_stp_reject()
1891 struct domain_device *device = sas_dev->sas_device; in hisi_sas_clear_nexus_ha()
Dhisi_sas.h203 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.c765 struct domain_device *device = sas_dev->sas_device; in setup_itct_v3_hw()