Searched refs:sas_phys (Results 1 – 2 of 2) sorted by relevance
230 struct asd_sas_phy **sas_phys; in isci_register_sas_ha() local233 sas_phys = devm_kzalloc(&isci_host->pdev->dev, in isci_register_sas_ha()236 if (!sas_phys) in isci_register_sas_ha()250 sas_phys[i] = &isci_host->phys[i].sas_phy; in isci_register_sas_ha()254 sas_ha->sas_phy = sas_phys; in isci_register_sas_ha()
688 struct asd_sas_phy **sas_phys = in asd_register_sas_ha() local689 kcalloc(ASD_MAX_PHYS, sizeof(*sas_phys), GFP_KERNEL); in asd_register_sas_ha()693 if (!sas_phys || !sas_ports) { in asd_register_sas_ha()694 kfree(sas_phys); in asd_register_sas_ha()704 sas_phys[i] = &asd_ha->phys[i].sas_phy; in asd_register_sas_ha()708 asd_ha->sas_ha.sas_phy = sas_phys; in asd_register_sas_ha()