Searched refs:arr_phy (Results 1 – 3 of 3) sorted by relevance
606 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local613 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()614 if (!arr_phy) in pm8001_prep_sas_ha_init()620 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()634 kfree(arr_phy); in pm8001_prep_sas_ha_init()
2495 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local2510 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()2512 if (!arr_phy || !arr_port) { in hisi_sas_probe()2517 sha->sas_phy = arr_phy; in hisi_sas_probe()
4779 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local4820 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()4822 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()4827 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()