Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/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.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()
807 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
859 SAS_ADDR_SIZE) && ephy->port) { in sas_ex_join_wide_port()
920 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_expander()
981 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()
/linux-6.6.21/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.6.21/drivers/scsi/isci/
Dphy.h99 u8 sas_addr[SAS_ADDR_SIZE];
/linux-6.6.21/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.c737 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
742 sas_add, SAS_ADDR_SIZE); in pm8001_init_sas_add()
755 SAS_ADDR_SIZE); in pm8001_init_sas_add()
Dpm8001_hwi.h247 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_sas.h508 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_hwi.c2975 SAS_ADDR_SIZE); in pm8001_mpi_get_nvmd_resp()
3123 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in pm8001_get_attached_sas_addr()
3301 memset(&phy->dev_sas_addr, 0, SAS_ADDR_SIZE); in hw_event_phy_down()
4183 &pm8001_ha->phy[phy_id].dev_sas_addr, SAS_ADDR_SIZE); in pm8001_chip_phy_start_req()
4260 SAS_ADDR_SIZE); in pm8001_chip_reg_dev_req()
/linux-6.6.21/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.c801 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
802 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
863 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v3_hw()
1553 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw()
1575 SAS_ADDR_SIZE); in phy_up_v3_hw()
1596 SAS_ADDR_SIZE); in phy_up_v3_hw()
/linux-6.6.21/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.c485 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()

12