Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/libsas/
Dsas_expander.c216 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
220 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
244 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
246 memcpy(phy->attached_sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
253 phy->phy->identify.sas_address = SAS_ADDR(phy->attached_sas_addr); in sas_set_ex_phy()
308 SAS_ADDR(phy->attached_sas_addr) != SAS_ADDR(sas_addr)) in sas_set_ex_phy()
324 SAS_ADDR(phy->attached_sas_addr), type); in sas_set_ex_phy()
365 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
616 if (SAS_ADDR(phy->attached_sas_addr) == SAS_ADDR(sas_addr)) in sas_ex_disable_port()
741 if (SAS_ADDR(phy->attached_sas_addr) == in sas_ex_get_linkrate()
[all …]
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()
87 memcpy(port->attached_sas_addr, phy->attached_sas_addr, in sas_form_port_add_phy()
182 SAS_ADDR(port->attached_sas_addr)); in sas_form_port()
251 memset(port->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
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()
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()
Dsas_init.c371 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_prep_resume_ha()
/linux-6.1.9/drivers/scsi/aic94xx/
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()
Daic94xx_hwi.h172 u8 attached_sas_addr[SAS_ADDR_SIZE]; member
Daic94xx_hwi.c106 memset(asd_port->attached_sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
/linux-6.1.9/include/scsi/
Dlibsas.h107 u8 attached_sas_addr[SAS_ADDR_SIZE]; member
263 u8 attached_sas_addr[SAS_ADDR_SIZE]; member
332 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */ member
Dsas.h425 u8 attached_sas_addr[8]; member
646 u8 attached_sas_addr[8]; member
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c2679 memcpy(sas_phy->attached_sas_addr, &id->sas_addr, SAS_ADDR_SIZE); in phy_up_v2_hw()
3196 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in sata_int_v2_hw() local
3257 attached_sas_addr[0] = 0x50; in sata_int_v2_hw()
3258 attached_sas_addr[6] = hisi_hba->shost->host_no; in sata_int_v2_hw()
3259 attached_sas_addr[7] = phy_no; in sata_int_v2_hw()
3260 memcpy(sas_phy->attached_sas_addr, attached_sas_addr, SAS_ADDR_SIZE); in sata_int_v2_hw()
Dhisi_sas_v3_hw.c1512 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw() local
1529 attached_sas_addr[0] = 0x50; in phy_up_v3_hw()
1530 attached_sas_addr[6] = shost->host_no; in phy_up_v3_hw()
1531 attached_sas_addr[7] = phy_no; in phy_up_v3_hw()
1532 memcpy(sas_phy->attached_sas_addr, in phy_up_v3_hw()
1533 attached_sas_addr, in phy_up_v3_hw()
1553 memcpy(sas_phy->attached_sas_addr, in phy_up_v3_hw()
Dhisi_sas_v1_hw.c1362 memcpy(sas_phy->attached_sas_addr, in int_phyup_v1_hw()
Dhisi_sas_main.c800 if (SAS_ADDR(phy->attached_sas_addr) == in hisi_sas_dev_found()
/linux-6.1.9/drivers/scsi/isci/
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-6.1.9/drivers/scsi/mvsas/
Dmv_sas.c1055 memcpy(sas_phy->attached_sas_addr, in mvs_update_phyinfo()
1197 if (SAS_ADDR(phy->attached_sas_addr) == in mvs_dev_found_notify()
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_sas.c652 if (SAS_ADDR(phy->attached_sas_addr) in pm8001_dev_found_notify()
Dpm8001_hwi.c3321 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sas_phy_up()
3368 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sata_phy_up()
Dpm80xx_hwi.c3321 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sas_phy_up()
3372 pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr); in hw_event_sata_phy_up()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5947 u64 attached_sas_addr; in _scsih_update_vphys_after_reset() local
6022 &attached_sas_addr) != 0) { in _scsih_update_vphys_after_reset()
6052 if (vphy->sas_address != attached_sas_addr) in _scsih_update_vphys_after_reset()
6097 ioc, attached_sas_addr, port); in _scsih_update_vphys_after_reset()
6146 u64 attached_sas_addr; in _scsih_get_port_table_after_reset() local
6172 ioc, attached_handle, &attached_sas_addr) != 0) { in _scsih_get_port_table_after_reset()
6181 port_table[j].sas_address == attached_sas_addr) { in _scsih_get_port_table_after_reset()
6194 port_table[port_count].sas_address = attached_sas_addr; in _scsih_get_port_table_after_reset()
/linux-6.1.9/Documentation/scsi/
Dlibsas.rst92 attached_sas_addr