Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dmlx-platform.c1810 static struct platform_device *mlxplat_dev; variable
2084 mlxplat_dev = platform_device_register_simple(MLX_PLAT_DEVICE_NAME, -1, in mlxplat_init()
2088 if (IS_ERR(mlxplat_dev)) in mlxplat_init()
2089 return PTR_ERR(mlxplat_dev); in mlxplat_init()
2091 priv = devm_kzalloc(&mlxplat_dev->dev, sizeof(struct mlxplat_priv), in mlxplat_init()
2097 platform_set_drvdata(mlxplat_dev, priv); in mlxplat_init()
2099 mlxplat_mlxcpld_regmap_ctx.base = devm_ioport_map(&mlxplat_dev->dev, in mlxplat_init()
2109 priv->regmap = devm_regmap_init(&mlxplat_dev->dev, NULL, in mlxplat_init()
2125 &mlxplat_dev->dev, "i2c_mlxcpld", in mlxplat_init()
2149 &mlxplat_dev->dev, "mlxreg-hotplug", in mlxplat_init()
[all …]