Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mmc/host/
Dcavium-thunderx.c135 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
137 if (!host->slot_pdev[i]) in thunder_mmc_probe()
140 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in thunder_mmc_probe()
153 if (host->slot_pdev[i]) { in thunder_mmc_probe()
154 get_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()
155 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in thunder_mmc_probe()
156 put_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()
Dcavium-octeon.c281 host->slot_pdev[i] = in octeon_mmc_probe()
283 if (!host->slot_pdev[i]) { in octeon_mmc_probe()
287 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in octeon_mmc_probe()
301 if (host->slot_pdev[i]) in octeon_mmc_probe()
302 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in octeon_mmc_probe()
Dmeson-mx-sdio.c635 struct platform_device *slot_pdev; in meson_mx_mmc_probe() local
642 slot_pdev = meson_mx_mmc_slot_pdev(&pdev->dev); in meson_mx_mmc_probe()
643 if (!slot_pdev) in meson_mx_mmc_probe()
645 else if (IS_ERR(slot_pdev)) in meson_mx_mmc_probe()
646 return PTR_ERR(slot_pdev); in meson_mx_mmc_probe()
648 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()
Dcavium.h82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member