Lines Matching refs:sha

3393 	SHOST_TO_SAS_HA(shost) = &hisi_hba->sha;  in hisi_sas_shost_alloc_pci()
4781 struct sas_ha_struct *sha; in hisi_sas_v3_probe() local
4807 sha = SHOST_TO_SAS_HA(shost); in hisi_sas_v3_probe()
4809 dev_set_drvdata(dev, sha); in hisi_sas_v3_probe()
4827 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
4828 sha->sas_port = arr_port; in hisi_sas_v3_probe()
4829 sha->shost = shost; in hisi_sas_v3_probe()
4830 sha->lldd_ha = hisi_hba; in hisi_sas_v3_probe()
4844 sha->sas_ha_name = DRV_NAME; in hisi_sas_v3_probe()
4845 sha->dev = dev; in hisi_sas_v3_probe()
4846 sha->sas_addr = &hisi_hba->sas_addr[0]; in hisi_sas_v3_probe()
4847 sha->num_phys = hisi_hba->n_phy; in hisi_sas_v3_probe()
4850 sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy; in hisi_sas_v3_probe()
4851 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_v3_probe()
4874 rc = sas_register_ha(sha); in hisi_sas_v3_probe()
4900 sas_unregister_ha(sha); in hisi_sas_v3_probe()
4932 struct sas_ha_struct *sha = dev_get_drvdata(dev); in hisi_sas_v3_remove() local
4933 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_v3_remove()
4934 struct Scsi_Host *shost = sha->shost; in hisi_sas_v3_remove()
4938 sas_unregister_ha(sha); in hisi_sas_v3_remove()
4952 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_prepare_v3_hw() local
4953 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_reset_prepare_v3_hw()
4970 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_done_v3_hw() local
4971 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_reset_done_v3_hw()
5015 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _suspend_v3_hw() local
5016 struct hisi_hba *hisi_hba = sha->lldd_ha; in _suspend_v3_hw()
5054 sas_suspend_ha(sha); in _suspend_v3_hw()
5074 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _resume_v3_hw() local
5075 struct hisi_hba *hisi_hba = sha->lldd_ha; in _resume_v3_hw()
5087 sas_prep_resume_ha(sha); in _resume_v3_hw()
5102 sas_resume_ha_no_sync(sha); in _resume_v3_hw()
5113 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in suspend_v3_hw() local
5114 struct hisi_hba *hisi_hba = sha->lldd_ha; in suspend_v3_hw()
5129 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in resume_v3_hw() local
5130 struct hisi_hba *hisi_hba = sha->lldd_ha; in resume_v3_hw()