Searched refs:identify_frame (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 55 phy->identify_frame = phy->id_frm_tok->vaddr; in asd_init_phy_identify() 57 memset(phy->identify_frame, 0, sizeof(*phy->identify_frame)); in asd_init_phy_identify() 59 phy->identify_frame->dev_type = SAS_END_DEVICE; in asd_init_phy_identify() 61 phy->identify_frame->initiator_bits = phy->sas_phy.iproto; in asd_init_phy_identify() 63 phy->identify_frame->target_bits = phy->sas_phy.tproto; in asd_init_phy_identify() 64 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, in asd_init_phy_identify() 66 phy->identify_frame->phy_id = phy->sas_phy.id; in asd_init_phy_identify() 82 sizeof(*phy->identify_frame), in asd_init_phy()
|
H A D | aic94xx_sas.h | 680 struct sas_identify_frame *identify_frame; member
|
/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v1_hw.c | 462 struct sas_identify_frame identify_frame; in config_id_frame_v1_hw() local 465 memset(&identify_frame, 0, sizeof(identify_frame)); in config_id_frame_v1_hw() 466 identify_frame.dev_type = SAS_END_DEVICE; in config_id_frame_v1_hw() 467 identify_frame.frame_type = 0; in config_id_frame_v1_hw() 468 identify_frame._un1 = 1; in config_id_frame_v1_hw() 469 identify_frame.initiator_bits = SAS_PROTOCOL_ALL; in config_id_frame_v1_hw() 470 identify_frame.target_bits = SAS_PROTOCOL_NONE; in config_id_frame_v1_hw() 471 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() 473 identify_frame.phy_id = phy_no; in config_id_frame_v1_hw() [all …]
|
H A D | hisi_sas_v2_hw.c | 893 struct sas_identify_frame identify_frame; in config_id_frame_v2_hw() local 896 memset(&identify_frame, 0, sizeof(identify_frame)); in config_id_frame_v2_hw() 897 identify_frame.dev_type = SAS_END_DEVICE; in config_id_frame_v2_hw() 898 identify_frame.frame_type = 0; in config_id_frame_v2_hw() 899 identify_frame._un1 = 1; in config_id_frame_v2_hw() 900 identify_frame.initiator_bits = SAS_PROTOCOL_ALL; in config_id_frame_v2_hw() 901 identify_frame.target_bits = SAS_PROTOCOL_NONE; in config_id_frame_v2_hw() 902 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() 904 identify_frame.phy_id = phy_no; in config_id_frame_v2_hw() [all …]
|
H A D | hisi_sas_v3_hw.c | 795 struct sas_identify_frame identify_frame; in config_id_frame_v3_hw() local 798 memset(&identify_frame, 0, sizeof(identify_frame)); in config_id_frame_v3_hw() 799 identify_frame.dev_type = SAS_END_DEVICE; in config_id_frame_v3_hw() 800 identify_frame.frame_type = 0; in config_id_frame_v3_hw() 801 identify_frame._un1 = 1; in config_id_frame_v3_hw() 802 identify_frame.initiator_bits = SAS_PROTOCOL_ALL; in config_id_frame_v3_hw() 803 identify_frame.target_bits = SAS_PROTOCOL_NONE; in config_id_frame_v3_hw() 804 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw() 805 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v3_hw() 806 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw() [all …]
|