Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/mvsas/
H A Dmv_init.c407 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local
416 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
418 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
421 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init()
439 kfree(arr_phy); in mvs_prep_sas_ha_init()
/OK3568_Linux_fs/kernel/drivers/scsi/pm8001/
H A Dpm8001_init.c576 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local
583 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
584 if (!arr_phy) in pm8001_prep_sas_ha_init()
590 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
608 kfree(arr_phy); in pm8001_prep_sas_ha_init()
/OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c3233 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local
3276 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
3278 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
3283 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
H A Dhisi_sas_main.c2625 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local
2640 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2642 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2647 sha->sas_phy = arr_phy; in hisi_sas_probe()