Searched refs:msa311 (Results 1 – 4 of 4) sorted by relevance
409 static int msa311_get_odr(struct msa311_priv *msa311, unsigned int *odr) in msa311_get_odr() argument413 err = regmap_field_read(msa311->fields[F_ODR], odr); in msa311_get_odr()449 static int msa311_set_odr(struct msa311_priv *msa311, unsigned int odr) in msa311_set_odr() argument451 struct device *dev = msa311->dev; in msa311_set_odr()456 err = regmap_field_read(msa311->fields[F_PWR_MODE], &pwr_mode); in msa311_set_odr()475 return regmap_field_write(msa311->fields[F_ODR], odr); in msa311_set_odr()485 static int msa311_wait_for_next_data(struct msa311_priv *msa311) in msa311_wait_for_next_data() argument488 struct device *dev = msa311->dev; in msa311_wait_for_next_data()494 err = msa311_get_odr(msa311, &odr); in msa311_wait_for_next_data()530 static int msa311_set_pwr_mode(struct msa311_priv *msa311, unsigned int mode) in msa311_set_pwr_mode() argument[all …]
64 obj-$(CONFIG_MSA311) += msa311.o
576 called msa311.
13781 F: Documentation/devicetree/bindings/iio/accel/memsensing,msa311.yaml13782 F: drivers/iio/accel/msa311.c