Lines Matching refs:sas_device_pg0
416 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_get_sas_address() local
422 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address()
435 (!(le32_to_cpu(sas_device_pg0.DeviceInfo) & in _scsih_get_sas_address()
439 *sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_get_sas_address()
1891 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_display_sata_capabilities() local
1896 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities()
1911 flags = le16_to_cpu(sas_device_pg0.Flags); in _scsih_display_sata_capabilities()
1912 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_display_sata_capabilities()
2137 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_get_volume_capabilities() local
2179 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_get_volume_capabilities()
2182 le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_get_volume_capabilities()
5508 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_host_add() local
5611 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_sas_host_add()
5618 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_sas_host_add()
5619 ioc->sas_hba.sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_sas_host_add()
5933 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_check_device() local
5943 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_check_device()
5954 if (phy_number != sas_device_pg0.PhyNum) in _scsih_check_device()
5958 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_check_device()
5963 sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_check_device()
5978 if (le16_to_cpu(sas_device_pg0.Flags) & in _scsih_check_device()
5981 sas_device_pg0.EnclosureLevel; in _scsih_check_device()
5983 sas_device_pg0.ConnectorName, 4); in _scsih_check_device()
5991 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_check_device()
6008 if (!(le16_to_cpu(sas_device_pg0.Flags) & in _scsih_check_device()
6017 sas_device_pg0.AccessStatus)) in _scsih_check_device()
6049 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_add_device() local
6056 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_add_device()
6072 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_add_device()
6076 sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_add_device()
6079 if (!(le16_to_cpu(sas_device_pg0.Flags) & in _scsih_add_device()
6088 sas_device_pg0.AccessStatus)) in _scsih_add_device()
6099 if (sas_device_pg0.EnclosureHandle) { in _scsih_add_device()
6102 le16_to_cpu(sas_device_pg0.EnclosureHandle)); in _scsih_add_device()
6105 sas_device_pg0.EnclosureHandle); in _scsih_add_device()
6119 le16_to_cpu(sas_device_pg0.ParentDevHandle), in _scsih_add_device()
6124 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_add_device()
6127 le16_to_cpu(sas_device_pg0.Slot); in _scsih_add_device()
6130 sas_device->phy = sas_device_pg0.PhyNum; in _scsih_add_device()
6131 sas_device->fast_path = (le16_to_cpu(sas_device_pg0.Flags) & in _scsih_add_device()
6134 if (le16_to_cpu(sas_device_pg0.Flags) in _scsih_add_device()
6137 sas_device_pg0.EnclosureLevel; in _scsih_add_device()
6139 sas_device_pg0.ConnectorName, 4); in _scsih_add_device()
6159 sas_device->device_name = le64_to_cpu(sas_device_pg0.DeviceName); in _scsih_add_device()
7926 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_pd_add() local
7940 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_sas_pd_add()
7955 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_sas_pd_add()
7958 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5); in _scsih_sas_pd_add()
8207 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_ir_physical_disk_event() local
8246 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_sas_ir_physical_disk_event()
8261 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_sas_ir_physical_disk_event()
8264 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5); in _scsih_sas_ir_physical_disk_event()
8382 Mpi2SasDevicePage0_t *sas_device_pg0) in _scsih_mark_responding_sas_device() argument
8390 if (sas_device_pg0->EnclosureHandle) { in _scsih_mark_responding_sas_device()
8393 le16_to_cpu(sas_device_pg0->EnclosureHandle)); in _scsih_mark_responding_sas_device()
8396 sas_device_pg0->EnclosureHandle); in _scsih_mark_responding_sas_device()
8401 sas_device_pg0->SASAddress)) && (sas_device->slot == in _scsih_mark_responding_sas_device()
8402 le16_to_cpu(sas_device_pg0->Slot))) { in _scsih_mark_responding_sas_device()
8414 le16_to_cpu(sas_device_pg0->DevHandle), in _scsih_mark_responding_sas_device()
8426 if (le16_to_cpu(sas_device_pg0->Flags) & in _scsih_mark_responding_sas_device()
8429 sas_device_pg0->EnclosureLevel; in _scsih_mark_responding_sas_device()
8431 &sas_device_pg0->ConnectorName[0], 4); in _scsih_mark_responding_sas_device()
8438 le16_to_cpu(sas_device_pg0->EnclosureHandle); in _scsih_mark_responding_sas_device()
8452 sas_device_pg0->DevHandle)) in _scsih_mark_responding_sas_device()
8457 sas_device_pg0->DevHandle); in _scsih_mark_responding_sas_device()
8460 le16_to_cpu(sas_device_pg0->DevHandle); in _scsih_mark_responding_sas_device()
8521 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_search_responding_sas_devices() local
8534 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, in _scsih_search_responding_sas_devices()
8540 handle = le16_to_cpu(sas_device_pg0.DevHandle); in _scsih_search_responding_sas_devices()
8541 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_search_responding_sas_devices()
8544 _scsih_mark_responding_sas_device(ioc, &sas_device_pg0); in _scsih_search_responding_sas_devices()
9015 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_scan_for_devices_after_reset() local
9096 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_scan_for_devices_after_reset()
9106 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_scan_for_devices_after_reset()
9111 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
9113 handle, sas_device_pg0.PhyNum, in _scsih_scan_for_devices_after_reset()
9127 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
9187 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, in _scsih_scan_for_devices_after_reset()
9196 handle = le16_to_cpu(sas_device_pg0.DevHandle); in _scsih_scan_for_devices_after_reset()
9198 le32_to_cpu(sas_device_pg0.DeviceInfo)))) in _scsih_scan_for_devices_after_reset()
9201 le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
9206 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_scan_for_devices_after_reset()
9210 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
9212 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5); in _scsih_scan_for_devices_after_reset()
9224 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()