Searched refs:msa311 (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/iio/accel/ |
D | msa311.c | 411 static int msa311_get_odr(struct msa311_priv *msa311, unsigned int *odr) in msa311_get_odr() argument 415 err = regmap_field_read(msa311->fields[F_ODR], odr); in msa311_get_odr() 451 static int msa311_set_odr(struct msa311_priv *msa311, unsigned int odr) in msa311_set_odr() argument 453 struct device *dev = msa311->dev; in msa311_set_odr() 458 err = regmap_field_read(msa311->fields[F_PWR_MODE], &pwr_mode); in msa311_set_odr() 477 return regmap_field_write(msa311->fields[F_ODR], odr); in msa311_set_odr() 487 static int msa311_wait_for_next_data(struct msa311_priv *msa311) in msa311_wait_for_next_data() argument 490 struct device *dev = msa311->dev; in msa311_wait_for_next_data() 496 err = msa311_get_odr(msa311, &odr); in msa311_wait_for_next_data() 532 static int msa311_set_pwr_mode(struct msa311_priv *msa311, unsigned int mode) in msa311_set_pwr_mode() argument [all …]
|
D | Makefile | 61 obj-$(CONFIG_MSA311) += msa311.o
|
D | Kconfig | 555 called msa311.
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/accel/ |
D | memsensing,msa311.yaml | 5 $id: "http://devicetree.org/schemas/iio/accel/memsensing,msa311.yaml#" 23 const: memsensing,msa311 47 compatible = "memsensing,msa311";
|
/linux-6.1.9/ |
D | MAINTAINERS | 13332 F: Documentation/devicetree/bindings/iio/accel/memsensing,msa311.yaml 13333 F: drivers/iio/accel/msa311.c
|