Home
last modified time | relevance | path

Searched refs:attached_sas_addr (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/scsi/libsas/
H A Dsas_expander.c238 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
242 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
265 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
267 memcpy(phy->attached_sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
274 phy->phy->identify.sas_address = SAS_ADDR(phy->attached_sas_addr); in sas_set_ex_phy()
329 SAS_ADDR(phy->attached_sas_addr) != SAS_ADDR(sas_addr)) in sas_set_ex_phy()
345 SAS_ADDR(phy->attached_sas_addr), type); in sas_set_ex_phy()
386 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
637 if (SAS_ADDR(phy->attached_sas_addr) == SAS_ADDR(sas_addr)) in sas_ex_disable_port()
828 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
[all …]
H A Dsas_port.c19 if (memcmp(port->attached_sas_addr, phy->attached_sas_addr, in phy_is_wideport_member()
85 if (*(u64 *)port->attached_sas_addr == 0) { in sas_form_port_add_phy()
86 memcpy(port->attached_sas_addr, phy->attached_sas_addr, in sas_form_port_add_phy()
181 SAS_ADDR(port->attached_sas_addr)); in sas_form_port()
250 memset(port->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
H A Dsas_internal.h129 return SAS_ADDR(dev->sas_addr) == SAS_ADDR(phy->attached_sas_addr); in sas_phy_match_dev_addr()
135 return SAS_ADDR(port->sas_addr) == SAS_ADDR(phy->attached_sas_addr); in sas_phy_match_port_addr()
140 return SAS_ADDR(p1->attached_sas_addr) == SAS_ADDR(p2->attached_sas_addr); in sas_phy_addr_match()
H A Dsas_host_smp.c35 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover()
162 memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_report_phy_sata()
H A Dsas_discover.c96 SAS_ADDR(port->attached_sas_addr)); in sas_get_port_device()
134 memcpy(dev->sas_addr, port->attached_sas_addr, SAS_ADDR_SIZE); in sas_get_port_device()
H A Dsas_init.c369 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_prep_resume_ha()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_scb.c171 memcmp(port->attached_sas_addr, in asd_form_port()
172 sas_phy->attached_sas_addr, in asd_form_port()
189 memcpy(port->attached_sas_addr, in asd_form_port()
190 sas_phy->attached_sas_addr, in asd_form_port()
233 asd_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in asd_bytes_dmaed_tasklet()
H A Daic94xx_hwi.h172 u8 attached_sas_addr[SAS_ADDR_SIZE]; member
H A Daic94xx_hwi.c104 memset(asd_port->attached_sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
/linux/include/scsi/
H A Dsas.h425 u8 attached_sas_addr[8]; member
646 u8 attached_sas_addr[8]; member
/linux/Documentation/translations/zh_CN/scsi/
H A Dlibsas.rst91 attached_sas_addr
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1611 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw() local
1628 attached_sas_addr[0] = 0x50; in phy_up_v3_hw()
1629 attached_sas_addr[HOST_NO_OFF] = shost->host_no; in phy_up_v3_hw()
1630 attached_sas_addr[PHY_NO_OFF] = phy_no; in phy_up_v3_hw()
1631 memcpy(sas_phy->attached_sas_addr, in phy_up_v3_hw()
1632 attached_sas_addr, in phy_up_v3_hw()
1652 memcpy(sas_phy->attached_sas_addr, in phy_up_v3_hw()
H A Dhisi_sas_v1_hw.c1361 memcpy(sas_phy->attached_sas_addr, in int_phyup_v1_hw()
/linux/drivers/scsi/isci/
H A Dport.c206 memcpy(&iphy->sas_phy.attached_sas_addr, in isci_port_link_up()
213 memcpy(iphy->sas_phy.attached_sas_addr, in isci_port_link_up()
/linux/Documentation/scsi/
H A Dlibsas.rst92 attached_sas_addr
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c6257 u64 attached_sas_addr; in _scsih_update_vphys_after_reset() local
6331 &attached_sas_addr) != 0) { in _scsih_update_vphys_after_reset()
6361 if (vphy->sas_address != attached_sas_addr) in _scsih_update_vphys_after_reset()
6405 ioc, attached_sas_addr, port); in _scsih_update_vphys_after_reset()
6454 u64 attached_sas_addr; in _scsih_get_port_table_after_reset() local
6479 ioc, attached_handle, &attached_sas_addr) != 0) { in _scsih_get_port_table_after_reset()
6488 port_table[j].sas_address == attached_sas_addr) { in _scsih_get_port_table_after_reset()
6501 port_table[port_count].sas_address = attached_sas_addr; in _scsih_get_port_table_after_reset()
/linux/drivers/scsi/mvsas/
H A Dmv_sas.c1042 memcpy(sas_phy->attached_sas_addr, in mvs_update_phyinfo()
/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3246 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sas_phy_up()
3297 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sata_phy_up()
H A Dpm8001_hwi.c3169 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sas_phy_up()
3216 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sata_phy_up()