Searched refs:mlxplat_dev (Results 1 – 1 of 1) sorted by relevance
411 static struct platform_device *mlxplat_dev; variable2924 dev_info(&mlxplat_dev->dev, "System shutdown due to short press of power button"); in mlxplat_mlxcpld_l1_switch_pwr_events_handler()2952 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2961 dev_info(&mlxplat_dev->dev, "Detected intrusion - system latch is opened"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2965 dev_info(&mlxplat_dev->dev, "System latch is properly closed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2977 dev_err(&mlxplat_dev->dev, "Register access failed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()7409 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_reboot_notifier()7429 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_poweroff()7439 mlxplat_dev = platform_device_register_simple(MLX_PLAT_DEVICE_NAME, -1, in mlxplat_register_platform_device()7442 if (IS_ERR(mlxplat_dev)) in mlxplat_register_platform_device()[all …]