mma7455 57 drivers/iio/accel/mma7455_core.c static int mma7455_drdy(struct mma7455_data *mma7455) mma7455 59 drivers/iio/accel/mma7455_core.c struct device *dev = regmap_get_device(mma7455->regmap); mma7455 65 drivers/iio/accel/mma7455_core.c ret = regmap_read(mma7455->regmap, MMA7455_REG_STATUS, ®); mma7455 84 drivers/iio/accel/mma7455_core.c struct mma7455_data *mma7455 = iio_priv(indio_dev); mma7455 88 drivers/iio/accel/mma7455_core.c ret = mma7455_drdy(mma7455); mma7455 92 drivers/iio/accel/mma7455_core.c ret = regmap_bulk_read(mma7455->regmap, MMA7455_REG_XOUTL, buf, mma7455 110 drivers/iio/accel/mma7455_core.c struct mma7455_data *mma7455 = iio_priv(indio_dev); mma7455 120 drivers/iio/accel/mma7455_core.c ret = mma7455_drdy(mma7455); mma7455 124 drivers/iio/accel/mma7455_core.c ret = regmap_bulk_read(mma7455->regmap, chan->address, &data, mma7455 140 drivers/iio/accel/mma7455_core.c ret = regmap_read(mma7455->regmap, MMA7455_REG_CTL1, ®); mma7455 159 drivers/iio/accel/mma7455_core.c struct mma7455_data *mma7455 = iio_priv(indio_dev); mma7455 171 drivers/iio/accel/mma7455_core.c return regmap_update_bits(mma7455->regmap, MMA7455_REG_CTL1, mma7455 237 drivers/iio/accel/mma7455_core.c struct mma7455_data *mma7455; mma7455 253 drivers/iio/accel/mma7455_core.c indio_dev = devm_iio_device_alloc(dev, sizeof(*mma7455)); mma7455 258 drivers/iio/accel/mma7455_core.c mma7455 = iio_priv(indio_dev); mma7455 259 drivers/iio/accel/mma7455_core.c mma7455->regmap = regmap; mma7455 269 drivers/iio/accel/mma7455_core.c regmap_write(mma7455->regmap, MMA7455_REG_MCTL, mma7455 293 drivers/iio/accel/mma7455_core.c struct mma7455_data *mma7455 = iio_priv(indio_dev); mma7455 298 drivers/iio/accel/mma7455_core.c regmap_write(mma7455->regmap, MMA7455_REG_MCTL,