Home
last modified time | relevance | path

Searched refs:arr_phy (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_init.c401 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local
410 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
412 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
415 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init()
433 kfree(arr_phy); in mvs_prep_sas_ha_init()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c594 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local
601 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
602 if (!arr_phy) in pm8001_prep_sas_ha_init()
608 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
622 kfree(arr_phy); in pm8001_prep_sas_ha_init()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2494 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local
2509 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2511 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2516 sha->sas_phy = arr_phy; in hisi_sas_probe()
H A Dhisi_sas_v3_hw.c4963 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local
5004 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
5006 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
5011 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()