Searched refs:mma7455 (Results 1 – 2 of 2) sorted by relevance
65 static int mma7455_drdy(struct mma7455_data *mma7455) in mma7455_drdy() argument67 struct device *dev = regmap_get_device(mma7455->regmap); in mma7455_drdy()73 ret = regmap_read(mma7455->regmap, MMA7455_REG_STATUS, ®); in mma7455_drdy()92 struct mma7455_data *mma7455 = iio_priv(indio_dev); in mma7455_trigger_handler() local95 ret = mma7455_drdy(mma7455); in mma7455_trigger_handler()99 ret = regmap_bulk_read(mma7455->regmap, MMA7455_REG_XOUTL, in mma7455_trigger_handler()100 mma7455->scan.channels, in mma7455_trigger_handler()101 sizeof(mma7455->scan.channels)); in mma7455_trigger_handler()105 iio_push_to_buffers_with_timestamp(indio_dev, &mma7455->scan, in mma7455_trigger_handler()118 struct mma7455_data *mma7455 = iio_priv(indio_dev); in mma7455_read_raw() local[all …]
480 mma7455@1d {481 compatible = "fsl,mma7455";