Lines Matching refs:physdev
3518 struct ReportExtendedLUNdata *physdev; in hpsa_get_sas_address_from_report_physical() local
3523 physdev = kzalloc(sizeof(*physdev), GFP_KERNEL); in hpsa_get_sas_address_from_report_physical()
3524 if (!physdev) in hpsa_get_sas_address_from_report_physical()
3527 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_get_sas_address_from_report_physical()
3529 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3532 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3535 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()
3536 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]); in hpsa_get_sas_address_from_report_physical()
3540 kfree(physdev); in hpsa_get_sas_address_from_report_physical()
3573 struct ReportExtendedLUNdata *physdev) in hpsa_ext_ctrl_present() argument
3581 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1; in hpsa_ext_ctrl_present()
3584 if (physdev->LUN[i].device_type == in hpsa_ext_ctrl_present()
3586 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()
4089 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
4092 if (hpsa_scsi_do_report_phys_luns(h, physdev, sizeof(*physdev))) { in hpsa_gather_lun_info()
4096 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()