Lines Matching refs:mlx90632
882 struct mlx90632_data *mlx90632; in mlx90632_probe() local
887 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*mlx90632)); in mlx90632_probe()
900 mlx90632 = iio_priv(indio_dev); in mlx90632_probe()
902 mlx90632->client = client; in mlx90632_probe()
903 mlx90632->regmap = regmap; in mlx90632_probe()
904 mlx90632->mtyp = MLX90632_MTYP_MEDICAL; in mlx90632_probe()
906 mutex_init(&mlx90632->lock); in mlx90632_probe()
913 mlx90632->regulator = devm_regulator_get(&client->dev, "vdd"); in mlx90632_probe()
914 if (IS_ERR(mlx90632->regulator)) in mlx90632_probe()
915 return dev_err_probe(&client->dev, PTR_ERR(mlx90632->regulator), in mlx90632_probe()
918 ret = mlx90632_enable_regulator(mlx90632); in mlx90632_probe()
923 mlx90632); in mlx90632_probe()
930 ret = mlx90632_wakeup(mlx90632); in mlx90632_probe()
936 ret = regmap_read(mlx90632->regmap, MLX90632_EE_VERSION, &read); in mlx90632_probe()
951 mlx90632->mtyp = MLX90632_MTYP_EXTENDED; in mlx90632_probe()
962 mlx90632->emissivity = 1000; in mlx90632_probe()
963 mlx90632->object_ambient_temperature = 25000; /* 25 degrees milliCelsius */ in mlx90632_probe()
968 mlx90632_sleep(mlx90632); in mlx90632_probe()