Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/gyro/
Dmpu3050-core.c180 static unsigned int mpu3050_get_freq(struct mpu3050 *mpu3050) in mpu3050_get_freq() argument
184 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq()
188 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq()
193 static int mpu3050_start_sampling(struct mpu3050 *mpu3050) in mpu3050_start_sampling() argument
200 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
206 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
214 raw_val[i] = cpu_to_be16(mpu3050->calibration[i]); in mpu3050_start_sampling()
216 ret = regmap_bulk_write(mpu3050->map, MPU3050_X_OFFS_USR_H, raw_val, in mpu3050_start_sampling()
222 ret = regmap_write(mpu3050->map, MPU3050_DLPF_FS_SYNC, in mpu3050_start_sampling()
224 mpu3050->fullscale << MPU3050_FS_SHIFT | in mpu3050_start_sampling()
[all …]
Dmpu3050-i2c.c19 struct mpu3050 *mpu3050 = i2c_mux_priv(mux); in mpu3050_i2c_bypass_select() local
22 pm_runtime_get_sync(mpu3050->dev); in mpu3050_i2c_bypass_select()
28 struct mpu3050 *mpu3050 = i2c_mux_priv(mux); in mpu3050_i2c_bypass_deselect() local
30 pm_runtime_mark_last_busy(mpu3050->dev); in mpu3050_i2c_bypass_deselect()
31 pm_runtime_put_autosuspend(mpu3050->dev); in mpu3050_i2c_bypass_deselect()
40 struct mpu3050 *mpu3050; in mpu3050_i2c_probe() local
64 mpu3050 = iio_priv(dev_get_drvdata(&client->dev)); in mpu3050_i2c_probe()
65 mpu3050->i2cmux = i2c_mux_alloc(client->adapter, &client->dev, in mpu3050_i2c_probe()
70 if (!mpu3050->i2cmux) in mpu3050_i2c_probe()
73 mpu3050->i2cmux->priv = mpu3050; in mpu3050_i2c_probe()
[all …]
DMakefile24 obj-$(CONFIG_MPU3050) += mpu3050.o
25 mpu3050-objs := mpu3050-core.o mpu3050-i2c.o
Dmpu3050.h68 struct mpu3050 { struct
DKconfig136 inv-mpu3050-i2c.
/Linux-v6.1/arch/arm/boot/dts/
Dste-ux500-samsung-gavini.dts513 compatible = "invensense,mpu3050";
789 mpu3050 {
790 mpu3050_default: mpu3050 {
Dqcom-apq8060-dragonboard.dts324 dragon_mpu3050_gpios: mpu3050-state {
587 mpu3050@68 {
588 compatible = "invensense,mpu3050";
Dste-ux500-samsung-janice.dts618 compatible = "invensense,mpu3050";
864 mpu3050 {
Dtegra20-seaboard.dts361 compatible = "invensense,mpu3050";
Dtegra20-asus-tf101.dts553 compatible = "invensense,mpu3050";
Dtegra30-asus-transformer-common.dtsi1154 compatible = "invensense,mpu3050";
Dtegra20-acer-a500-picasso.dts475 compatible = "invensense,mpu3050";
Dtegra30-pegatron-chagall.dts1218 compatible = "invensense,mpu3050";
/Linux-v6.1/Documentation/firmware-guide/acpi/
Denumeration.rst266 Below is an example of how to add ACPI support to the existing mpu3050
277 .name = "mpu3050",
/Linux-v6.1/Documentation/i2c/
Di2c-topology.rst399 gyro/mpu3050 Mux-locked
/Linux-v6.1/
DMAINTAINERS10689 F: Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml
10690 F: drivers/iio/gyro/mpu3050*