Lines Matching refs:physdev
3528 struct ReportExtendedLUNdata *physdev; in hpsa_get_sas_address_from_report_physical() local
3533 physdev = kzalloc_obj(*physdev); in hpsa_get_sas_address_from_report_physical()
3534 if (!physdev) in hpsa_get_sas_address_from_report_physical()
3537 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_get_sas_address_from_report_physical()
3539 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3542 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3545 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()
3546 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]); in hpsa_get_sas_address_from_report_physical()
3550 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3583 struct ReportExtendedLUNdata *physdev) in hpsa_ext_ctrl_present() argument
3591 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1; in hpsa_ext_ctrl_present()
3594 if (physdev->LUN[i].device_type == in hpsa_ext_ctrl_present()
3596 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()
4102 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
4105 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_gather_lun_info()
4109 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()