Lines Matching refs:sha
1231 struct sas_ha_struct *sas_ha = &hisi_hba->sha; in phy_bcast_v3_hw()
1825 SHOST_TO_SAS_HA(shost) = &hisi_hba->sha; in hisi_sas_shost_alloc_pci()
1852 struct sas_ha_struct *sha; in hisi_sas_v3_probe() local
1881 sha = SHOST_TO_SAS_HA(shost); in hisi_sas_v3_probe()
1883 dev_set_drvdata(dev, sha); in hisi_sas_v3_probe()
1901 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
1902 sha->sas_port = arr_port; in hisi_sas_v3_probe()
1903 sha->core.shost = shost; in hisi_sas_v3_probe()
1904 sha->lldd_ha = hisi_hba; in hisi_sas_v3_probe()
1915 sha->sas_ha_name = DRV_NAME; in hisi_sas_v3_probe()
1916 sha->dev = dev; in hisi_sas_v3_probe()
1917 sha->lldd_module = THIS_MODULE; in hisi_sas_v3_probe()
1918 sha->sas_addr = &hisi_hba->sas_addr[0]; in hisi_sas_v3_probe()
1919 sha->num_phys = hisi_hba->n_phy; in hisi_sas_v3_probe()
1920 sha->core.shost = hisi_hba->shost; in hisi_sas_v3_probe()
1923 sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy; in hisi_sas_v3_probe()
1924 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_v3_probe()
1933 rc = sas_register_ha(sha); in hisi_sas_v3_probe()
1976 struct sas_ha_struct *sha = dev_get_drvdata(dev); in hisi_sas_v3_remove() local
1977 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_v3_remove()
1978 struct Scsi_Host *shost = sha->core.shost; in hisi_sas_v3_remove()
1980 sas_unregister_ha(sha); in hisi_sas_v3_remove()
1981 sas_remove_host(sha->core.shost); in hisi_sas_v3_remove()