Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/scsi/
Dlibsas.h107 u8 attached_sas_addr[SAS_ADDR_SIZE];
189 u8 sas_addr[SAS_ADDR_SIZE];
237 u8 fanout_sas_addr[SAS_ADDR_SIZE];
238 u8 eeds_a[SAS_ADDR_SIZE];
239 u8 eeds_b[SAS_ADDR_SIZE];
262 u8 sas_addr[SAS_ADDR_SIZE];
263 u8 attached_sas_addr[SAS_ADDR_SIZE];
332 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-v6.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()
88 SAS_ADDR_SIZE); in sas_form_port_add_phy()
250 memset(port->sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
251 memset(port->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
Dsas_expander.c183 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy()
216 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()
365 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
776 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
904 SAS_ADDR_SIZE) && ephy->port) { in sas_ex_join_wide_port()
965 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_expander()
1028 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.c77 for (i = 0; i < SAS_ADDR_SIZE; i++) { in sas_hash_addr()
80 for (b = (SAS_ADDR_SIZE - 1); b >= 0; b--) { in sas_hash_addr()
371 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_prep_resume_ha()
/Linux-v6.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()
105 memset(asd_port->sas_addr, 0, SAS_ADDR_SIZE); in asd_init_ports()
106 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-v6.1/drivers/scsi/isci/
Dphy.h99 u8 sas_addr[SAS_ADDR_SIZE];
/Linux-v6.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.c736 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
741 sas_add, SAS_ADDR_SIZE); in pm8001_init_sas_add()
754 SAS_ADDR_SIZE); in pm8001_init_sas_add()
Dpm8001_hwi.h247 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_sas.h507 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_hwi.c3070 SAS_ADDR_SIZE); in pm8001_mpi_get_nvmd_resp()
3218 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in pm8001_get_attached_sas_addr()
3396 memset(&phy->dev_sas_addr, 0, SAS_ADDR_SIZE); in hw_event_phy_down()
4316 pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_chip_phy_start_req()
4393 SAS_ADDR_SIZE); in pm8001_chip_reg_dev_req()
/Linux-v6.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()
1363 &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()
2679 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()
3260 memcpy(sas_phy->attached_sas_addr, attached_sas_addr, SAS_ADDR_SIZE); in sata_int_v2_hw()
Dhisi_sas.h404 u8 sas_addr[SAS_ADDR_SIZE];
Dhisi_sas_v3_hw.c762 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
763 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
824 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v3_hw()
1512 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw()
1534 SAS_ADDR_SIZE); in phy_up_v3_hw()
1555 SAS_ADDR_SIZE); in phy_up_v3_hw()
/Linux-v6.1/drivers/scsi/mvsas/
Dmv_sas.c397 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_smp()
545 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ata()
653 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ssp()
1056 &phy->att_dev_sas_addr, SAS_ADDR_SIZE); in mvs_update_phyinfo()
Dmv_sas.h342 u8 sas_addr[SAS_ADDR_SIZE];
Dmv_init.c489 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()

12