Searched refs:lsm9ds0 (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/iio/imu/st_lsm9ds0/ |
H A D | st_lsm9ds0_core.c | 24 struct device *dev = lsm9ds0->dev; in st_lsm9ds0_probe_accel() 34 if (!lsm9ds0->accel) in st_lsm9ds0_probe_accel() 37 lsm9ds0->accel->name = lsm9ds0->name; in st_lsm9ds0_probe_accel() 39 data = iio_priv(lsm9ds0->accel); in st_lsm9ds0_probe_accel() 41 data->irq = lsm9ds0->irq; in st_lsm9ds0_probe_accel() 50 struct device *dev = lsm9ds0->dev; in st_lsm9ds0_probe_magn() 60 if (!lsm9ds0->magn) in st_lsm9ds0_probe_magn() 63 lsm9ds0->magn->name = lsm9ds0->name; in st_lsm9ds0_probe_magn() 65 data = iio_priv(lsm9ds0->magn); in st_lsm9ds0_probe_magn() 67 data->irq = lsm9ds0->irq; in st_lsm9ds0_probe_magn() [all …]
|
H A D | st_lsm9ds0_spi.c | 49 struct st_lsm9ds0 *lsm9ds0; in st_lsm9ds0_spi_probe() local 54 lsm9ds0 = devm_kzalloc(dev, sizeof(*lsm9ds0), GFP_KERNEL); in st_lsm9ds0_spi_probe() 55 if (!lsm9ds0) in st_lsm9ds0_spi_probe() 58 lsm9ds0->dev = dev; in st_lsm9ds0_spi_probe() 59 lsm9ds0->name = spi->modalias; in st_lsm9ds0_spi_probe() 60 lsm9ds0->irq = spi->irq; in st_lsm9ds0_spi_probe() 66 spi_set_drvdata(spi, lsm9ds0); in st_lsm9ds0_spi_probe() 68 return st_lsm9ds0_probe(lsm9ds0, regmap); in st_lsm9ds0_spi_probe()
|
H A D | st_lsm9ds0_i2c.c | 56 struct st_lsm9ds0 *lsm9ds0; in st_lsm9ds0_i2c_probe() local 61 lsm9ds0 = devm_kzalloc(dev, sizeof(*lsm9ds0), GFP_KERNEL); in st_lsm9ds0_i2c_probe() 62 if (!lsm9ds0) in st_lsm9ds0_i2c_probe() 65 lsm9ds0->dev = dev; in st_lsm9ds0_i2c_probe() 66 lsm9ds0->name = client->name; in st_lsm9ds0_i2c_probe() 67 lsm9ds0->irq = client->irq; in st_lsm9ds0_i2c_probe() 73 i2c_set_clientdata(client, lsm9ds0); in st_lsm9ds0_i2c_probe() 75 return st_lsm9ds0_probe(lsm9ds0, regmap); in st_lsm9ds0_i2c_probe()
|
H A D | st_lsm9ds0.h | 20 int st_lsm9ds0_probe(struct st_lsm9ds0 *lsm9ds0, struct regmap *regmap);
|
H A D | Kconfig | 13 sensor. Supported devices: accelerometer/magnetometer of lsm9ds0
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | st,st-sensors.yaml | 64 - st,lsm9ds0-gyro 88 - st,lsm9ds0-imu
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | ulcb-kf.dtsi | 198 compatible = "st,lsm9ds0-imu"; 221 compatible = "st,lsm9ds0-gyro";
|