Home
last modified time | relevance | path

Searched refs:SAS_ADDR_SIZE (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.12.1/include/scsi/
Dlibsas.h97 u8 attached_sas_addr[SAS_ADDR_SIZE];
179 u8 sas_addr[SAS_ADDR_SIZE];
227 u8 fanout_sas_addr[SAS_ADDR_SIZE];
228 u8 eeds_a[SAS_ADDR_SIZE];
229 u8 eeds_b[SAS_ADDR_SIZE];
251 u8 sas_addr[SAS_ADDR_SIZE];
252 u8 attached_sas_addr[SAS_ADDR_SIZE];
319 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */
Dsas.h15 #define SAS_ADDR_SIZE 8 macro
291 u8 sas_addr[SAS_ADDR_SIZE];
512 u8 sas_addr[SAS_ADDR_SIZE];
/linux-6.12.1/drivers/scsi/libsas/
Dsas_port.c20 SAS_ADDR_SIZE) != 0 || (sas_ha->strict_wide_ports && in phy_is_wideport_member()
21 memcmp(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE) != 0)) in phy_is_wideport_member()
83 memcpy(port->sas_addr, phy->sas_addr, SAS_ADDR_SIZE); in sas_form_port_add_phy()
87 SAS_ADDR_SIZE); in sas_form_port_add_phy()
249 memset(port->sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
250 memset(port->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
Dsas_expander.c205 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy()
238 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()
386 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
828 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
880 SAS_ADDR_SIZE) && ephy->port) { in sas_ex_join_wide_port()
939 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_expander()
1000 memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_ex_discover_dev()
[all …]
Dsas_host_smp.c34 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); in sas_host_smp_discover()
36 SAS_ADDR_SIZE); in sas_host_smp_discover()
163 SAS_ADDR_SIZE); in sas_report_phy_sata()
Dsas_discover.c134 memcpy(dev->sas_addr, port->attached_sas_addr, SAS_ADDR_SIZE); in sas_get_port_device()
142 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device()
143 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device()
144 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); in sas_get_port_device()
Dsas_init.c74 for (i = 0; i < SAS_ADDR_SIZE; i++) { in sas_hash_addr()
77 for (b = (SAS_ADDR_SIZE - 1); b >= 0; b--) { in sas_hash_addr()
368 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_prep_resume_ha()
Dsas_internal.h159 memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_fail_probe()
/linux-6.12.1/drivers/scsi/aic94xx/
Daic94xx_hwi.h64 u8 sas_addr[SAS_ADDR_SIZE];
90 u8 sas_addr[SAS_ADDR_SIZE];
171 u8 sas_addr[SAS_ADDR_SIZE];
172 u8 attached_sas_addr[SAS_ADDR_SIZE];
Daic94xx_scb.c150 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in asd_get_attached_sas_addr()
170 SAS_ADDR_SIZE) == 0 && in asd_form_port()
173 SAS_ADDR_SIZE) == 0) { in asd_form_port()
188 SAS_ADDR_SIZE); in asd_form_port()
191 SAS_ADDR_SIZE); in asd_form_port()
Daic94xx_sds.c406 u8 sas_addr[SAS_ADDR_SIZE];
527 u8 sas_addr[SAS_ADDR_SIZE];
693 memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE); in asd_ms_get_sas_addr()
938 SAS_ADDR_SIZE); in asd_process_ctrla_phy_settings()
985 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_process_ctrl_a_user()
Daic94xx_hwi.c47 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr()
65 SAS_ADDR_SIZE); in asd_init_phy_identify()
103 memset(asd_port->sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
104 memset(asd_port->attached_sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
Daic94xx_dev.c152 for (i = 0; i < SAS_ADDR_SIZE; i++) in asd_init_target_ddb()
/linux-6.12.1/drivers/scsi/isci/
Dphy.h99 u8 sas_addr[SAS_ADDR_SIZE];
/linux-6.12.1/drivers/scsi/pm8001/
Dpm80xx_hwi.h277 u8 sas_addr[SAS_ADDR_SIZE];
324 u8 sas_addr[SAS_ADDR_SIZE];
453 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_init.c688 SAS_ADDR_SIZE); in pm8001_init_sas_add()
690 SAS_ADDR_SIZE); in pm8001_init_sas_add()
762 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
767 sas_add, SAS_ADDR_SIZE); in pm8001_init_sas_add()
Dpm8001_hwi.h247 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_sas.h505 u8 sas_addr[SAS_ADDR_SIZE];
/linux-6.12.1/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c471 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw()
472 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw()
524 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v1_hw()
1362 &id->sas_addr, SAS_ADDR_SIZE); in int_phyup_v1_hw()
Dhisi_sas_v2_hw.c902 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v2_hw()
903 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v2_hw()
964 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v2_hw()
2689 memcpy(sas_phy->attached_sas_addr, &id->sas_addr, SAS_ADDR_SIZE); in phy_up_v2_hw()
3206 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in sata_int_v2_hw()
3270 memcpy(sas_phy->attached_sas_addr, attached_sas_addr, SAS_ADDR_SIZE); in sata_int_v2_hw()
Dhisi_sas.h406 u8 sas_addr[SAS_ADDR_SIZE];
Dhisi_sas_v3_hw.c800 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
801 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
862 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v3_hw()
1552 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw()
1574 SAS_ADDR_SIZE); in phy_up_v3_hw()
1595 SAS_ADDR_SIZE); in phy_up_v3_hw()
/linux-6.12.1/drivers/scsi/mvsas/
Dmv_sas.c393 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_smp()
541 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ata()
645 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ssp()
1053 &phy->att_dev_sas_addr, SAS_ADDR_SIZE); in mvs_update_phyinfo()
Dmv_sas.h342 u8 sas_addr[SAS_ADDR_SIZE];
Dmv_init.c470 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()

12