Home
last modified time | relevance | path

Searched refs:identify_frame (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/scsi/aic94xx/
Daic94xx_hwi.c55 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()
Daic94xx_sas.h680 struct sas_identify_frame *identify_frame; member
/linux-6.12.1/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c462 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 …]
Dhisi_sas_v2_hw.c893 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 …]
Dhisi_sas_v3_hw.c791 struct sas_identify_frame identify_frame; in config_id_frame_v3_hw() local
794 memset(&identify_frame, 0, sizeof(identify_frame)); in config_id_frame_v3_hw()
795 identify_frame.dev_type = SAS_END_DEVICE; in config_id_frame_v3_hw()
796 identify_frame.frame_type = 0; in config_id_frame_v3_hw()
797 identify_frame._un1 = 1; in config_id_frame_v3_hw()
798 identify_frame.initiator_bits = SAS_PROTOCOL_ALL; in config_id_frame_v3_hw()
799 identify_frame.target_bits = SAS_PROTOCOL_NONE; in config_id_frame_v3_hw()
800 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()
802 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw()
[all …]