Searched refs:ak8974 (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/iio/magnetometer/ |
D | ak8974.c | 186 struct ak8974 { struct 207 static int ak8974_get_u16_val(struct ak8974 *ak8974, u8 reg, u16 *val) in ak8974_get_u16_val() argument 212 ret = regmap_bulk_read(ak8974->map, reg, &bulk, 2); in ak8974_get_u16_val() 220 static int ak8974_set_u16_val(struct ak8974 *ak8974, u8 reg, u16 val) in ak8974_set_u16_val() argument 224 return regmap_bulk_write(ak8974->map, reg, &bulk, 2); in ak8974_set_u16_val() 227 static int ak8974_set_power(struct ak8974 *ak8974, bool mode) in ak8974_set_power() argument 234 ret = regmap_write(ak8974->map, AK8974_CTRL1, val); in ak8974_set_power() 244 static int ak8974_reset(struct ak8974 *ak8974) in ak8974_reset() argument 249 ret = ak8974_set_power(ak8974, AK8974_PWR_ON); in ak8974_reset() 252 ret = regmap_write(ak8974->map, AK8974_CTRL2, AK8974_CTRL2_RESDEF); in ak8974_reset() [all …]
|
D | Makefile | 7 obj-$(CONFIG_AK8974) += ak8974.o
|
D | Kconfig | 21 will be called ak8974.
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/magnetometer/ |
D | ak8974.txt | 6 * "asahi-kasei,ak8974" 24 ak8974@f { 25 compatible = "asahi-kasei,ak8974";
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | ste-href-stuib.dtsi | 91 ak8974@f { 93 compatible = "asahi-kasei,ak8974";
|
D | ste-href-tvk1281618.dtsi | 86 ak8974@f { 88 compatible = "asahi-kasei,ak8974";
|
D | tegra30-asus-nexus7-grouper-common.dtsi | 868 compatible = "asahi-kasei,ak8974";
|
/Linux-v5.10/ |
D | MAINTAINERS | 2802 F: drivers/iio/magnetometer/ak8974.c
|