Home
last modified time | relevance | path

Searched refs:sas_address (Results 1 – 24 of 24) sorted by relevance

/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c74 u64 sas_address) in _transport_sas_node_find_by_sas_address() argument
76 if (ioc->sas_hba.sas_address == sas_address) in _transport_sas_node_find_by_sas_address()
80 sas_address); in _transport_sas_node_find_by_sas_address()
172 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
291 u64 sas_address, struct sas_expander_device *edev) in _transport_expander_report_manufacture() argument
359 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
368 (u64)sas_address)); in _transport_expander_report_manufacture()
441 u64 sas_address = mpt3sas_port->remote_identify.sas_address; in _transport_delete_port() local
447 (unsigned long long) sas_address); in _transport_delete_port()
451 mpt3sas_device_remove_by_sas_address(ioc, sas_address); in _transport_delete_port()
[all …]
Dmpt3sas_scsih.c322 _scsih_srch_boot_sas_address(u64 sas_address, in _scsih_srch_boot_sas_address() argument
325 return (sas_address == le64_to_cpu(boot_device->SASAddress)) ? 1 : 0; in _scsih_srch_boot_sas_address()
371 _scsih_is_boot_device(u64 sas_address, u64 device_name, in _scsih_is_boot_device() argument
379 if (!sas_address) in _scsih_is_boot_device()
382 sas_address, &boot_device->SasWwid); in _scsih_is_boot_device()
414 u64 *sas_address) in _scsih_get_sas_address() argument
420 *sas_address = 0; in _scsih_get_sas_address()
437 *sas_address = ioc->sas_hba.sas_address; in _scsih_get_sas_address()
439 *sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _scsih_get_sas_address()
473 u64 sas_address; in _scsih_determine_boot_device() local
[all …]
Dmpt3sas_base.h428 u64 sas_address; member
541 u64 sas_address; member
784 u64 sas_address; member
1624 void mpt3sas_expander_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address);
1626 u64 sas_address);
1633 struct MPT3SAS_ADAPTER *ioc, u64 sas_address);
1635 struct MPT3SAS_ADAPTER *ioc, u64 sas_address);
1637 struct MPT3SAS_ADAPTER *ioc, u64 sas_address);
1764 u16 handle, u64 sas_address);
1765 void mpt3sas_transport_port_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address,
[all …]
Dmpt3sas_ctl.c216 (u64)sas_device->sas_address, in _ctl_display_some_debug()
3000 (unsigned long long)ioc->sas_hba.sas_address); in host_sas_address_show()
3837 (unsigned long long)sas_device_priv_data->sas_target->sas_address); in sas_address_show()
3839 static DEVICE_ATTR_RO(sas_address);
/drivers/message/fusion/
Dmptsas.c115 (MPT_ADAPTER *ioc, u64 sas_address);
126 (MPT_ADAPTER *ioc, u64 sas_address);
163 __le64 sas_address; in mptsas_print_phy_pg0() local
165 memcpy(&sas_address, &pg0->SASAddress, sizeof(__le64)); in mptsas_print_phy_pg0()
173 ioc->name, (unsigned long long)le64_to_cpu(sas_address))); in mptsas_print_phy_pg0()
206 __le64 sas_address; in mptsas_print_device_pg0() local
208 memcpy(&sas_address, &pg0->SASAddress, sizeof(__le64)); in mptsas_print_device_pg0()
221 ioc->name, (unsigned long long)le64_to_cpu(sas_address))); in mptsas_print_device_pg0()
406 mptsas_find_portinfo_by_sas_address(MPT_ADAPTER *ioc, u64 sas_address) in mptsas_find_portinfo_by_sas_address() argument
411 if (sas_address >= ioc->hba_port_sas_addr && in mptsas_find_portinfo_by_sas_address()
[all …]
Dmptsas.h81 u64 sas_address; member
97 u64 sas_address; member
140 u64 sas_address; /* WWN of this device, member
Dmptbase.c5878 __le64 sas_address; in mpt_raid_phys_disk_pg1() local
5926 memcpy(&sas_address, &buffer->Path[i].WWID, sizeof(__le64)); in mpt_raid_phys_disk_pg1()
5927 sas_address = le64_to_cpu(sas_address); in mpt_raid_phys_disk_pg1()
5928 memcpy(&phys_disk->Path[i].WWID, &sas_address, sizeof(__le64)); in mpt_raid_phys_disk_pg1()
5929 memcpy(&sas_address, in mpt_raid_phys_disk_pg1()
5931 sas_address = le64_to_cpu(sas_address); in mpt_raid_phys_disk_pg1()
5933 &sas_address, sizeof(__le64)); in mpt_raid_phys_disk_pg1()
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c66 identify->sas_address = pqi_sas_port->sas_address; in pqi_sas_port_add_phy()
94 identify->sas_address = pqi_sas_port->sas_address; in pqi_sas_port_add_rphy()
119 struct pqi_sas_node *pqi_sas_node, u64 sas_address, in pqi_alloc_sas_port() argument
142 pqi_sas_port->sas_address = sas_address; in pqi_alloc_sas_port()
230 ctrl_info->sas_address, NULL); in pqi_add_sas_host()
273 device->sas_address, device); in pqi_add_sas_device()
475 put_unaligned_be64(rphy->identify.sas_address, in pqi_build_csmi_smp_passthru_buffer()
Dsmartpqi.h937 u64 sas_address; member
1034 u64 sas_address; member
1160 u64 sas_address; member
Dsmartpqi_init.c1641 " %016llx", device->sas_address); in pqi_dev_info()
1702 existing_device->sas_address = new_device->sas_address; in pqi_scsi_update_device()
2132 device->sas_address = get_unaligned_be64(&device->wwid); in pqi_update_scsi_devices()
6439 u64 sas_address; in pqi_sas_address_show() local
6452 sas_address = device->sas_address; in pqi_sas_address_show()
6456 return snprintf(buffer, PAGE_SIZE, "0x%016llx\n", sas_address); in pqi_sas_address_show()
6547 static DEVICE_ATTR(sas_address, 0444, pqi_sas_address_show, NULL);
/drivers/scsi/isci/
Dport_config.c247 struct sci_sas_address sas_address; in sci_mpc_agent_validate_phy_configuration() local
253 sas_address.high = 0; in sci_mpc_agent_validate_phy_configuration()
254 sas_address.low = 0; in sci_mpc_agent_validate_phy_configuration()
273 &sas_address); in sci_mpc_agent_validate_phy_configuration()
300 if (sci_sas_address_compare(sas_address, phy_assigned_address) != 0) { in sci_mpc_agent_validate_phy_configuration()
437 struct sci_sas_address sas_address; in sci_apc_agent_validate_phy_configuration() local
447 &sas_address); in sci_apc_agent_validate_phy_configuration()
454 if (sci_sas_address_compare(sas_address, phy_assigned_address) == 0) { in sci_apc_agent_validate_phy_configuration()
Dport.h135 struct sci_sas_address sas_address; member
267 struct sci_sas_address *sas_address);
271 struct sci_sas_address *sas_address);
Dphy.h444 struct sci_sas_address *sas_address);
448 struct sci_sas_address *sas_address);
Dport.c136 sci_port_get_sas_address(iport, &prop->local.sas_address); in sci_port_get_properties()
138 sci_port_get_attached_sas_address(iport, &prop->remote.sas_address); in sci_port_get_properties()
201 attached_sas_address = properties.remote.sas_address.high; in isci_port_link_up()
203 attached_sas_address |= properties.remote.sas_address.low; in isci_port_link_up()
827 struct sci_sas_address sas_address; in sci_port_update_viit_entry() local
829 sci_port_get_sas_address(iport, &sas_address); in sci_port_update_viit_entry()
831 writel(sas_address.high, in sci_port_update_viit_entry()
833 writel(sas_address.low, in sci_port_update_viit_entry()
Dprobe_roms.h316 } sas_address; member
Dphy.c150 writel(phy_oem->sas_address.high, &llr->source_sas_address_high); in sci_phy_link_layer_initialization()
151 writel(phy_oem->sas_address.low, &llr->source_sas_address_low); in sci_phy_link_layer_initialization()
1398 sci_sas_addr = oem->phys[index].sas_address.high; in isci_phy_init()
1400 sci_sas_addr |= oem->phys[index].sas_address.low; in isci_phy_init()
Dinit.c485 oem->phys[i].sas_address.low = 0x1 + ihost->id; in sci_oem_defaults()
486 oem->phys[i].sas_address.high = 0x5FCFFFFF; in sci_oem_defaults()
Dhost.c1663 if (oem->phys[i].sas_address.high == 0 && in sci_oem_parameters_validate()
1664 oem->phys[i].sas_address.low == 0) in sci_oem_parameters_validate()
/drivers/scsi/
Dhpsa.h46 u64 sas_address; member
72 u64 sas_address; member
171 u64 sas_address; member
Dscsi_transport_sas.c326 return rdev->rphy.identify.sas_address; in sas_get_address()
607 sas_phy_simple_attr(identify.sas_address, sas_address, "0x%016llx\n",
1224 sas_rphy_simple_attr(identify.sas_address, sas_address, "0x%016llx\n",
1794 SETUP_PHY_ATTRIBUTE(sas_address); in sas_attach_transport()
Dhpsa.c763 u64 sas_address; in sas_address_show() local
773 sas_address = hdev->sas_address; in sas_address_show()
776 return snprintf(buf, PAGE_SIZE, "0x%016llx\n", sas_address); in sas_address_show()
916 static DEVICE_ATTR_RO(sas_address);
3579 h->sas_address = sa; in hpsa_get_sas_address()
3586 dev->sas_address = sa; in hpsa_get_sas_address()
9598 identify->sas_address = hpsa_sas_port->sas_address; in hpsa_sas_port_add_phy()
9627 identify->sas_address = hpsa_sas_port->sas_address; in hpsa_sas_port_add_rphy()
9636 u64 sas_address) in hpsa_alloc_sas_port() argument
9658 hpsa_sas_port->sas_address = sas_address; in hpsa_alloc_sas_port()
[all …]
/drivers/scsi/libsas/
Dsas_phy.c141 phy->phy->identify.sas_address = SAS_ADDR(sas_ha->sas_addr); in sas_register_phys()
Dsas_internal.h123 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy()
Dsas_expander.c270 phy->phy->identify.sas_address = SAS_ADDR(phy->attached_sas_addr); in sas_set_ex_phy()