Lines Matching refs:mlx90632
1174 struct mlx90632_data *mlx90632; in mlx90632_probe() local
1180 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*mlx90632)); in mlx90632_probe()
1193 mlx90632 = iio_priv(indio_dev); in mlx90632_probe()
1195 mlx90632->client = client; in mlx90632_probe()
1196 mlx90632->regmap = regmap; in mlx90632_probe()
1197 mlx90632->mtyp = MLX90632_MTYP_MEDICAL; in mlx90632_probe()
1198 mlx90632->powerstatus = MLX90632_PWR_STATUS_HALT; in mlx90632_probe()
1200 mutex_init(&mlx90632->lock); in mlx90632_probe()
1207 mlx90632->regulator = devm_regulator_get(&client->dev, "vdd"); in mlx90632_probe()
1208 if (IS_ERR(mlx90632->regulator)) in mlx90632_probe()
1209 return dev_err_probe(&client->dev, PTR_ERR(mlx90632->regulator), in mlx90632_probe()
1212 ret = mlx90632_enable_regulator(mlx90632); in mlx90632_probe()
1217 mlx90632); in mlx90632_probe()
1224 ret = mlx90632_wakeup(mlx90632); in mlx90632_probe()
1230 ret = devm_add_action_or_reset(&client->dev, mlx90632_sleep, mlx90632); in mlx90632_probe()
1237 ret = regmap_read(mlx90632->regmap, MLX90632_EE_VERSION, &read); in mlx90632_probe()
1252 mlx90632->mtyp = MLX90632_MTYP_EXTENDED; in mlx90632_probe()
1263 mlx90632->emissivity = 1000; in mlx90632_probe()
1264 mlx90632->object_ambient_temperature = 25000; /* 25 degrees milliCelsius */ in mlx90632_probe()
1265 mlx90632->interaction_ts = jiffies; /* Set initial value */ in mlx90632_probe()