Home
last modified time | relevance | path

Searched refs:pdev_hotplug (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dnvsw-sn2201.c127 * @pdev_hotplug: hotplug device;
146 struct platform_device *pdev_hotplug; member
1028 nvsw_sn2201->pdev_hotplug = in nvsw_sn2201_config_init()
1034 if (IS_ERR(nvsw_sn2201->pdev_hotplug)) { in nvsw_sn2201_config_init()
1035 err = PTR_ERR(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_init()
1059 if (nvsw_sn2201->pdev_hotplug) in nvsw_sn2201_config_exit()
1060 platform_device_unregister(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_exit()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dmlx-platform.c196 * @pdev_hotplug - hotplug platform devices
206 struct platform_device *pdev_hotplug; member
2905 priv->pdev_hotplug = platform_device_register_resndata( in mlxplat_init()
2911 if (IS_ERR(priv->pdev_hotplug)) { in mlxplat_init()
2912 err = PTR_ERR(priv->pdev_hotplug); in mlxplat_init()
3002 platform_device_unregister(priv->pdev_hotplug); in mlxplat_init()
3026 platform_device_unregister(priv->pdev_hotplug); in mlxplat_exit()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmlx-platform.c344 * @pdev_hotplug - hotplug platform devices
358 struct platform_device *pdev_hotplug; member
6322 priv->pdev_hotplug = in mlxplat_post_init()
6328 if (IS_ERR(priv->pdev_hotplug)) { in mlxplat_post_init()
6329 err = PTR_ERR(priv->pdev_hotplug); in mlxplat_post_init()
6405 platform_device_unregister(priv->pdev_hotplug); in mlxplat_post_init()
6422 if (priv->pdev_hotplug) in mlxplat_pre_exit()
6423 platform_device_unregister(priv->pdev_hotplug); in mlxplat_pre_exit()

Completed in 10 milliseconds