Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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
282 u8 sas_addr[SAS_ADDR_SIZE];
513 u8 sas_addr[SAS_ADDR_SIZE];
/kernel/linux/linux-5.10/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()
127 SAS_ADDR_SIZE); in sas_form_port()
151 SAS_ADDR_SIZE); in sas_form_port()
239 memset(port->sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
240 memset(port->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_deform_port()
Dsas_expander.c199 u8 sas_addr[SAS_ADDR_SIZE]; in sas_set_ex_phy()
233 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
237 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
261 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
263 memcpy(phy->attached_sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
382 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
798 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
926 SAS_ADDR_SIZE) && ephy->port) { in sas_ex_join_wide_port()
987 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_expander()
1050 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.c135 memcpy(dev->sas_addr, port->attached_sas_addr, SAS_ADDR_SIZE); in sas_get_port_device()
143 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device()
144 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device()
145 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()
366 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_prep_resume_ha()
Dsas_scsi_host.c949 res = hex2bin(addr, fw->data, strnlen(fw->data, SAS_ADDR_SIZE * 2) / 2); in sas_request_addr()
/kernel/linux/linux-5.10/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.c148 memcpy(sas_addr, idframe->sas_addr, SAS_ADDR_SIZE); in asd_get_attached_sas_addr()
168 SAS_ADDR_SIZE) == 0 && in asd_form_port()
171 SAS_ADDR_SIZE) == 0) { in asd_form_port()
186 SAS_ADDR_SIZE); in asd_form_port()
189 SAS_ADDR_SIZE); in asd_form_port()
Daic94xx_sds.c406 u8 sas_addr[SAS_ADDR_SIZE];
525 u8 sas_addr[SAS_ADDR_SIZE];
691 memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE); in asd_ms_get_sas_addr()
934 SAS_ADDR_SIZE); in asd_process_ctrla_phy_settings()
981 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()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dphy.h99 u8 sas_addr[SAS_ADDR_SIZE];
/kernel/linux/linux-5.10/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.c713 memcpy(sas_add, pm8001_ha->sas_addr, SAS_ADDR_SIZE); in pm8001_init_sas_add()
718 sas_add, SAS_ADDR_SIZE); in pm8001_init_sas_add()
731 SAS_ADDR_SIZE); in pm8001_init_sas_add()
Dpm8001_hwi.h247 u8 sas_addr[SAS_ADDR_SIZE];
Dpm8001_sas.h503 u8 sas_addr[SAS_ADDR_SIZE];
/kernel/linux/linux-5.10/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()
1367 &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()
2681 memcpy(sas_phy->attached_sas_addr, &id->sas_addr, SAS_ADDR_SIZE); in phy_up_v2_hw()
3204 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in sata_int_v2_hw()
3269 memcpy(sas_phy->attached_sas_addr, attached_sas_addr, SAS_ADDR_SIZE); in sata_int_v2_hw()
Dhisi_sas_v3_hw.c743 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
744 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw()
805 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v3_hw()
1495 u8 attached_sas_addr[SAS_ADDR_SIZE] = {0}; in phy_up_v3_hw()
1517 SAS_ADDR_SIZE); in phy_up_v3_hw()
1538 SAS_ADDR_SIZE); in phy_up_v3_hw()
Dhisi_sas.h419 u8 sas_addr[SAS_ADDR_SIZE];
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.h342 u8 sas_addr[SAS_ADDR_SIZE];
Dmv_sas.c392 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_smp()
540 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ata()
648 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ssp()
1059 &phy->att_dev_sas_addr, SAS_ADDR_SIZE); in mvs_update_phyinfo()
Dmv_init.c490 memcpy(mvi->sas_addr, &mvi->phy[0].dev_sas_addr, SAS_ADDR_SIZE); in mvs_init_sas_add()

12