Home
last modified time | relevance | path

Searched refs:mlxplat_dev (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/platform/x86/
Dmlx-platform.c2482 static struct platform_device *mlxplat_dev; variable
2854 mlxplat_dev = platform_device_register_simple(MLX_PLAT_DEVICE_NAME, -1, in mlxplat_init()
2858 if (IS_ERR(mlxplat_dev)) in mlxplat_init()
2859 return PTR_ERR(mlxplat_dev); in mlxplat_init()
2861 priv = devm_kzalloc(&mlxplat_dev->dev, sizeof(struct mlxplat_priv), in mlxplat_init()
2867 platform_set_drvdata(mlxplat_dev, priv); in mlxplat_init()
2869 mlxplat_mlxcpld_regmap_ctx.base = devm_ioport_map(&mlxplat_dev->dev, in mlxplat_init()
2879 priv->regmap = devm_regmap_init(&mlxplat_dev->dev, NULL, in mlxplat_init()
2895 &mlxplat_dev->dev, "i2c_mlxcpld", in mlxplat_init()
2919 &mlxplat_dev->dev, "mlxreg-hotplug", in mlxplat_init()
[all …]