Home
last modified time | relevance | path

Searched refs:wwid (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/drivers/scsi/cxlflash/
Dlunmgt.c31 static struct llun_info *create_local(struct scsi_device *sdev, u8 *wwid) in create_local() argument
47 memcpy(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); in create_local()
59 static struct glun_info *create_global(struct scsi_device *sdev, u8 *wwid) in create_global() argument
72 memcpy(gli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); in create_global()
84 static struct llun_info *lookup_local(struct cxlflash_cfg *cfg, u8 *wwid) in lookup_local() argument
89 if (!memcmp(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN)) in lookup_local()
101 static struct glun_info *lookup_global(u8 *wwid) in lookup_global() argument
106 if (!memcmp(gli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN)) in lookup_global()
132 static struct llun_info *find_and_create_lun(struct scsi_device *sdev, u8 *wwid) in find_and_create_lun() argument
139 if (unlikely(!wwid)) in find_and_create_lun()
[all …]
Dsuperpipe.h45 u8 wwid[16]; member
61 u8 wwid[16]; /* Keep a duplicate copy here? */ member
Dsislite.h207 u8 wwid[SISL_WWID_DATA_LEN]; member
Dmain.c3355 memcpy(lunprov->wwid, asa.wwid, sizeof(lunprov->wwid)); in cxlflash_lun_provision()
/Linux-v5.15/drivers/scsi/
Dmvumi.c1415 u64 wwid = 0; in mvumi_inquiry() local
1445 wwid = id + 1; in mvumi_inquiry()
1447 memcpy((void *)&wwid, in mvumi_inquiry()
1451 "inquiry device(0:%d:0) wwid(%llx)\n", id, wwid); in mvumi_inquiry()
1453 wwid = 0; in mvumi_inquiry()
1458 return wwid; in mvumi_inquiry()
1474 mv_dev->id, mv_dev->wwid); in mvumi_detach_devices()
1480 mv_dev->id, mv_dev->wwid); in mvumi_detach_devices()
1508 static int mvumi_match_devices(struct mvumi_hba *mhba, int id, u64 wwid) in mvumi_match_devices() argument
1513 if (mv_dev->wwid == wwid) { in mvumi_match_devices()
[all …]
Dhpsa_cmd.h269 u8 wwid[8]; member
804 u8 wwid[20]; member
Dipr.h350 __be32 wwid[2]; member
355 __be32 wwid[4]; member
1049 __be32 wwid[2]; member
1065 __be32 wwid[2]; member
Dmvumi.h469 u64 wwid; member
Dipr.c1602 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact()
1615 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd()
1616 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd()
2185 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2191 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2197 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2203 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2209 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2219 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2255 be32_to_cpu(cfg->wwid[0]), in ipr_log64_path_elem()
[all …]
Dscsi_sysfs.c1049 static DEVICE_ATTR(wwid, S_IRUGO, sdev_show_wwid, NULL);
/Linux-v5.15/include/uapi/scsi/
Dcxlflash_ioctl.h167 __u8 wwid[DK_CXLFLASH_MANAGE_LUN_WWID_LEN]; /* Page83 WWID, NAA-6 */ member
239 __u8 wwid[CXLFLASH_WWID_LEN];/* Page83 WWID, NAA-6 */ member
/Linux-v5.15/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c585 sas_address = raid_device->wwid; in _scsih_determine_boot_device()
591 sas_address = pcie_device->wwid; in _scsih_determine_boot_device()
1096 __mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in __mpt3sas_get_pdev_by_wwid() argument
1103 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1107 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1129 mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in mpt3sas_get_pdev_by_wwid() argument
1135 pcie_device = __mpt3sas_get_pdev_by_wwid(ioc, wwid); in mpt3sas_get_pdev_by_wwid()
1259 pcie_device->handle, (u64)pcie_device->wwid); in _scsih_pcie_device_remove()
1350 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_add()
1401 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_init_add()
[all …]
Dmpt3sas_base.h626 u64 wwid; member
715 u64 wwid; member
1912 u16 volume_handle, u64 *wwid);
Dmpt3sas_config.c2654 u64 *wwid) in mpt3sas_config_get_volume_wwid() argument
2659 *wwid = 0; in mpt3sas_config_get_volume_wwid()
2663 *wwid = le64_to_cpu(raid_vol_pg1.WWID); in mpt3sas_config_get_volume_wwid()
Dmpt3sas_ctl.c228 (unsigned long long)pcie_device->wwid, in _ctl_display_some_debug()
/Linux-v5.15/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c346 *identifier = get_unaligned_be64(&found_device->wwid); in pqi_sas_get_enclosure_identifier()
367 get_unaligned_be64(&device->wwid); in pqi_sas_get_enclosure_identifier()
383 *identifier = get_unaligned_be64(&device->wwid); in pqi_sas_get_enclosure_identifier()
Dsmartpqi.h942 __be64 wwid; member
1062 __be64 wwid; member
1472 u8 wwid[20]; member
Dsmartpqi_init.c1733 return dev1->wwid == dev2->wwid; in pqi_device_equal()
2123 device->wwid = phys_lun_ext_entry->wwid; in pqi_set_physical_device_wwid()
2125 device->wwid = cpu_to_be64(get_unaligned_be64(&device->page_83_identifier)); in pqi_set_physical_device_wwid()
2280 get_unaligned_be64(&phys_lun_ext_entry->wwid)); in pqi_update_scsi_devices()
2307 device->sas_address = get_unaligned_be64(&device->wwid); in pqi_update_scsi_devices()
6670 memcpy(unique_id + 8, &device->wwid, sizeof(device->wwid)); in pqi_unique_id_show()
/Linux-v5.15/include/uapi/linux/
Dedd.h145 __u64 wwid; member
/Linux-v5.15/drivers/scsi/mpi3mr/
Dmpi3mr.h451 u64 wwid; member
Dmpi3mr_os.c639 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
650 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
814 tgtdev->wwid = le64_to_cpu(dev_pg0->wwid); in mpi3mr_update_tgtdev()
/Linux-v5.15/drivers/firmware/
Dedd.c205 info->params.device_path.fibre.wwid, in edd_show_interface()
/Linux-v5.15/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h361 __le64 wwid; member
Dmpi30_cnfg.h1772 __le64 wwid; member
/Linux-v5.15/drivers/scsi/aacraid/
Daacraid.h360 u8 wwid[20]; member

12