Searched refs:slot_pdev (Results 1 – 2 of 2) sorted by relevance
140 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()142 if (!host->slot_pdev[i]) in thunder_mmc_probe()145 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in thunder_mmc_probe()160 if (host->slot_pdev[i]) { in thunder_mmc_probe()161 get_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()162 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in thunder_mmc_probe()163 put_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()
82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member