Lines Matching refs:physdev
3516 struct ReportExtendedLUNdata *physdev; in hpsa_get_sas_address_from_report_physical() local
3521 physdev = kzalloc(sizeof(*physdev), GFP_KERNEL); in hpsa_get_sas_address_from_report_physical()
3522 if (!physdev) in hpsa_get_sas_address_from_report_physical()
3525 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_get_sas_address_from_report_physical()
3527 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3530 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3533 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()
3534 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]); in hpsa_get_sas_address_from_report_physical()
3538 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3571 struct ReportExtendedLUNdata *physdev) in hpsa_ext_ctrl_present() argument
3579 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1; in hpsa_ext_ctrl_present()
3582 if (physdev->LUN[i].device_type == in hpsa_ext_ctrl_present()
3584 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()
4091 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
4094 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_gather_lun_info()
4098 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()