Lines Matching refs:sas_device_pg0
513 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_get_sas_address() local
519 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address()
532 (!(le32_to_cpu(sas_device_pg0.DeviceInfo) & in _scsih_get_sas_address()
536 *sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_get_sas_address()
2175 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_display_sata_capabilities() local
2180 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities()
2195 flags = le16_to_cpu(sas_device_pg0.Flags); in _scsih_display_sata_capabilities()
2196 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_display_sata_capabilities()
2421 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_get_volume_capabilities() local
2463 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_get_volume_capabilities()
2466 le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_get_volume_capabilities()
6708 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_host_add() local
6847 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_sas_host_add()
6854 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_sas_host_add()
6855 ioc->sas_hba.sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_sas_host_add()
7190 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_check_device() local
7201 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_check_device()
7212 if (phy_number != sas_device_pg0.PhyNum) in _scsih_check_device()
7216 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_check_device()
7221 sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_check_device()
7222 port = mpt3sas_get_port_by_id(ioc, sas_device_pg0.PhysicalPort, 0); in _scsih_check_device()
7239 if (le16_to_cpu(sas_device_pg0.Flags) & in _scsih_check_device()
7242 sas_device_pg0.EnclosureLevel; in _scsih_check_device()
7244 sas_device_pg0.ConnectorName, 4); in _scsih_check_device()
7252 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_check_device()
7269 if (!(le16_to_cpu(sas_device_pg0.Flags) & in _scsih_check_device()
7278 sas_device_pg0.AccessStatus)) in _scsih_check_device()
7310 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_add_device() local
7318 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_add_device()
7334 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_add_device()
7338 sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_add_device()
7341 if (!(le16_to_cpu(sas_device_pg0.Flags) & in _scsih_add_device()
7350 sas_device_pg0.AccessStatus)) in _scsih_add_device()
7353 port_id = sas_device_pg0.PhysicalPort; in _scsih_add_device()
7362 if (sas_device_pg0.EnclosureHandle) { in _scsih_add_device()
7365 le16_to_cpu(sas_device_pg0.EnclosureHandle)); in _scsih_add_device()
7368 sas_device_pg0.EnclosureHandle); in _scsih_add_device()
7382 le16_to_cpu(sas_device_pg0.ParentDevHandle), in _scsih_add_device()
7387 le16_to_cpu(sas_device_pg0.EnclosureHandle); in _scsih_add_device()
7390 le16_to_cpu(sas_device_pg0.Slot); in _scsih_add_device()
7393 sas_device->phy = sas_device_pg0.PhyNum; in _scsih_add_device()
7394 sas_device->fast_path = (le16_to_cpu(sas_device_pg0.Flags) & in _scsih_add_device()
7403 if (le16_to_cpu(sas_device_pg0.Flags) in _scsih_add_device()
7406 sas_device_pg0.EnclosureLevel; in _scsih_add_device()
7408 sas_device_pg0.ConnectorName, 4); in _scsih_add_device()
7428 sas_device->device_name = le64_to_cpu(sas_device_pg0.DeviceName); in _scsih_add_device()
7429 sas_device->port_type = sas_device_pg0.MaxPortConnections; in _scsih_add_device()
9215 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_pd_add() local
9229 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_sas_pd_add()
9244 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_sas_pd_add()
9247 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5, in _scsih_sas_pd_add()
9249 sas_device_pg0.PhysicalPort, 0)); in _scsih_sas_pd_add()
9498 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_sas_ir_physical_disk_event() local
9537 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_sas_ir_physical_disk_event()
9552 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_sas_ir_physical_disk_event()
9555 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5, in _scsih_sas_ir_physical_disk_event()
9557 sas_device_pg0.PhysicalPort, 0)); in _scsih_sas_ir_physical_disk_event()
9711 Mpi2SasDevicePage0_t *sas_device_pg0) in _scsih_mark_responding_sas_device() argument
9719 ioc, sas_device_pg0->PhysicalPort, 0); in _scsih_mark_responding_sas_device()
9721 if (sas_device_pg0->EnclosureHandle) { in _scsih_mark_responding_sas_device()
9724 le16_to_cpu(sas_device_pg0->EnclosureHandle)); in _scsih_mark_responding_sas_device()
9727 sas_device_pg0->EnclosureHandle); in _scsih_mark_responding_sas_device()
9732 sas_device_pg0->SASAddress)) in _scsih_mark_responding_sas_device()
9734 if (sas_device->slot != le16_to_cpu(sas_device_pg0->Slot)) in _scsih_mark_responding_sas_device()
9749 le16_to_cpu(sas_device_pg0->DevHandle), in _scsih_mark_responding_sas_device()
9760 if (le16_to_cpu(sas_device_pg0->Flags) & in _scsih_mark_responding_sas_device()
9763 sas_device_pg0->EnclosureLevel; in _scsih_mark_responding_sas_device()
9765 &sas_device_pg0->ConnectorName[0], 4); in _scsih_mark_responding_sas_device()
9772 le16_to_cpu(sas_device_pg0->EnclosureHandle); in _scsih_mark_responding_sas_device()
9786 sas_device_pg0->DevHandle)) in _scsih_mark_responding_sas_device()
9791 sas_device_pg0->DevHandle); in _scsih_mark_responding_sas_device()
9794 le16_to_cpu(sas_device_pg0->DevHandle); in _scsih_mark_responding_sas_device()
9854 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_search_responding_sas_devices() local
9867 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, in _scsih_search_responding_sas_devices()
9873 handle = le16_to_cpu(sas_device_pg0.DevHandle); in _scsih_search_responding_sas_devices()
9874 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_search_responding_sas_devices()
9877 _scsih_mark_responding_sas_device(ioc, &sas_device_pg0); in _scsih_search_responding_sas_devices()
10378 Mpi2SasDevicePage0_t sas_device_pg0; in _scsih_scan_for_devices_after_reset() local
10471 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, in _scsih_scan_for_devices_after_reset()
10481 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_scan_for_devices_after_reset()
10486 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
10487 port_id = sas_device_pg0.PhysicalPort; in _scsih_scan_for_devices_after_reset()
10489 handle, sas_device_pg0.PhyNum, in _scsih_scan_for_devices_after_reset()
10504 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
10564 &sas_device_pg0, MPI2_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, in _scsih_scan_for_devices_after_reset()
10573 handle = le16_to_cpu(sas_device_pg0.DevHandle); in _scsih_scan_for_devices_after_reset()
10575 le32_to_cpu(sas_device_pg0.DeviceInfo)))) in _scsih_scan_for_devices_after_reset()
10577 port_id = sas_device_pg0.PhysicalPort; in _scsih_scan_for_devices_after_reset()
10579 le64_to_cpu(sas_device_pg0.SASAddress), in _scsih_scan_for_devices_after_reset()
10585 parent_handle = le16_to_cpu(sas_device_pg0.ParentDevHandle); in _scsih_scan_for_devices_after_reset()
10589 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()
10591 sas_device_pg0.PhyNum, MPI2_SAS_NEG_LINK_RATE_1_5, in _scsih_scan_for_devices_after_reset()
10604 (u64)le64_to_cpu(sas_device_pg0.SASAddress)); in _scsih_scan_for_devices_after_reset()