Searched refs:slot_pdev (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | cavium-thunderx.c | 139 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()
|
H A D | cavium-octeon.c | 270 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()
|
H A D | meson-mx-sdio.c | 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()
|
H A D | cavium.h | 82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | cavium-thunderx.c | 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()
|
H A D | cavium-octeon.c | 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()
|
H A D | meson-mx-sdio.c | 631 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()
|
H A D | cavium.h | 82 struct platform_device *slot_pdev[CAVIUM_MAX_MMC]; member
|
Completed in 11 milliseconds