Searched refs:slot_pdev (Results 1 – 3 of 3) sorted by relevance
272 host->slot_pdev[i] = in octeon_mmc_probe() 274 if (!host->slot_pdev[i]) { in octeon_mmc_probe() 278 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in octeon_mmc_probe() 293 if (host->slot_pdev[i]) in octeon_mmc_probe() 294 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in octeon_mmc_probe()
632 struct platform_device *slot_pdev; in meson_mx_mmc_probe() local 638 slot_pdev = meson_mx_mmc_slot_pdev(&pdev->dev); in meson_mx_mmc_probe() 639 if (!slot_pdev) in meson_mx_mmc_probe() 641 else if (IS_ERR(slot_pdev)) in meson_mx_mmc_probe() 642 return PTR_ERR(slot_pdev); in meson_mx_mmc_probe() 644 mmc = mmc_alloc_host(sizeof(*host), &slot_pdev->dev); in meson_mx_mmc_probe() 728 of_platform_device_destroy(&slot_pdev->dev, NULL); in meson_mx_mmc_probe()
82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member