Lines Matching defs:sha

243 	struct sas_ha_struct *sha = dev_id;
244 pm8001_ha = sha->lldd_ha;
491 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
494 pm8001_ha = sha->lldd_ha;
503 pm8001_ha->sas = sha;
570 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
574 memset(sha, 0x00, sizeof(*sha));
582 sha->sas_phy = arr_phy;
583 sha->sas_port = arr_port;
584 sha->lldd_ha = kzalloc(sizeof(struct pm8001_hba_info), GFP_KERNEL);
585 if (!sha->lldd_ha)
615 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
617 pm8001_ha = sha->lldd_ha;
619 sha->sas_phy[i] = &pm8001_ha->phy[i].sas_phy;
620 sha->sas_port[i] = &pm8001_ha->port[i].sas_port;
621 sha->sas_phy[i]->sas_addr =
624 sha->sas_ha_name = DRV_NAME;
625 sha->dev = pm8001_ha->dev;
626 sha->strict_wide_ports = 1;
627 sha->lldd_module = THIS_MODULE;
628 sha->sas_addr = &pm8001_ha->sas_addr[0];
629 sha->num_phys = chip_info->n_phy;
630 sha->core.shost = shost;
1037 struct sas_ha_struct *sha;
1066 sha = kzalloc(sizeof(struct sas_ha_struct), GFP_KERNEL);
1067 if (!sha) {
1071 SHOST_TO_SAS_HA(shost) = sha;
1133 kfree(sha);
1200 struct sas_ha_struct *sha = pci_get_drvdata(pdev);
1203 pm8001_ha = sha->lldd_ha;
1204 sas_unregister_ha(sha);
1217 free_irq(pm8001_ha->irq, sha);
1230 kfree(sha->sas_phy);
1231 kfree(sha->sas_port);
1232 kfree(sha);
1246 struct sas_ha_struct *sha = pci_get_drvdata(pdev);
1250 pm8001_ha = sha->lldd_ha;
1251 sas_suspend_ha(sha);
1267 free_irq(pm8001_ha->irq, sha);
1296 struct sas_ha_struct *sha = pci_get_drvdata(pdev);
1302 pm8001_ha = sha->lldd_ha;
1322 sas_prep_resume_ha(sha);
1373 sas_resume_ha(sha);