Lines Matching refs:physdev
3533 struct ReportExtendedLUNdata *physdev; in hpsa_get_sas_address_from_report_physical() local
3538 physdev = kzalloc(sizeof(*physdev), GFP_KERNEL); in hpsa_get_sas_address_from_report_physical()
3539 if (!physdev) in hpsa_get_sas_address_from_report_physical()
3542 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_get_sas_address_from_report_physical()
3544 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3547 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3550 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()
3551 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]); in hpsa_get_sas_address_from_report_physical()
3555 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3588 struct ReportExtendedLUNdata *physdev) in hpsa_ext_ctrl_present() argument
3596 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1; in hpsa_ext_ctrl_present()
3599 if (physdev->LUN[i].device_type == in hpsa_ext_ctrl_present()
3601 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()
4110 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
4113 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_gather_lun_info()
4117 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()