Searched refs:mlxplat_dev (Results 1 – 1 of 1) sorted by relevance
370 static struct platform_device *mlxplat_dev; variable2379 dev_info(&mlxplat_dev->dev, "System shutdown due to short press of power button"); in mlxplat_mlxcpld_l1_switch_pwr_events_handler()2407 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2416 dev_info(&mlxplat_dev->dev, "Detected intrusion - system latch is opened"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2420 dev_info(&mlxplat_dev->dev, "System latch is properly closed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()2432 dev_err(&mlxplat_dev->dev, "Register access failed"); in mlxplat_mlxcpld_l1_switch_intrusion_events_handler()5562 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_reboot_notifier()5582 struct mlxplat_priv *priv = platform_get_drvdata(mlxplat_dev); in mlxplat_poweroff()5592 mlxplat_dev = platform_device_register_simple(MLX_PLAT_DEVICE_NAME, -1, in mlxplat_register_platform_device()5595 if (IS_ERR(mlxplat_dev)) in mlxplat_register_platform_device()[all …]