Searched refs:pdev_wd (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/mips/sgi-ip30/ |
D | ip30-xtalk.c | 43 struct platform_device *pdev_wd; in bridge_platform_create() local 62 pdev_wd = platform_device_alloc("sgi_w1", PLATFORM_DEVID_AUTO); in bridge_platform_create() 63 if (!pdev_wd) { in bridge_platform_create() 67 if (platform_device_add_resources(pdev_wd, &w1_res, 1)) { in bridge_platform_create() 71 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { in bridge_platform_create() 75 if (platform_device_add(pdev_wd)) { in bridge_platform_create() 128 platform_device_unregister(pdev_wd); in bridge_platform_create() 131 platform_device_put(pdev_wd); in bridge_platform_create()
|
/linux-6.1.9/arch/mips/sgi-ip27/ |
D | ip27-xtalk.c | 30 struct platform_device *pdev_wd; in bridge_platform_create() local 52 pdev_wd = platform_device_alloc("sgi_w1", PLATFORM_DEVID_AUTO); in bridge_platform_create() 53 if (!pdev_wd) { in bridge_platform_create() 57 if (platform_device_add_resources(pdev_wd, &w1_res, 1)) { in bridge_platform_create() 61 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { in bridge_platform_create() 65 if (platform_device_add(pdev_wd)) { in bridge_platform_create() 119 platform_device_unregister(pdev_wd); in bridge_platform_create() 122 platform_device_put(pdev_wd); in bridge_platform_create()
|
/linux-6.1.9/drivers/platform/x86/ |
D | mlx-platform.c | 300 struct platform_device *pdev_wd[MLXPLAT_CPLD_WD_MAX_DEVS]; member 5315 priv->pdev_wd[j] = in mlxplat_init() 5319 if (IS_ERR(priv->pdev_wd[j])) { in mlxplat_init() 5320 err = PTR_ERR(priv->pdev_wd[j]); in mlxplat_init() 5336 platform_device_unregister(priv->pdev_wd[j]); in mlxplat_init() 5365 platform_device_unregister(priv->pdev_wd[i]); in mlxplat_exit()
|