Lines Matching refs:mpu3050
19 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()
75 i2c_mux_add_adapter(mpu3050->i2cmux, 0, 0, 0); in mpu3050_i2c_probe()
84 struct mpu3050 *mpu3050 = iio_priv(indio_dev); in mpu3050_i2c_remove() local
86 if (mpu3050->i2cmux) in mpu3050_i2c_remove()
87 i2c_mux_del_adapters(mpu3050->i2cmux); in mpu3050_i2c_remove()