Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mmc/host/
Dcavium-thunderx.c139 host->slot_pdev[i] = of_platform_device_create(child_node, NULL, in thunder_mmc_probe()
141 if (!host->slot_pdev[i]) in thunder_mmc_probe()
144 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in thunder_mmc_probe()
159 if (host->slot_pdev[i]) { in thunder_mmc_probe()
160 get_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()
161 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in thunder_mmc_probe()
162 put_device(&host->slot_pdev[i]->dev); in thunder_mmc_probe()
Dcavium-octeon.c270 host->slot_pdev[i] = in octeon_mmc_probe()
272 if (!host->slot_pdev[i]) { in octeon_mmc_probe()
276 ret = cvm_mmc_of_slot_probe(&host->slot_pdev[i]->dev, host); in octeon_mmc_probe()
291 if (host->slot_pdev[i]) in octeon_mmc_probe()
292 of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL); in octeon_mmc_probe()
Dmeson-mx-sdio.c631 struct platform_device *slot_pdev; in meson_mx_mmc_probe() local
637 slot_pdev = meson_mx_mmc_slot_pdev(&pdev->dev); in meson_mx_mmc_probe()
638 if (!slot_pdev) in meson_mx_mmc_probe()
640 else if (IS_ERR(slot_pdev)) in meson_mx_mmc_probe()
641 return PTR_ERR(slot_pdev); in meson_mx_mmc_probe()
643 mmc = mmc_alloc_host(sizeof(*host), &slot_pdev->dev); in meson_mx_mmc_probe()
727 of_platform_device_destroy(&slot_pdev->dev, NULL); in meson_mx_mmc_probe()
Dcavium.h82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member